|
SigPath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sigpath.datamodel.lset.CollectableImpl
org.sigpath.datamodel.SigPathEntityImpl
org.sigpath.datamodel.ChemicalImpl
public class ChemicalImpl
Represents a chemical compound, either protein, DNA, complex, or small molecule. Subclasses are provided which classify Chemicals into more specific categories.
| Field Summary |
|---|
| Fields inherited from class org.sigpath.datamodel.SigPathEntityImpl |
|---|
forwardReferences |
| Constructor Summary | |
|---|---|
|
ChemicalImpl()
|
protected |
ChemicalImpl(SigPathFactory factory)
|
protected |
ChemicalImpl(SigPathFactory factory,
String spid)
|
| Method Summary | |
|---|---|
void |
addBecomesInfo(BecomesInfo info)
Add information about one chemical that this chemical can become. |
void |
addComesFromInfo(ComesFromInfo info)
Add information about one chemical that this chemical can come from. |
boolean |
contains(Chemical part)
Does the chemical contain this part. |
Collection |
getBecomes()
Gets information about the chemicals that this chemical becomes. |
Collection |
getComesFrom()
Gets information about the chemical that this chemical comes from |
Set |
getForwardReferences()
Chemicals do not reference other entities and always return an empty set. |
Organism |
getOrganism()
Returns the organism which produces this chemical. |
Set |
involvedIn()
Returns a Set of Reactions/EnzymaticReactions with which this Chemical is involved with |
boolean |
isBackgroundInformation()
Is this chemical background information. |
void |
jdoPreDelete()
|
void |
setInvolvedIn(EnzymaticReaction er,
boolean state)
Adds/Removes an EnzymaticReaction to the Set of reactions/enzymaticReactions this Chemical is involvedIn |
void |
setInvolvedIn(EnzymaticReaction er,
boolean state,
SigPathFactory factory)
|
void |
setInvolvedIn(NamedChemicalInteraction nci,
boolean state)
Makes or destroys the "involved in" association to a Named Chemical Interaction. |
void |
setInvolvedIn(Reaction reaction,
boolean state)
Adds/Removes a Reaction to the Set of reactions/enzymaticReactions this Chemical is involvedIn |
void |
setInvolvedIn(Reaction reaction,
boolean state,
SigPathFactory factory)
|
void |
setOrganism(Organism o)
Sets the organism which produces this chemical. |
| Methods inherited from class org.sigpath.datamodel.SigPathEntityImpl |
|---|
addAlias, addAliases, addAliases, addReview, addUserComment, changeAlias, getAliases, getAliasesCollection, getAliasesIterator, getChangeLog, getCombinedStringLength, getComments, getDescription, getExternalReferences, getLiteratureReferences, getName, getReviews, getSpid, getUserComments, isExportable, isIndexed, jdoPostLoad, jdoPreClear, jdoPreStore, removeAlias, removeAliases, removeReviews, setAliases, setAliasesCollection, setChangeLog, setComments, setDescription, setExportable, setForwardReferences, setIndexed, setName, setSpid |
| Methods inherited from class org.sigpath.datamodel.lset.CollectableImpl |
|---|
createCollectionsSet, getCollections |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.sigpath.datamodel.SigPathEntity |
|---|
addAlias, addAliases, addReview, addUserComment, changeAlias, getAliases, getAliasesCollection, getAliasesIterator, getChangeLog, getCombinedStringLength, getComments, getDescription, getExternalReferences, getLiteratureReferences, getName, getReviews, getSpid, getUserComments, isExportable, removeAlias, removeAliases, removeReviews, setAliases, setAliasesCollection, setChangeLog, setComments, setDescription, setExportable, setName, setSpid |
| Methods inherited from interface org.sigpath.datamodel.lset.Collectable |
|---|
getCollections |
| Constructor Detail |
|---|
public ChemicalImpl()
protected ChemicalImpl(SigPathFactory factory)
protected ChemicalImpl(SigPathFactory factory,
String spid)
| Method Detail |
|---|
public Collection getBecomes()
getBecomes in interface ChemicalBecomesInfopublic Collection getComesFrom()
getComesFrom in interface ChemicalComesFromInfopublic Organism getOrganism()
getOrganism in interface Chemicalpublic boolean contains(Chemical part)
contains in interface Chemicalpublic void setOrganism(Organism o)
setOrganism in interface Chemicalpublic Set involvedIn()
involvedIn in interface Chemical
public void setInvolvedIn(Reaction reaction,
boolean state)
setInvolvedIn in interface Chemicalreaction - Reaction with which this Chemical is involved instate - boolean value of adding or removing reaction from the list of reactions/enzymaticReactions
this Chemical is involved in.Chemical.involvedIn()
public void setInvolvedIn(EnzymaticReaction er,
boolean state)
setInvolvedIn in interface Chemicaler - EnzymaticReaction with which this Chemical is involved instate - boolean value of adding or removing er from the list of reactions/enzymaticReactions
this Chemical is involved in.Chemical.involvedIn()
public void setInvolvedIn(NamedChemicalInteraction nci,
boolean state)
Chemical
setInvolvedIn in interface Chemicalnci - NamedChemicalInteraction in which this chemical is involved.state - True when the chemical is involved in the Named Chemical Interaction, False otherwise.Chemical.involvedIn()public boolean isBackgroundInformation()
Chemical
isBackgroundInformation in interface Chemicalpublic void addBecomesInfo(BecomesInfo info)
public void addComesFromInfo(ComesFromInfo info)
public void setInvolvedIn(Reaction reaction,
boolean state,
SigPathFactory factory)
public void setInvolvedIn(EnzymaticReaction er,
boolean state,
SigPathFactory factory)
public Set getForwardReferences()
getForwardReferences in interface SigPathEntitypublic void jdoPreDelete()
jdoPreDelete in interface InstanceCallbacksjdoPreDelete in class SigPathEntityImpl
|
SigPath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||