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 * Field _pairwiseMatrix.
33 private jalview.schemabinding.version2.PairwiseMatrix _pairwiseMatrix;
36 * Field _tridiagonalMatrix.
38 private jalview.schemabinding.version2.TridiagonalMatrix _tridiagonalMatrix;
41 * Field _tridiagonalD.
43 private jalview.schemabinding.version2.TridiagonalD _tridiagonalD;
46 * Field _tridiagonalE.
48 private jalview.schemabinding.version2.TridiagonalE _tridiagonalE;
53 private jalview.schemabinding.version2.EigenMatrix _eigenMatrix;
56 * Field _eigenMatrixD.
58 private jalview.schemabinding.version2.EigenMatrixD _eigenMatrixD;
74 * Returns the value of field 'eigenMatrix'.
76 * @return the value of field 'EigenMatrix'.
78 public jalview.schemabinding.version2.EigenMatrix getEigenMatrix()
80 return this._eigenMatrix;
84 * Returns the value of field 'eigenMatrixD'.
86 * @return the value of field 'EigenMatrixD'.
88 public jalview.schemabinding.version2.EigenMatrixD getEigenMatrixD()
90 return this._eigenMatrixD;
94 * Returns the value of field 'pairwiseMatrix'.
96 * @return the value of field 'PairwiseMatrix'.
98 public jalview.schemabinding.version2.PairwiseMatrix getPairwiseMatrix()
100 return this._pairwiseMatrix;
104 * Returns the value of field 'tridiagonalD'.
106 * @return the value of field 'TridiagonalD'.
108 public jalview.schemabinding.version2.TridiagonalD getTridiagonalD()
110 return this._tridiagonalD;
114 * Returns the value of field 'tridiagonalE'.
116 * @return the value of field 'TridiagonalE'.
118 public jalview.schemabinding.version2.TridiagonalE getTridiagonalE()
120 return this._tridiagonalE;
124 * Returns the value of field 'tridiagonalMatrix'.
126 * @return the value of field 'TridiagonalMatrix'.
128 public jalview.schemabinding.version2.TridiagonalMatrix getTridiagonalMatrix()
130 return this._tridiagonalMatrix;
136 * @return true if this object is valid according to the schema
138 public boolean isValid()
143 } catch (org.exolab.castor.xml.ValidationException vex)
154 * @throws org.exolab.castor.xml.MarshalException
155 * if object is null or if any SAXException is thrown during
157 * @throws org.exolab.castor.xml.ValidationException
158 * if this object is an invalid instance according to the schema
160 public void marshal(final java.io.Writer out)
161 throws org.exolab.castor.xml.MarshalException,
162 org.exolab.castor.xml.ValidationException
164 Marshaller.marshal(this, out);
171 * @throws java.io.IOException
172 * if an IOException occurs during marshaling
173 * @throws org.exolab.castor.xml.ValidationException
174 * if this object is an invalid instance according to the schema
175 * @throws org.exolab.castor.xml.MarshalException
176 * if object is null or if any SAXException is thrown during
179 public void marshal(final org.xml.sax.ContentHandler handler)
180 throws java.io.IOException,
181 org.exolab.castor.xml.MarshalException,
182 org.exolab.castor.xml.ValidationException
184 Marshaller.marshal(this, handler);
188 * Sets the value of field 'eigenMatrix'.
191 * the value of field 'eigenMatrix'.
193 public void setEigenMatrix(
194 final jalview.schemabinding.version2.EigenMatrix eigenMatrix)
196 this._eigenMatrix = eigenMatrix;
200 * Sets the value of field 'eigenMatrixD'.
202 * @param eigenMatrixD
203 * the value of field 'eigenMatrixD'.
205 public void setEigenMatrixD(
206 final jalview.schemabinding.version2.EigenMatrixD eigenMatrixD)
208 this._eigenMatrixD = eigenMatrixD;
212 * Sets the value of field 'pairwiseMatrix'.
214 * @param pairwiseMatrix
215 * the value of field 'pairwiseMatrix'.
217 public void setPairwiseMatrix(
218 final jalview.schemabinding.version2.PairwiseMatrix pairwiseMatrix)
220 this._pairwiseMatrix = pairwiseMatrix;
224 * Sets the value of field 'tridiagonalD'.
226 * @param tridiagonalD
227 * the value of field 'tridiagonalD'.
229 public void setTridiagonalD(
230 final jalview.schemabinding.version2.TridiagonalD tridiagonalD)
232 this._tridiagonalD = tridiagonalD;
236 * Sets the value of field 'tridiagonalE'.
238 * @param tridiagonalE
239 * the value of field 'tridiagonalE'.
241 public void setTridiagonalE(
242 final jalview.schemabinding.version2.TridiagonalE tridiagonalE)
244 this._tridiagonalE = tridiagonalE;
248 * Sets the value of field 'tridiagonalMatrix'.
250 * @param tridiagonalMatrix
251 * the value of field 'tridiagonalMatrix'.
253 public void setTridiagonalMatrix(
254 final jalview.schemabinding.version2.TridiagonalMatrix tridiagonalMatrix)
256 this._tridiagonalMatrix = tridiagonalMatrix;
263 * @throws org.exolab.castor.xml.MarshalException
264 * if object is null or if any SAXException is thrown during
266 * @throws org.exolab.castor.xml.ValidationException
267 * if this object is an invalid instance according to the schema
268 * @return the unmarshaled jalview.schemabinding.version2.PcaDataType
270 public static jalview.schemabinding.version2.PcaDataType unmarshal(
271 final java.io.Reader reader)
272 throws org.exolab.castor.xml.MarshalException,
273 org.exolab.castor.xml.ValidationException
275 return (jalview.schemabinding.version2.PcaDataType) Unmarshaller
276 .unmarshal(jalview.schemabinding.version2.PcaDataType.class,
283 * @throws org.exolab.castor.xml.ValidationException
284 * if this object is an invalid instance according to the schema
286 public void validate() throws org.exolab.castor.xml.ValidationException
288 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
289 validator.validate(this);