charite.christo.metannogen
Class MObject
java.lang.Object
charite.christo.metannogen.MObject
- All Implemented Interfaces:
- DialogStringMatch.Interface, HasID, HasName, Cloneable
- Direct Known Subclasses:
- MReaction, MSpecies
public class MObject
- extends Object
- implements HasID, Cloneable, HasName, DialogStringMatch.Interface
First invokation of a getter my take several Mikroseconds. Then all
outputs are cached and take Nanos. All metabolite and compartment
Strings are finalized and can be compared by identity instead of
equals which is faster.
MObject
public MObject()
getCollection
public MReactionCollection getCollection()
setCollection
public void setCollection(ReactionCollection f)
getClientPropertyMapAsString
public String getClientPropertyMapAsString()
putClientProperty
public final void putClientProperty(Object key,
Object value)
getClientProperty
public final Object getClientProperty(Object o)
setID
public void setID(String id)
getIDMappedSimilar
public String getIDMappedSimilar()
getIDMapped
public String getIDMapped()
getID
public String getID()
- Specified by:
getID
in interface HasID
getName
public String getName()
- Specified by:
getName
in interface HasName
setName
public void setName(CharSequence s)
setAttributes
public void setAttributes(Map<String,String> map)
- Additional information such as setAttribute("$DEPENDSON","blabla");
getAttributes
public Map<String,String> getAttributes()
getAttribute
public String getAttribute(String key)
getAttributeF
public double getAttributeF(String key)
getAttributeI
public int getAttributeI(String key)
clone
public Object clone()
- Overrides:
clone
in class Object
getParent
public MObject getParent()
setParent
public void setParent(MObject ds)
getTopAncestor
public Object getTopAncestor()
getTopAncestorID
public String getTopAncestorID()
main
public static void main(String[] argv)
throws Exception
- Throws:
Exception
toString
public String toString()
- Overrides:
toString
in class Object
setTextBlock
public void setTextBlock(CharSequence s)
getEntireText
public ByteArray getEntireText()
getHaystacksForStringSearch
public Object getHaystacksForStringSearch(int mode)
- Specified by:
getHaystacksForStringSearch
in interface DialogStringMatch.Interface
'The most important classes are StrapAlign, StrapProtein and StrapEvent.'