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

java.lang.Object
  extended by uk.ac.ebi.jmzidml.model.MzIdentMLObject
      extended by uk.ac.ebi.jmzidml.model.mzidml.AbstractParam
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CvParam, UserParam

public abstract class AbstractParam
extends MzIdentMLObject
implements Serializable

Abstract entity allowing either cvParam or userParam to be referenced in other schemas. TODO marshalling/ persistor add validation to check for case where someone gets unitCv and changes its id without updating ref id in AbstractParam and other such clases. NOTE: There is no setter method for the unitCvRef. This simplifies keeping the unitCv object reference and unitCvRef synchronized.

Java class for AbstractParamType complex type.

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

 <complexType name="AbstractParamType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="unitAccession" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="unitName" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="unitCvRef" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String name
           
protected  String unitAccession
           
protected  Cv unitCv
           
protected  String unitCvRef
           
protected  String unitName
           
protected  String value
           
 
Constructor Summary
AbstractParam()
           
 
Method Summary
 String getName()
          Gets the value of the name property.
 String getUnitAccession()
          Gets the value of the unitAccession property.
 Cv getUnitCv()
           
 String getUnitCvRef()
          Gets the value of the unitCvRef property.
 String getUnitName()
          Gets the value of the unitName property.
 String getValue()
          Gets the value of the value property.
 void setName(String value)
          Sets the value of the name property.
 void setUnitAccession(String value)
          Sets the value of the unitAccession property.
 void setUnitCv(Cv unitCv)
           
 void setUnitName(String value)
          Sets the value of the unitName property.
 void setValue(String value)
          Sets the value of the value property.
 
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

name

protected String name

value

protected String value

unitAccession

protected String unitAccession

unitName

protected String unitName

unitCvRef

protected String unitCvRef

unitCv

protected Cv unitCv
Constructor Detail

AbstractParam

public AbstractParam()
Method Detail

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getValue

public String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

getUnitAccession

public String getUnitAccession()
Gets the value of the unitAccession property.

Returns:
possible object is String

setUnitAccession

public void setUnitAccession(String value)
Sets the value of the unitAccession property.

Parameters:
value - allowed object is String

getUnitName

public String getUnitName()
Gets the value of the unitName property.

Returns:
possible object is String

setUnitName

public void setUnitName(String value)
Sets the value of the unitName property.

Parameters:
value - allowed object is String

getUnitCvRef

public String getUnitCvRef()
Gets the value of the unitCvRef property.

Returns:
possible object is String

getUnitCv

public Cv getUnitCv()

setUnitCv

public void setUnitCv(Cv unitCv)


Copyright © 2012. All Rights Reserved.