|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ebi.jmzidml.model.MzIdentMLObject
uk.ac.ebi.jmzidml.model.mzidml.AbstractParam
public abstract class AbstractParam
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>
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 |
---|
protected String name
protected String value
protected String unitAccession
protected String unitName
protected String unitCvRef
protected Cv unitCv
Constructor Detail |
---|
public AbstractParam()
Method Detail |
---|
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getValue()
String
public void setValue(String value)
value
- allowed object is
String
public String getUnitAccession()
String
public void setUnitAccession(String value)
value
- allowed object is
String
public String getUnitName()
String
public void setUnitName(String value)
value
- allowed object is
String
public String getUnitCvRef()
String
public Cv getUnitCv()
public void setUnitCv(Cv unitCv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |