java.io.Serializable
, java.lang.Cloneable
, javax.swing.tree.TreeNode
, SBasePlugin
, TreeNodeWithChangeSupport
public class FBCReactionPlugin extends AbstractFBCSBasePlugin
Reaction
class with the addition of a
new optional element GeneProductAssociation
as well as two optional attributes lowerFluxBound and
upperFluxBound.
Introduced to FBC in version 2.
Constructor | Description |
---|---|
FBCReactionPlugin() |
Creates a new
FBCReactionPlugin instance. |
FBCReactionPlugin(FBCReactionPlugin reactionPlugin) |
Creates a new
FBCReactionPlugin instance. |
FBCReactionPlugin(Reaction extendedSBase) |
Creates a new
FBCReactionPlugin instance. |
Modifier and Type | Method | Description |
---|---|---|
FBCReactionPlugin |
clone() |
Creates a new instance of
SBasePlugin from this SBasePlugin . |
GeneProductAssociation |
createGeneProductAssociation() |
|
GeneProductAssociation |
createGeneProductAssociation(java.lang.String id) |
|
boolean |
equals(java.lang.Object obj) |
|
boolean |
getAllowsChildren() |
|
javax.swing.tree.TreeNode |
getChildAt(int index) |
|
int |
getChildCount() |
|
GeneProductAssociation |
getGeneProductAssociation() |
Returns the value of
geneProductAssociation . |
java.lang.String |
getLowerFluxBound() |
Returns the value of
lowerFluxBound . |
Parameter |
getLowerFluxBoundInstance() |
|
java.lang.String |
getUpperFluxBound() |
Returns the value of
upperFluxBound . |
Parameter |
getUpperFluxBoundInstance() |
|
int |
hashCode() |
|
boolean |
isSetGeneProductAssociation() |
Returns whether
geneProductAssociation is set. |
boolean |
isSetLowerFluxBound() |
Returns whether
lowerFluxBound is set. |
boolean |
isSetLowerFluxBoundInstance() |
|
boolean |
isSetUpperFluxBound() |
Returns whether
upperFluxBound is set. |
boolean |
isSetUpperFluxBoundInstance() |
|
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value) |
Reads and sets the attribute if it is know from this
SBasePlugin . |
void |
setGeneProductAssociation(GeneProductAssociation geneProductAssociation) |
Sets the value of
geneProductAssociation |
void |
setLowerFluxBound(java.lang.String lowerFluxBound) |
Sets the value of lowerFluxBound
|
void |
setLowerFluxBound(Parameter boundParameter) |
|
void |
setUpperFluxBound(java.lang.String upperFluxBound) |
Sets the value of upperFluxBound
|
void |
setUpperFluxBound(Parameter boundParameter) |
|
boolean |
unsetGeneProductAssociation() |
Unsets the variable
geneProductAssociation . |
boolean |
unsetLowerFluxBound() |
Unsets the variable lowerFluxBound.
|
boolean |
unsetUpperFluxBound() |
Unsets the variable upperFluxBound.
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes() |
Returns a
Map containing the XML attributes of this object. |
getPackageName, getPrefix, getURI
fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getElementNamespace, getExtendedSBase, getLevel, getPackageVersion, getParentSBMLObject, getSBMLDocument, getVersion, isSetExtendedSBase, isSetPackageVersion, removeFromParent, setExtendedSBase, setNamespace, setPackageVersion
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getParent, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, toString, userObjectKeySet
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
public FBCReactionPlugin()
FBCReactionPlugin
instance.public FBCReactionPlugin(FBCReactionPlugin reactionPlugin)
FBCReactionPlugin
instance.reactionPlugin
- the instance to be clonepublic FBCReactionPlugin(Reaction extendedSBase)
FBCReactionPlugin
instance.extendedSBase
- the core Reaction
that is extendedpublic FBCReactionPlugin clone()
SBasePlugin
SBasePlugin
from this SBasePlugin
.clone
in interface SBasePlugin
clone
in class AbstractSBasePlugin
SBasePlugin
from this SBasePlugin
.public GeneProductAssociation createGeneProductAssociation()
public GeneProductAssociation createGeneProductAssociation(java.lang.String id)
id
- public boolean equals(java.lang.Object obj)
equals
in interface SBasePlugin
equals
in class AbstractSBasePlugin
public boolean getAllowsChildren()
public javax.swing.tree.TreeNode getChildAt(int index)
public int getChildCount()
public GeneProductAssociation getGeneProductAssociation()
geneProductAssociation
.geneProductAssociation
.public java.lang.String getLowerFluxBound()
lowerFluxBound
.lowerFluxBound
.public Parameter getLowerFluxBoundInstance()
public java.lang.String getUpperFluxBound()
upperFluxBound
.upperFluxBound
.public Parameter getUpperFluxBoundInstance()
public int hashCode()
hashCode
in interface SBasePlugin
hashCode
in class AbstractSBasePlugin
public boolean isSetGeneProductAssociation()
geneProductAssociation
is set.geneProductAssociation
is set.public boolean isSetLowerFluxBound()
lowerFluxBound
is set.lowerFluxBound
is set.public boolean isSetLowerFluxBoundInstance()
public boolean isSetUpperFluxBound()
upperFluxBound
is set.upperFluxBound
is set.public boolean isSetUpperFluxBoundInstance()
public boolean readAttribute(java.lang.String attributeName, java.lang.String prefix, java.lang.String value)
SBasePlugin
SBasePlugin
.attributeName
- localName of the XML attributeprefix
- prefix of the XML attributevalue
- value of the XML attributetrue
if the attribute has been successfully read.public void setGeneProductAssociation(GeneProductAssociation geneProductAssociation)
geneProductAssociation
geneProductAssociation
- the value of geneProductAssociation
to be set.public void setLowerFluxBound(Parameter boundParameter)
boundParameter
- public void setLowerFluxBound(java.lang.String lowerFluxBound)
lowerFluxBound
- public void setUpperFluxBound(Parameter boundParameter)
boundParameter
- public void setUpperFluxBound(java.lang.String upperFluxBound)
upperFluxBound
- public boolean unsetGeneProductAssociation()
geneProductAssociation
.true
if geneProductAssociation
was set before,
otherwise false
.public boolean unsetLowerFluxBound()
true
if lowerFluxBound was set before,
otherwise false
.public boolean unsetUpperFluxBound()
true
if upperFluxBound was set before,
otherwise false
.public java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
SBasePlugin
Map
containing the XML attributes of this object.writeXMLAttributes
in interface SBasePlugin
writeXMLAttributes
in class AbstractSBasePlugin
Map
containing the XML attributes of this object.