|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.biomage.Common.Extendable
|
+--org.biomage.Measurement.Measurement
A Measurement is a quantity with a unit.
| Nested Class Summary | |
class |
Measurement.KindCV
Inner class for the enumeration values that the attribute kindCV can assume. |
class |
Measurement.Type
Inner class for the enumeration values that the attribute type can assume. |
| Nested classes inherited from class org.biomage.Interface.HasPropertySets |
HasPropertySets.PropertySets_list |
| Field Summary | |
protected Unit |
unit
The Unit associated with the Measurement. |
| Fields inherited from class org.biomage.Common.Extendable |
propertySets |
| Constructor Summary | |
Measurement()
Default constructor. |
|
Measurement(org.xml.sax.Attributes atts)
Attribute constructor. |
|
| Method Summary | |
Measurement.KindCV |
getKindCV()
Get method for kindCV |
java.lang.String |
getNameByValueKindCV(int val)
For KindCV get the Name of the Enumeration type by passing a Value to it. |
java.lang.String |
getNameByValueType(int val)
For Type get the Name of the Enumeration type by passing a Value to it. |
java.lang.String |
getNameKindCV()
Return the current name of the Enumeration type of KindCV. |
java.lang.String |
getNameType()
Return the current name of the Enumeration type of Type. |
java.lang.String |
getOtherKind()
Get method for otherKind |
Measurement.Type |
getType()
Get method for type |
Unit |
getUnit()
Get method for unit |
java.lang.Object |
getValue()
Get method for value |
int |
getValueByNameKindCV(java.lang.String name)
For KindCV get the Value of the Enumeration type by passing a Name to it. |
int |
getValueByNameType(java.lang.String name)
For Type get the Value of the Enumeration type by passing a Name to it. |
int |
getValueKindCV()
Return the currrent value of the Enumeration type of KindCV. |
int |
getValueType()
Return the currrent value of the Enumeration type of Type. |
void |
setKindCV(Measurement.KindCV kindCV)
Set method for kindCV |
java.lang.String |
setNameByValueKindCV(int val)
For KindCV set the Name of the Enumeration type by passing a value (int) |
java.lang.String |
setNameByValueType(int val)
For Type set the Name of the Enumeration type by passing a value (int) |
void |
setOtherKind(java.lang.String otherKind)
Set method for otherKind |
void |
setType(Measurement.Type type)
Set method for type |
void |
setUnit(Unit unit)
Set method for unit |
void |
setValue(java.lang.Object value)
Set method for value |
int |
setValueByNameKindCV(java.lang.String name)
For KindCV set the Value of the Enumeration type by passing a Name to it. |
int |
setValueByNameType(java.lang.String name)
For Type set the Value of the Enumeration type by passing a Name to it. |
void |
writeAssociations(java.io.Writer out)
writeAssociations This method is responsible for assembling the association data into XML. |
void |
writeAttributes(java.io.Writer out)
writeAttributes This method is responsible for assembling the attribute data into XML. |
void |
writeMAGEML(java.io.Writer out)
writeMAGEML This method is responsible for assembling the attribute and association data into XML. |
| Methods inherited from class org.biomage.Common.Extendable |
addToPropertySets, addToPropertySets, getFromPropertySets, getPropertySets, removeElementAtFromPropertySets, removeFromPropertySets, setPropertySets |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Unit unit
| Constructor Detail |
public Measurement()
public Measurement(org.xml.sax.Attributes atts)
| Method Detail |
public void writeMAGEML(java.io.Writer out)
throws java.io.IOException
writeMAGEML in class Extendablejava.io.IOException
public void writeAttributes(java.io.Writer out)
throws java.io.IOException
writeAttributes in class Extendablejava.io.IOException
public void writeAssociations(java.io.Writer out)
throws java.io.IOException
writeAssociations in class Extendablejava.io.IOExceptionpublic void setType(Measurement.Type type)
public Measurement.Type getType()
public java.lang.String setNameByValueType(int val)
public int setValueByNameType(java.lang.String name)
public java.lang.String getNameByValueType(int val)
public int getValueByNameType(java.lang.String name)
public java.lang.String getNameType()
public int getValueType()
public void setValue(java.lang.Object value)
value - to setpublic java.lang.Object getValue()
public void setKindCV(Measurement.KindCV kindCV)
public Measurement.KindCV getKindCV()
public java.lang.String setNameByValueKindCV(int val)
public int setValueByNameKindCV(java.lang.String name)
public java.lang.String getNameByValueKindCV(int val)
public int getValueByNameKindCV(java.lang.String name)
public java.lang.String getNameKindCV()
public int getValueKindCV()
public void setOtherKind(java.lang.String otherKind)
public java.lang.String getOtherKind()
public void setUnit(Unit unit)
setUnit in interface HasUnitpublic Unit getUnit()
getUnit in interface HasUnit
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||