public class ReactionNetworkSubstanceRef extends Object implements GraphEntity
ReactionNetworkSubstance
.Modifier and Type | Field and Description |
---|---|
SBOTerm |
modTermA
The optional modification terms in original doc.
|
SBOTerm |
modTermB
The optional modification terms in modified doc.
|
protected boolean |
singleDoc
The single doc flag if in single-doc-operation-mode.
|
ReactionNetworkSubstance |
subst
The substance.
|
DELETE, INSERT, MODIFIED, UNMODIFIED
Constructor and Description |
---|
ReactionNetworkSubstanceRef(ReactionNetworkSubstance subst,
boolean flagA,
boolean flagB,
SBOTerm modTermA,
SBOTerm modTermB)
Instantiates a new substance reference.
|
Modifier and Type | Method and Description |
---|---|
int |
getModification()
Gets the modification.
|
String |
getModTerm()
Gets the modifier term.
|
String |
getSBO()
Gets the SBOTerm.
|
ReactionNetworkSubstance |
getSubstance()
Gets the referenced substance.
|
void |
setFlagA(boolean flagA)
Sets the existence flag for the original version.
|
void |
setFlagB(boolean flagB)
Sets the existence flag for the modified version.
|
void |
setSboA(SBOTerm modTermA)
Sets the SBOTerm as defined in the original version.
|
void |
setSboB(SBOTerm modTermB)
Sets the SBOTerm as defined in the modified version.
|
void |
setSingleDocument()
Sets the single document flag.
|
public ReactionNetworkSubstance subst
public SBOTerm modTermA
public SBOTerm modTermB
protected boolean singleDoc
public ReactionNetworkSubstanceRef(ReactionNetworkSubstance subst, boolean flagA, boolean flagB, SBOTerm modTermA, SBOTerm modTermB) throws BivesUnsupportedException
subst
- the substanceflagA
- the existence flag for the original versionflagB
- the existence flag for the modified versionmodTermA
- the modification type in the original versionmodTermB
- the modification type in the original versionBivesUnsupportedException
public void setSboA(SBOTerm modTermA) throws BivesUnsupportedException
modTermA
- the SBOTerm of version ABivesUnsupportedException
- indicating that this edge has two different modification properties.public void setSboB(SBOTerm modTermB) throws BivesUnsupportedException
modTermB
- the SBOTerm of version BBivesUnsupportedException
- indicating that this edge has two different modification properties.public ReactionNetworkSubstance getSubstance()
public void setFlagA(boolean flagA)
flagA
- the flag for doc Apublic void setFlagB(boolean flagB)
flagB
- the flag for doc Bpublic String getSBO()
public String getModTerm()
public int getModification()
public void setSingleDocument()
Copyright © 2019 SEMS project @ University of Rostock. All rights reserved.