2 * This class was automatically generated with
3 * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
8 package jalview.schemabinding.version2;
10 //---------------------------------/
11 //- Imported classes and packages -/
12 //---------------------------------/
14 import org.exolab.castor.xml.Marshaller;
15 import org.exolab.castor.xml.Unmarshaller;
18 * The results of a PCA calculation
21 * @version $Revision$ $Date$
23 public class PcaDataType implements java.io.Serializable
26 // --------------------------/
27 // - Class/Member Variables -/
28 // --------------------------/
31 * The text report of the calculation
34 private java.lang.String _details;
37 * Field _pairwiseMatrix.
39 private jalview.schemabinding.version2.PairwiseMatrix _pairwiseMatrix;
44 private jalview.schemabinding.version2.EigenMatrix _eigenMatrix;
47 * Field _eigenMatrixD.
49 private jalview.schemabinding.version2.EigenMatrixD _eigenMatrixD;
52 * Field _eigenMatrixE.
54 private jalview.schemabinding.version2.EigenMatrixE _eigenMatrixE;
70 * Returns the value of field 'details'. The field 'details' has the following
71 * description: The text report of the calculation
74 * @return the value of field 'Details'.
76 public java.lang.String getDetails()
82 * Returns the value of field 'eigenMatrix'.
84 * @return the value of field 'EigenMatrix'.
86 public jalview.schemabinding.version2.EigenMatrix getEigenMatrix()
88 return this._eigenMatrix;
92 * Returns the value of field 'eigenMatrixD'.
94 * @return the value of field 'EigenMatrixD'.
96 public jalview.schemabinding.version2.EigenMatrixD getEigenMatrixD()
98 return this._eigenMatrixD;
102 * Returns the value of field 'eigenMatrixE'.
104 * @return the value of field 'EigenMatrixE'.
106 public jalview.schemabinding.version2.EigenMatrixE getEigenMatrixE()
108 return this._eigenMatrixE;
112 * Returns the value of field 'pairwiseMatrix'.
114 * @return the value of field 'PairwiseMatrix'.
116 public jalview.schemabinding.version2.PairwiseMatrix getPairwiseMatrix()
118 return this._pairwiseMatrix;
124 * @return true if this object is valid according to the schema
126 public boolean isValid()
131 } catch (org.exolab.castor.xml.ValidationException vex)
142 * @throws org.exolab.castor.xml.MarshalException
143 * if object is null or if any SAXException is thrown during
145 * @throws org.exolab.castor.xml.ValidationException
146 * if this object is an invalid instance according to the schema
148 public void marshal(final java.io.Writer out)
149 throws org.exolab.castor.xml.MarshalException,
150 org.exolab.castor.xml.ValidationException
152 Marshaller.marshal(this, out);
159 * @throws java.io.IOException
160 * if an IOException occurs during marshaling
161 * @throws org.exolab.castor.xml.ValidationException
162 * if this object is an invalid instance according to the schema
163 * @throws org.exolab.castor.xml.MarshalException
164 * if object is null or if any SAXException is thrown during
167 public void marshal(final org.xml.sax.ContentHandler handler)
168 throws java.io.IOException,
169 org.exolab.castor.xml.MarshalException,
170 org.exolab.castor.xml.ValidationException
172 Marshaller.marshal(this, handler);
176 * Sets the value of field 'details'. The field 'details' has the following
177 * description: The text report of the calculation
181 * the value of field 'details'.
183 public void setDetails(final java.lang.String details)
185 this._details = details;
189 * Sets the value of field 'eigenMatrix'.
192 * the value of field 'eigenMatrix'.
194 public void setEigenMatrix(
195 final jalview.schemabinding.version2.EigenMatrix eigenMatrix)
197 this._eigenMatrix = eigenMatrix;
201 * Sets the value of field 'eigenMatrixD'.
203 * @param eigenMatrixD
204 * the value of field 'eigenMatrixD'.
206 public void setEigenMatrixD(
207 final jalview.schemabinding.version2.EigenMatrixD eigenMatrixD)
209 this._eigenMatrixD = eigenMatrixD;
213 * Sets the value of field 'eigenMatrixE'.
215 * @param eigenMatrixE
216 * the value of field 'eigenMatrixE'.
218 public void setEigenMatrixE(
219 final jalview.schemabinding.version2.EigenMatrixE eigenMatrixE)
221 this._eigenMatrixE = eigenMatrixE;
225 * Sets the value of field 'pairwiseMatrix'.
227 * @param pairwiseMatrix
228 * the value of field 'pairwiseMatrix'.
230 public void setPairwiseMatrix(
231 final jalview.schemabinding.version2.PairwiseMatrix pairwiseMatrix)
233 this._pairwiseMatrix = pairwiseMatrix;
240 * @throws org.exolab.castor.xml.MarshalException
241 * if object is null or if any SAXException is thrown during
243 * @throws org.exolab.castor.xml.ValidationException
244 * if this object is an invalid instance according to the schema
245 * @return the unmarshaled jalview.schemabinding.version2.PcaDataType
247 public static jalview.schemabinding.version2.PcaDataType unmarshal(
248 final java.io.Reader reader)
249 throws org.exolab.castor.xml.MarshalException,
250 org.exolab.castor.xml.ValidationException
252 return (jalview.schemabinding.version2.PcaDataType) Unmarshaller
253 .unmarshal(jalview.schemabinding.version2.PcaDataType.class,
260 * @throws org.exolab.castor.xml.ValidationException
261 * if this object is an invalid instance according to the schema
263 public void validate() throws org.exolab.castor.xml.ValidationException
265 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
266 validator.validate(this);