org.biomage.Description.Ontology
Class BioMaterialCharacteristic

java.lang.Object
  extended by org.biomage.Common.Extendable
      extended by org.biomage.Description.Ontology.BioMaterialCharacteristic
All Implemented Interfaces:
SecuredElementItf, java.io.Serializable, HasPropertySets
Direct Known Subclasses:
OntologyEntry

public abstract class BioMaterialCharacteristic
extends Extendable

Author:
TranP
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.biomage.Interface.HasPropertySets
HasPropertySets.PropertySets_list
 
Field Summary
protected  java.lang.String ojbConcreteClass
           
 
Fields inherited from class org.biomage.Common.Extendable
editable, id, securedElementId
 
Constructor Summary
BioMaterialCharacteristic()
           
BioMaterialCharacteristic(org.xml.sax.Attributes atts)
           
 
Method Summary
abstract  void addToAssociations(int position, OntologyEntry ontologyEntry)
          Method to add OntologyEntry at position to Associations_list
abstract  void addToAssociations(OntologyEntry ontologyEntry)
          Method to add OntologyEntry to Associations_list
protected static OntologyEntry createMGEDMeasurementRestriction(java.lang.String restriction, OntologyEntry value, OntologyEntry unit)
           
abstract  HasAssociations.Associations_list getAssociations()
          Get method for associations
abstract  java.lang.String getCategory()
          Get method for category
abstract  java.lang.String getDescription()
          Get method for description
abstract  OntologyEntry getFromAssociations(int position)
          Method to get OntologyEntry from Associations_list
abstract  DatabaseEntry getOntologyReference()
          Get method for ontologyReference
abstract  java.lang.String getValue()
          Get method for value
abstract  void removeElementAtFromAssociations(int position)
          Method to remove by position from Associations_list
abstract  void removeFromAssociations(OntologyEntry ontologyEntry)
          Method to remove first OntologyEntry from Associations_list
abstract  void setAssociations(HasAssociations.Associations_list associations)
          Set method for associations
abstract  void setCategory(java.lang.String category)
           
abstract  void setDescription(java.lang.String description)
          Set method for description
abstract  void setOntologyReference(DatabaseEntry ontologyReference)
           
abstract  void setValue(java.lang.String value)
          Set method for value
 
Methods inherited from class org.biomage.Common.Extendable
addToPropertySets, addToPropertySets, equals, getFromPropertySets, getId, getIsEditable, getModelClassName, getPropertySets, getSecuredElementId, isEditable, removeElementAtFromPropertySets, removeFromPropertySets, setAttributes, setId, setIsEditable, setPropertySets, setSecuredElementId, toString, writeAssociations, writeAttributes, writeMAGEML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ojbConcreteClass

protected java.lang.String ojbConcreteClass
Constructor Detail

BioMaterialCharacteristic

public BioMaterialCharacteristic()

BioMaterialCharacteristic

public BioMaterialCharacteristic(org.xml.sax.Attributes atts)
Parameters:
atts -
Method Detail

setCategory

public abstract void setCategory(java.lang.String category)

getCategory

public abstract java.lang.String getCategory()
Get method for category

Returns:
value of the attribute

setValue

public abstract void setValue(java.lang.String value)
Set method for value

Parameters:
value - to set

getValue

public abstract java.lang.String getValue()
Get method for value

Returns:
value of the attribute

setDescription

public abstract void setDescription(java.lang.String description)
Set method for description

Parameters:
value - to set

getDescription

public abstract java.lang.String getDescription()
Get method for description

Returns:
value of the attribute

setOntologyReference

public abstract void setOntologyReference(DatabaseEntry ontologyReference)

getOntologyReference

public abstract DatabaseEntry getOntologyReference()
Get method for ontologyReference

Returns:
value of the attribute

setAssociations

public abstract void setAssociations(HasAssociations.Associations_list associations)
Set method for associations

Parameters:
value - to set

getAssociations

public abstract HasAssociations.Associations_list getAssociations()
Get method for associations

Returns:
value of the attribute

addToAssociations

public abstract void addToAssociations(OntologyEntry ontologyEntry)
Method to add OntologyEntry to Associations_list


addToAssociations

public abstract void addToAssociations(int position,
                                       OntologyEntry ontologyEntry)
Method to add OntologyEntry at position to Associations_list


getFromAssociations

public abstract OntologyEntry getFromAssociations(int position)
Method to get OntologyEntry from Associations_list


removeElementAtFromAssociations

public abstract void removeElementAtFromAssociations(int position)
Method to remove by position from Associations_list


removeFromAssociations

public abstract void removeFromAssociations(OntologyEntry ontologyEntry)
Method to remove first OntologyEntry from Associations_list


createMGEDMeasurementRestriction

protected static OntologyEntry createMGEDMeasurementRestriction(java.lang.String restriction,
                                                                OntologyEntry value,
                                                                OntologyEntry unit)
Parameters:
restriction - - e.g. has_measurement, has_maximum_measurement
value - - An OntologyEntry having category=value
unit - - A MGED OntologyEntry carrying the unit name
Returns: