uk.ac.ebi.jmzidml.model.mzidml
Class CvParam

java.lang.Object
  extended by uk.ac.ebi.jmzidml.model.MzIdentMLObject
      extended by uk.ac.ebi.jmzidml.model.mzidml.AbstractParam
          extended by uk.ac.ebi.jmzidml.model.mzidml.CvParam
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AdditionalParamsCvParam, AdditionalSearchParamsCvParam, AmbiguousResidueCvParam, AnalysisParamsCvParam, DatabaseNameCvParam, DBSequenceCvParam, EnzymeNameCvParam, ExcludeCvParam, FileFormatCvParam, FilterTypeCvParam, IncludeCvParam, IonTypeCvParam, MassTableCvParam, MeasureCvParam, ModificationCvParam, ModParamCvParam, OrganizationCvParam, PeptideCvParam, PeptideEvidenceCvParam, PeptideEvidenceListCvParam, PersonCvParam, ProteinAmbiguityGroupCvParam, ProteinDetectionHypothesisCvParam, ProteinDetectionListCvParam, RoleCvParam, SampleCvParam, SearchDatabaseCvParam, SearchTypeCvParam, SoftwareNameCvParam, SourceFileCvParam, SpecificityRulesCvParam, SpectrumIdentificationItemCvParam, SpectrumIdentificationListCvParam, SpectrumIdentificationResultCvParam, SpectrumIDFormatCvParam, ThresholdCvParam, ToleranceCvParam, TranslationTableCvParam

public class CvParam
extends AbstractParam
implements Serializable

A single entry from an ontology or a controlled vocabulary. TODO marshalling/ persistor add validation to check for case where someone gets cv and changes its id without updating ref id in CvParam and other such clases. NOTE: There is no setter method for the cvRef. This simplifies keeping the cv object reference and cvRef synchronized.

Java class for CVParamType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CVParamType">
   <complexContent>
     <extension base="{http://psidev.info/psi/pi/mzIdentML/1.1}AbstractParamType">
       <attribute name="cvRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="accession" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String accession
           
protected  Cv cv
           
protected  String cvRef
           
 
Fields inherited from class uk.ac.ebi.jmzidml.model.mzidml.AbstractParam
name, unitAccession, unitCv, unitCvRef, unitName, value
 
Constructor Summary
CvParam()
           
 
Method Summary
 String getAccession()
          Gets the value of the accession property.
 Cv getCv()
           
 String getCvRef()
          Gets the value of the cvRef property.
 void setAccession(String value)
          Sets the value of the accession property.
 void setCv(Cv cv)
           
 
Methods inherited from class uk.ac.ebi.jmzidml.model.mzidml.AbstractParam
getName, getUnitAccession, getUnitCv, getUnitCvRef, getUnitName, getValue, setName, setUnitAccession, setUnitCv, setUnitName, setValue
 
Methods inherited from class uk.ac.ebi.jmzidml.model.MzIdentMLObject
getHid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cvRef

protected String cvRef

accession

protected String accession

cv

protected Cv cv
Constructor Detail

CvParam

public CvParam()
Method Detail

getCv

public Cv getCv()

setCv

public void setCv(Cv cv)

getCvRef

public String getCvRef()
Gets the value of the cvRef property.

Returns:
possible object is String

getAccession

public String getAccession()
Gets the value of the accession property.

Returns:
possible object is String

setAccession

public void setAccession(String value)
Sets the value of the accession property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.