|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nci.mageom.domain.impl.MAGEOMObject
gov.nih.nci.mageom.domain.impl.ExtendableImpl
gov.nih.nci.mageom.domain.impl.DescribableImpl
gov.nih.nci.mageom.domain.impl.IdentifiableImpl
gov.nih.nci.mageom.domain.BioMaterial.impl.CompoundImpl
public class CompoundImpl
A Compound can be a simple compound such as SDS (sodium dodecyl sulfate). It may also be made of other Compounds in proportions using CompoundMeasurements to enumerate the Compounds and their amounts such as LB (Luria Broth) Media.
| Field Summary | |
|---|---|
protected static java.util.ArrayList |
allAssociationMethods
|
protected static java.util.Hashtable |
associationMethods
|
protected CompoundMeasurement[] |
componentCompounds
DOCUMENT ME |
protected int |
componentCompoundsCount
The count of CompoundMeasurement objects. |
protected OntologyEntry[] |
compoundIndices
DOCUMENT ME |
protected int |
compoundIndicesCount
The count of OntologyEntry objects. |
protected DatabaseEntry |
externalLIMS
DOCUMENT ME |
protected java.lang.Long |
externalLIMSId
The internal ID of the associated externalLIMS object. |
protected java.lang.Boolean |
isSolvent
A Compound may be a special case Solvent. |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.IdentifiableImpl |
|---|
identifier, name |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.DescribableImpl |
|---|
auditTrail, auditTrailCount, descriptions, descriptionsCount, security, securityId |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl |
|---|
propertySets, propertySetsCount, securedElementId |
| Constructor Summary | |
|---|---|
CompoundImpl()
Default constructor |
|
| Method Summary | |
|---|---|
CompoundMeasurement[] |
getComponentCompounds()
Returns the value of this Compound object's componentCompounds attribute. |
int |
getComponentCompoundsCount()
Returns the count of all CompoundMeasurement
associated with this Compound object. |
OntologyEntry[] |
getCompoundIndices()
Returns the value of this Compound object's compoundIndices attribute. |
int |
getCompoundIndicesCount()
Returns the count of all OntologyEntry
associated with this Compound object. |
DatabaseEntry |
getExternalLIMS()
Returns the value of this Compound object's externalLIMS attribute. |
java.lang.Boolean |
getIsSolvent()
Returns the value of this Compound object's isSolvent attribute. |
java.util.Hashtable |
getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of
the association methods of this object. |
protected void |
init()
|
Compound[] |
searchCompounds(CompoundSearchCriteria criteria)
Returns an array of Compound objects that
satisfy the given CompoundSearchCriteria. |
void |
setComponentCompounds(CompoundMeasurement[] p_componentCompounds)
Sets the componentCompounds attribute. |
void |
setCompoundIndices(OntologyEntry[] p_compoundIndices)
Sets the compoundIndices attribute. |
void |
setExternalLIMS(DatabaseEntry p_externalLIMS)
Sets the externalLIMS attribute. |
void |
setIsSolvent(java.lang.Boolean p_isSolvent)
Sets the isSolvent attribute. |
java.lang.String |
toString()
Returns a String representation of this object suitable for console display. |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc)
|
org.w3c.dom.Element |
toXMLDoc(org.w3c.dom.Document doc)
|
org.w3c.dom.Element |
toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
Returns an XML representation of the object. |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.IdentifiableImpl |
|---|
getIdentifier, getName, searchIdentifiables, setIdentifier, setName |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.DescribableImpl |
|---|
getAuditTrail, getAuditTrailCount, getDescriptions, getDescriptionsCount, getSecurity, searchDescribables, setAuditTrail, setDescriptions, setSecurity |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl |
|---|
getPropertySets, getPropertySetsCount, getSecuredElementId, searchExtendables, setPropertySets, setSecuredElementId |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.MAGEOMObject |
|---|
getId, getIsEditable, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface gov.nih.nci.mageom.domain.Identifiable |
|---|
getIdentifier, getName, setIdentifier, setName |
| Methods inherited from interface gov.nih.nci.mageom.domain.Describable |
|---|
getAuditTrail, getDescriptions, getSecurity, setAuditTrail, setDescriptions, setSecurity |
| Methods inherited from interface gov.nih.nci.mageom.domain.Extendable |
|---|
getPropertySets, setPropertySets |
| Field Detail |
|---|
protected static java.util.ArrayList allAssociationMethods
protected static java.util.Hashtable associationMethods
protected java.lang.Boolean isSolvent
protected int componentCompoundsCount
protected CompoundMeasurement[] componentCompounds
protected int compoundIndicesCount
protected OntologyEntry[] compoundIndices
protected DatabaseEntry externalLIMS
protected java.lang.Long externalLIMSId
| Constructor Detail |
|---|
public CompoundImpl()
| Method Detail |
|---|
protected void init()
init in class IdentifiableImpl
public Compound[] searchCompounds(CompoundSearchCriteria criteria)
throws gov.nih.nci.common.search.SearchException
Compound objects that
satisfy the given CompoundSearchCriteria.
criteria - The CompoundSearchCriteria
which represents a query for Compound objects.
Compound objects.
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchExceptionpublic void setIsSolvent(java.lang.Boolean p_isSolvent)
Compound object.
setIsSolvent in interface Compoundp_isSolvent - The new value for isSolvent.Compound.getIsSolvent()public java.lang.Boolean getIsSolvent()
CompoundCompound object's isSolvent attribute.
Description of isSolvent:
A Compound may be a special case Solvent.
getIsSolvent in interface Compoundboolean The value of isSolvent.Compound.getIsSolvent()public void setComponentCompounds(CompoundMeasurement[] p_componentCompounds)
Compound object.
setComponentCompounds in interface Compoundp_componentCompounds - The new value for componentCompounds.Compound.getComponentCompounds()public CompoundMeasurement[] getComponentCompounds()
CompoundCompound object's componentCompounds attribute.
getComponentCompounds in interface Compoundgov.nih.nci.mageom.bean.BioMaterial.CompoundMeasurement[] The value of componentCompounds.Compound.getComponentCompounds()public void setCompoundIndices(OntologyEntry[] p_compoundIndices)
Compound object.
setCompoundIndices in interface Compoundp_compoundIndices - The new value for compoundIndices.Compound.getCompoundIndices()public OntologyEntry[] getCompoundIndices()
CompoundCompound object's compoundIndices attribute.
getCompoundIndices in interface Compoundgov.nih.nci.mageom.bean.Description.OntologyEntry[] The value of compoundIndices.Compound.getCompoundIndices()public void setExternalLIMS(DatabaseEntry p_externalLIMS)
Compound object.
setExternalLIMS in interface Compoundp_externalLIMS - The new value for externalLIMS.Compound.getExternalLIMS()public DatabaseEntry getExternalLIMS()
CompoundCompound object's externalLIMS attribute.
getExternalLIMS in interface Compoundgov.nih.nci.mageom.bean.Description.DatabaseEntry The value of externalLIMS.Compound.getExternalLIMS()public int getComponentCompoundsCount()
CompoundMeasurement
associated with this Compound object.
Compound.getComponentCompounds()public int getCompoundIndicesCount()
OntologyEntry
associated with this Compound object.
Compound.getCompoundIndices()public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
toXML in class IdentifiableImplpublic org.w3c.dom.Element toXMLDoc(org.w3c.dom.Document doc)
toXMLDoc in class IdentifiableImpl
public org.w3c.dom.Element toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
toXMLProcessor in class IdentifiableImpldoc - the working documentfillOutValues - a list of attribute names that should have
full XML for their values.
public java.util.Hashtable getXMLMethodDescriptors()
XMLMethodDescriptors descriptors of
the association methods of this object.
getXMLMethodDescriptors in class IdentifiableImplpublic java.lang.String toString()
toString in class IdentifiableImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||