|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biomage.Common.Extendable
org.biomage.Measurement.Unit
org.biomage.Measurement.ConcentrationUnit
public class ConcentrationUnit
Concentration
Nested Class Summary | |
---|---|
class |
ConcentrationUnit.UnitNameCV
Inner class for the enumeration values that the attribute unitNameCV can assume. |
Nested classes/interfaces inherited from interface org.biomage.Interface.HasPropertySets |
---|
HasPropertySets.PropertySets_list |
Field Summary |
---|
Fields inherited from class org.biomage.Measurement.Unit |
---|
ojbConcreteClass |
Fields inherited from class org.biomage.Common.Extendable |
---|
editable, id, securedElementId |
Constructor Summary | |
---|---|
ConcentrationUnit()
Default constructor. |
|
ConcentrationUnit(org.xml.sax.Attributes atts)
Attribute constructor. |
Method Summary | |
---|---|
boolean |
emptyMAGEobject()
|
java.lang.String |
getModelClassName()
|
java.lang.String |
getNameByValueUnitNameCV(int val)
For UnitNameCV get the Name of the Enumeration type by passing a Value to it. |
java.lang.String |
getNameUnitNameCV()
Return the current name of the Enumeration type of UnitNameCV. |
ConcentrationUnit.UnitNameCV |
getUnitNameCV()
Get method for unitNameCV |
int |
getValueByNameUnitNameCV(java.lang.String name)
For UnitNameCV get the Value of the Enumeration type by passing a Name to it. |
int |
getValueUnitNameCV()
Return the currrent value of the Enumeration type of UnitNameCV. |
java.lang.String |
setNameByValueUnitNameCV(int val)
For UnitNameCV set the Name of the Enumeration type by passing a value (int) |
void |
setUnitNameCV(ConcentrationUnit.UnitNameCV unitNameCV)
Set method for unitNameCV |
int |
setValueByNameUnitNameCV(java.lang.String name)
For UnitNameCV 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.Measurement.Unit |
---|
getUnitName, setUnitName |
Methods inherited from class org.biomage.Common.Extendable |
---|
addToPropertySets, addToPropertySets, equals, getFromPropertySets, getId, getIsEditable, getPropertySets, getSecuredElementId, isEditable, removeElementAtFromPropertySets, removeFromPropertySets, setAttributes, setId, setIsEditable, setPropertySets, setSecuredElementId, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConcentrationUnit()
public ConcentrationUnit(org.xml.sax.Attributes atts)
atts:
- the attribute list.Method Detail |
---|
public void writeMAGEML(java.io.Writer out) throws java.io.IOException
writeMAGEML
in class Unit
java.io.IOException
public boolean emptyMAGEobject()
public void writeAttributes(java.io.Writer out) throws java.io.IOException
writeAttributes
in class Unit
java.io.IOException
public void writeAssociations(java.io.Writer out) throws java.io.IOException
writeAssociations
in class Unit
java.io.IOException
public void setUnitNameCV(ConcentrationUnit.UnitNameCV unitNameCV)
value
- to setpublic ConcentrationUnit.UnitNameCV getUnitNameCV()
public java.lang.String setNameByValueUnitNameCV(int val)
int
- value The value to be mapped to the namepublic int setValueByNameUnitNameCV(java.lang.String name)
String
- name The name to be mapped to a valuepublic java.lang.String getNameByValueUnitNameCV(int val)
int
- val The value for which the Mapped String will be returned.public int getValueByNameUnitNameCV(java.lang.String name)
String
- name The name to be mapped to a value.public java.lang.String getNameUnitNameCV()
public int getValueUnitNameCV()
public java.lang.String getModelClassName()
getModelClassName
in class Unit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |