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;
43 private jalview.schemabinding.version2.EigenMatrix _eigenMatrix;
59 * Returns the value of field 'eigenMatrix'.
61 * @return the value of field 'EigenMatrix'.
63 public jalview.schemabinding.version2.EigenMatrix getEigenMatrix()
65 return this._eigenMatrix;
69 * Returns the value of field 'pairwiseMatrix'.
71 * @return the value of field 'PairwiseMatrix'.
73 public jalview.schemabinding.version2.PairwiseMatrix getPairwiseMatrix()
75 return this._pairwiseMatrix;
79 * Returns the value of field 'tridiagonalMatrix'.
81 * @return the value of field 'TridiagonalMatrix'.
83 public jalview.schemabinding.version2.TridiagonalMatrix getTridiagonalMatrix()
85 return this._tridiagonalMatrix;
91 * @return true if this object is valid according to the schema
93 public boolean isValid()
98 } catch (org.exolab.castor.xml.ValidationException vex)
109 * @throws org.exolab.castor.xml.MarshalException
110 * if object is null or if any SAXException is thrown during
112 * @throws org.exolab.castor.xml.ValidationException
113 * if this object is an invalid instance according to the schema
115 public void marshal(final java.io.Writer out)
116 throws org.exolab.castor.xml.MarshalException,
117 org.exolab.castor.xml.ValidationException
119 Marshaller.marshal(this, out);
126 * @throws java.io.IOException
127 * if an IOException occurs during marshaling
128 * @throws org.exolab.castor.xml.ValidationException
129 * if this object is an invalid instance according to the schema
130 * @throws org.exolab.castor.xml.MarshalException
131 * if object is null or if any SAXException is thrown during
134 public void marshal(final org.xml.sax.ContentHandler handler)
135 throws java.io.IOException,
136 org.exolab.castor.xml.MarshalException,
137 org.exolab.castor.xml.ValidationException
139 Marshaller.marshal(this, handler);
143 * Sets the value of field 'eigenMatrix'.
146 * the value of field 'eigenMatrix'.
148 public void setEigenMatrix(
149 final jalview.schemabinding.version2.EigenMatrix eigenMatrix)
151 this._eigenMatrix = eigenMatrix;
155 * Sets the value of field 'pairwiseMatrix'.
157 * @param pairwiseMatrix
158 * the value of field 'pairwiseMatrix'.
160 public void setPairwiseMatrix(
161 final jalview.schemabinding.version2.PairwiseMatrix pairwiseMatrix)
163 this._pairwiseMatrix = pairwiseMatrix;
167 * Sets the value of field 'tridiagonalMatrix'.
169 * @param tridiagonalMatrix
170 * the value of field 'tridiagonalMatrix'.
172 public void setTridiagonalMatrix(
173 final jalview.schemabinding.version2.TridiagonalMatrix tridiagonalMatrix)
175 this._tridiagonalMatrix = tridiagonalMatrix;
182 * @throws org.exolab.castor.xml.MarshalException
183 * if object is null or if any SAXException is thrown during
185 * @throws org.exolab.castor.xml.ValidationException
186 * if this object is an invalid instance according to the schema
187 * @return the unmarshaled jalview.schemabinding.version2.PcaDataType
189 public static jalview.schemabinding.version2.PcaDataType unmarshal(
190 final java.io.Reader reader)
191 throws org.exolab.castor.xml.MarshalException,
192 org.exolab.castor.xml.ValidationException
194 return (jalview.schemabinding.version2.PcaDataType) Unmarshaller
195 .unmarshal(jalview.schemabinding.version2.PcaDataType.class,
202 * @throws org.exolab.castor.xml.ValidationException
203 * if this object is an invalid instance according to the schema
205 public void validate() throws org.exolab.castor.xml.ValidationException
207 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
208 validator.validate(this);