|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biomage.Common.Extendable
org.biomage.BioMaterial.CompoundMeasurement
public class CompoundMeasurement
A CompoundMeasurement is a pairing of a source Compound and an amount (Measurement) of that Compound.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.biomage.Interface.HasPropertySets |
---|
HasPropertySets.PropertySets_list |
Field Summary | |
---|---|
protected Compound |
compound
A Compound to be used to create another Compound. |
protected Measurement |
measurement
The amount of the Compound. |
Fields inherited from class org.biomage.Common.Extendable |
---|
editable, id, securedElementId |
Constructor Summary | |
---|---|
CompoundMeasurement()
Default constructor. |
|
CompoundMeasurement(org.xml.sax.Attributes atts)
Attribute constructor. |
Method Summary | |
---|---|
boolean |
emptyMAGEobject()
|
Compound |
getCompound()
Get method for compound |
Measurement |
getMeasurement()
Get method for measurement |
java.lang.String |
getModelClassName()
|
void |
setCompound(Compound compound)
Set method for compound |
void |
setMeasurement(Measurement measurement)
Set method for measurement |
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, 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 |
Field Detail |
---|
protected Compound compound
protected Measurement measurement
Constructor Detail |
---|
public CompoundMeasurement()
public CompoundMeasurement(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 Extendable
java.io.IOException
public boolean emptyMAGEobject()
public void writeAttributes(java.io.Writer out) throws java.io.IOException
writeAttributes
in class Extendable
java.io.IOException
public void writeAssociations(java.io.Writer out) throws java.io.IOException
writeAssociations
in class Extendable
java.io.IOException
public java.lang.String getModelClassName()
getModelClassName
in class Extendable
public void setCompound(Compound compound)
setCompound
in interface HasCompound
value
- to setpublic Compound getCompound()
getCompound
in interface HasCompound
public void setMeasurement(Measurement measurement)
setMeasurement
in interface HasMeasurement
value
- to setpublic Measurement getMeasurement()
getMeasurement
in interface HasMeasurement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |