java.lang.Object
org.biomage.Common.Extendable
org.biomage.Measurement.Unit
org.biomage.Measurement.DistanceUnit
- All Implemented Interfaces:
- org.biomage.Interface.HasPropertySets, java.io.Serializable
- public class DistanceUnit
- extends Unit
- implements java.io.Serializable
Distance
|
Nested Class Summary |
class |
DistanceUnit.UnitNameCV
Inner class for the enumeration values that the attribute
unitNameCV can assume. |
| Nested classes inherited from class org.biomage.Interface.HasPropertySets |
org.biomage.Interface.HasPropertySets.PropertySets_list |
| Fields inherited from class org.biomage.Measurement.Unit |
unitName |
| Fields inherited from class org.biomage.Common.Extendable |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
unitNameCV
DistanceUnit.UnitNameCV unitNameCV
DistanceUnit
public DistanceUnit()
- Default constructor.
DistanceUnit
public DistanceUnit(org.xml.sax.Attributes atts)
- Attribute constructor.
Looks up the attributes in the parameter and casts them from strings
appropriately
writeMAGEML
public void writeMAGEML(java.io.Writer out)
throws java.io.IOException
- writeMAGEML
This method is responsible for assembling the attribute and
association data into XML. It creates the object tag and then calls
the writeAttributes and writeAssociation methods.
- Overrides:
writeMAGEML in class Unit
writeAttributes
public void writeAttributes(java.io.Writer out)
throws java.io.IOException
- writeAttributes
This method is responsible for assembling the attribute data into
XML. It calls the super method to write out all attributes of this
class and it's ancestors.
- Overrides:
writeAttributes in class Unit
writeAssociations
public void writeAssociations(java.io.Writer out)
throws java.io.IOException
- writeAssociations
This method is responsible for assembling the association data
into XML. It calls the super method to write out all associations of
this class's ancestors.
- Overrides:
writeAssociations in class Unit
setUnitNameCV
public void setUnitNameCV(DistanceUnit.UnitNameCV unitNameCV)
- Set method for unitNameCV
getUnitNameCV
public DistanceUnit.UnitNameCV getUnitNameCV()
- Get method for unitNameCV