org.biomage.tools.helpers
Class MGEDOntologyEntry

java.lang.Object
  extended by org.biomage.Common.Extendable
      extended by org.biomage.Description.Ontology.BioMaterialCharacteristic
          extended by org.biomage.Description.OntologyEntry
              extended by org.biomage.tools.helpers.MGEDOntologyEntry
All Implemented Interfaces:
SecuredElementItf, java.io.Serializable, HasAssociations, HasOntologyReference, HasPropertySets
Direct Known Subclasses:
MGEDOntologyClassEntry, MGEDOntologyPropertyEntry

public abstract class MGEDOntologyEntry
extends OntologyEntry

Author:
kjellp
See Also:
Serialized Form

Nested Class Summary
static class MGEDOntologyEntry.OntologyDatabaseEntry
           
 
Nested classes/interfaces inherited from interface org.biomage.Interface.HasAssociations
HasAssociations.Associations_list
 
Nested classes/interfaces inherited from interface org.biomage.Interface.HasPropertySets
HasPropertySets.PropertySets_list
 
Field Summary
protected  java.util.ArrayList assignableValues
           
protected  boolean isAssignable
           
protected  boolean isAssigned
           
 
Fields inherited from class org.biomage.Description.OntologyEntry
ontologyReference
 
Fields inherited from class org.biomage.Description.Ontology.BioMaterialCharacteristic
ojbConcreteClass
 
Fields inherited from class org.biomage.Common.Extendable
editable, id, securedElementId
 
Constructor Summary
MGEDOntologyEntry()
           
 
Method Summary
abstract  void assignValue(java.lang.Object val)
           
 java.util.ArrayList getAssignableValues()
           
 boolean isAssignable()
           
 boolean isAssigned()
           
abstract  boolean legalValue(java.lang.Object val)
           
abstract  void prune()
           
 void setCategory(java.lang.String cat)
          Set method for category
 void setValue(java.lang.String val)
          Set method for value
 java.lang.String toString()
           
 
Methods inherited from class org.biomage.Description.OntologyEntry
addToAssociations, addToAssociations, emptyMAGEobject, getAssociations, getCategory, getDescription, getFromAssociations, getModelClassName, getOntologyReference, getValue, removeElementAtFromAssociations, removeFromAssociations, setAssociations, setDescription, setOntologyReference, writeAssociations, writeAttributes, writeMAGEML
 
Methods inherited from class org.biomage.Description.Ontology.BioMaterialCharacteristic
createMGEDMeasurementRestriction
 
Methods inherited from class org.biomage.Common.Extendable
addToPropertySets, addToPropertySets, equals, getFromPropertySets, getId, getIsEditable, getPropertySets, getSecuredElementId, isEditable, removeElementAtFromPropertySets, removeFromPropertySets, setAttributes, setId, setIsEditable, setPropertySets, setSecuredElementId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isAssignable

protected boolean isAssignable

isAssigned

protected boolean isAssigned

assignableValues

protected java.util.ArrayList assignableValues
Constructor Detail

MGEDOntologyEntry

public MGEDOntologyEntry()
Method Detail

isAssignable

public boolean isAssignable()

getAssignableValues

public java.util.ArrayList getAssignableValues()

toString

public java.lang.String toString()
Overrides:
toString in class Extendable

isAssigned

public boolean isAssigned()

legalValue

public abstract boolean legalValue(java.lang.Object val)

assignValue

public abstract void assignValue(java.lang.Object val)

prune

public abstract void prune()

setValue

public void setValue(java.lang.String val)
Description copied from class: OntologyEntry
Set method for value

Overrides:
setValue in class OntologyEntry
Parameters:
val - to set

setCategory

public void setCategory(java.lang.String cat)
Description copied from class: OntologyEntry
Set method for category

Overrides:
setCategory in class OntologyEntry