|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biopax.paxtools.impl.BioPAXElementImpl
org.biopax.paxtools.impl.level3.L3ElementImpl
org.biopax.paxtools.impl.level3.XReferrableImpl
org.biopax.paxtools.impl.level3.NamedImpl
org.biopax.paxtools.impl.level3.EntityImpl
org.biopax.paxtools.impl.level3.ProcessImpl
org.biopax.paxtools.impl.level3.InteractionImpl
org.biopax.paxtools.impl.level3.ConversionImpl
@Entity @Indexed public class ConversionImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.biopax.paxtools.model.BioPAXElement |
|---|
BioPAXElement.Key |
| Field Summary |
|---|
| Fields inherited from class org.biopax.paxtools.impl.BioPAXElementImpl |
|---|
SEARCH_FIELD_AVAILABILITY, SEARCH_FIELD_COMMENT, SEARCH_FIELD_EC_NUMBER, SEARCH_FIELD_KEYWORD, SEARCH_FIELD_NAME, SEARCH_FIELD_SEQUENCE, SEARCH_FIELD_TERM, SEARCH_FIELD_XREF_DB, SEARCH_FIELD_XREF_ID, SEARCH_INDEX_NAME |
| Fields inherited from interface org.biopax.paxtools.model.BioPAXElement |
|---|
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT |
| Constructor Summary | |
|---|---|
ConversionImpl()
|
|
| Method Summary | |
|---|---|
void |
addLeft(PhysicalEntity left)
Adds a participant to the left side of the conversion interaction. |
void |
addParticipantStoichiometry(Stoichiometry participantStoichiometry)
This method adds a stoichiometry for one of the participants of this conversion. |
void |
addRight(PhysicalEntity right)
Adds a participant to the right side of the conversion interaction. |
int |
equivalenceCode()
If two elements are equivalent, then their equivalence code should be the same. |
ConversionDirectionType |
getConversionDirection()
This property represents the direction of the reaction. |
java.util.Set<PhysicalEntity> |
getLeft()
The participants on the left side of the conversion interaction. |
java.lang.Class<? extends Conversion> |
getModelInterface()
This method returns the actual model interface that a class implements. |
java.util.Set<Stoichiometry> |
getParticipantStoichiometry()
Stoichiometry of the left ( Conversion.getLeft()) and right(Conversion.getRight()) participants. |
java.util.Set<PhysicalEntity> |
getRight()
The participants on the right side of the conversion interaction. |
java.lang.Boolean |
getSpontaneous()
Specifies whether a conversion occurs spontaneously or not. |
void |
removeLeft(PhysicalEntity left)
Removes a participant from the left side of the conversion interaction. |
void |
removeParticipantStoichiometry(Stoichiometry participantStoichiometry)
This method removes a stoichiometry for one of the participants of this conversion. |
void |
removeRight(PhysicalEntity right)
Removes a participant from the right side of the conversion interaction. |
protected boolean |
semanticallyEquivalent(BioPAXElement element)
|
void |
setConversionDirection(ConversionDirectionType spontanousType)
This property represents the direction of the reaction. |
protected void |
setLeft(java.util.Set<PhysicalEntity> left)
|
protected void |
setParticipantStoichiometry(java.util.Set<Stoichiometry> participantStoichiometry)
|
protected void |
setRight(java.util.Set<PhysicalEntity> right)
|
void |
setSpontaneous(java.lang.Boolean spontaneous)
Specifies whether a conversion occurs spontaneously or not. |
| Methods inherited from class org.biopax.paxtools.impl.level3.InteractionImpl |
|---|
addInteractionType, addParticipant, getInteractionType, getParticipant, removeInteractionType, removeParticipant, setInteractionType, setParticipant |
| Methods inherited from class org.biopax.paxtools.impl.level3.ProcessImpl |
|---|
getControlledOf, getPathwayComponentOf, getStepProcessOf, setControlledOf, setPathwayComponentOf, setStepProcessOf |
| Methods inherited from class org.biopax.paxtools.impl.level3.EntityImpl |
|---|
addAvailability, addDataSource, addEvidence, getAvailability, getDataSource, getEvidence, getParticipantOf, removeAvailability, removeDataSource, removeEvidence, setAvailability, setDataSource, setEvidence, setParticipantOf |
| Methods inherited from class org.biopax.paxtools.impl.level3.NamedImpl |
|---|
addName, getDisplayName, getDisplayNameX, getName, getNameX, getStandardName, getStandardNameX, removeName, setDisplayName, setDisplayNameX, setName, setNameX, setStandardName, setStandardNameX |
| Methods inherited from class org.biopax.paxtools.impl.level3.XReferrableImpl |
|---|
addXref, getXref, hasCommonUnificationXref, removeXref, setXref |
| Methods inherited from class org.biopax.paxtools.impl.level3.L3ElementImpl |
|---|
addComment, getComment, removeComment, setComment |
| Methods inherited from class org.biopax.paxtools.impl.BioPAXElementImpl |
|---|
getAnnotations, getProxyId, getRDFId, getVersion, isEquivalent, setProxyId, setRDFId, setVersion, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.biopax.paxtools.model.level3.Interaction |
|---|
addInteractionType, addParticipant, getInteractionType, getParticipant, removeInteractionType, removeParticipant |
| Methods inherited from interface org.biopax.paxtools.model.level3.Process |
|---|
getControlledOf, getPathwayComponentOf, getStepProcessOf |
| Methods inherited from interface org.biopax.paxtools.model.level3.Entity |
|---|
addAvailability, addDataSource, getAvailability, getDataSource, getParticipantOf, removeAvailability, removeDataSource |
| Methods inherited from interface org.biopax.paxtools.model.level3.Observable |
|---|
addEvidence, getEvidence, removeEvidence |
| Methods inherited from interface org.biopax.paxtools.model.level3.Named |
|---|
addName, getDisplayName, getName, getStandardName, removeName, setDisplayName, setStandardName |
| Methods inherited from interface org.biopax.paxtools.model.level3.XReferrable |
|---|
addXref, getXref, removeXref |
| Methods inherited from interface org.biopax.paxtools.model.level3.Level3Element |
|---|
addComment, getComment, removeComment |
| Methods inherited from interface org.biopax.paxtools.model.BioPAXElement |
|---|
getAnnotations, getRDFId, isEquivalent |
| Constructor Detail |
|---|
public ConversionImpl()
| Method Detail |
|---|
public java.lang.Class<? extends Conversion> getModelInterface()
BioPAXElement
getModelInterface in interface BioPAXElementgetModelInterface in class InteractionImplorg.biopax.paxtools.model package
corresponding to a BioPAX class.public java.util.Set<PhysicalEntity> getRight()
Conversion
getRight in interface Conversionprotected void setRight(java.util.Set<PhysicalEntity> right)
public void addRight(PhysicalEntity right)
Conversion
addRight in interface Conversionright - participants to be added to the right side of the conversion interaction.public void removeRight(PhysicalEntity right)
Conversion
removeRight in interface Conversionright - participants to be removed from the right side of the conversion interaction.public java.util.Set<PhysicalEntity> getLeft()
Conversion
getLeft in interface Conversionprotected void setLeft(java.util.Set<PhysicalEntity> left)
public void addLeft(PhysicalEntity left)
Conversion
addLeft in interface Conversionleft - participants to be added to the left side of the conversion interaction.public void removeLeft(PhysicalEntity left)
Conversion
removeLeft in interface Conversionleft - participants to be removed from the left side of the conversion interaction.public java.lang.Boolean getSpontaneous()
Conversion
getSpontaneous in interface Conversionpublic void setSpontaneous(java.lang.Boolean spontaneous)
Conversion
setSpontaneous in interface Conversionspontaneous - Whether if this conversion is spontaneous.public java.util.Set<Stoichiometry> getParticipantStoichiometry()
ConversionConversion.getLeft()) and right(Conversion.getRight()) participants.
Note: This is a "bridge" workaround for the n-ary relationship problem. There is no default stoichiometry (
e.g. 1). Leaving this out will create reactions with unknown stoichiometry.
It is a best practice to define the stoichiometry of each participant.
It is invalid to define more than one stoichiometry per participant.
It is invalid to reuse stoichiometry instances across conversions.
getParticipantStoichiometry in interface ConversionConversion.getLeft()) and right(Conversion.getRight()) participants.public void addParticipantStoichiometry(Stoichiometry participantStoichiometry)
Conversion
addParticipantStoichiometry in interface ConversionparticipantStoichiometry - to be addedpublic void removeParticipantStoichiometry(Stoichiometry participantStoichiometry)
Conversion
removeParticipantStoichiometry in interface ConversionparticipantStoichiometry - to be removedprotected void setParticipantStoichiometry(java.util.Set<Stoichiometry> participantStoichiometry)
public ConversionDirectionType getConversionDirection()
Conversion
getConversionDirection in interface Conversionpublic void setConversionDirection(ConversionDirectionType spontanousType)
Conversion
setConversionDirection in interface ConversionspontanousType - One of REVERSIBLE, LEFT-TO-RIGHT or RIGHT-TO-LEFT -- null for unknown.protected boolean semanticallyEquivalent(BioPAXElement element)
semanticallyEquivalent in class EntityImplpublic int equivalenceCode()
BioPAXElement
equivalenceCode in interface BioPAXElementequivalenceCode in class XReferrableImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||