|
||||||||||
| 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
public class DescribableImpl
Abstract class that allows subclasses to inherit the association to Description, for detailed annotations such as Ontology entries and Database references, the association to Audit, for tracking changes, and the association to Security for indicating permissions.
| Field Summary | |
|---|---|
protected static java.util.ArrayList |
allAssociationMethods
|
protected static java.util.Hashtable |
associationMethods
|
protected Audit[] |
auditTrail
DOCUMENT ME |
protected int |
auditTrailCount
The count of Audit objects. |
protected Description[] |
descriptions
DOCUMENT ME |
protected int |
descriptionsCount
The count of Description objects. |
protected Security |
security
DOCUMENT ME |
protected java.lang.Long |
securityId
The internal ID of the associated security object. |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl |
|---|
propertySets, propertySetsCount, securedElementId |
| Constructor Summary | |
|---|---|
DescribableImpl()
Default constructor |
|
| Method Summary | |
|---|---|
Audit[] |
getAuditTrail()
Returns the value of this Describable object's auditTrail attribute. |
int |
getAuditTrailCount()
Returns the count of all Audit
associated with this Describable object. |
Description[] |
getDescriptions()
Returns the value of this Describable object's descriptions attribute. |
int |
getDescriptionsCount()
Returns the count of all Description
associated with this Describable object. |
Security |
getSecurity()
Returns the value of this Describable object's security attribute. |
java.util.Hashtable |
getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of
the association methods of this object. |
protected void |
init()
|
Describable[] |
searchDescribables(DescribableSearchCriteria criteria)
Returns an array of Describable objects that
satisfy the given DescribableSearchCriteria. |
void |
setAuditTrail(Audit[] p_auditTrail)
Sets the auditTrail attribute. |
void |
setDescriptions(Description[] p_descriptions)
Sets the descriptions attribute. |
void |
setSecurity(Security p_security)
Sets the security 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.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.Extendable |
|---|
getPropertySets, setPropertySets |
| Field Detail |
|---|
protected static java.util.ArrayList allAssociationMethods
protected static java.util.Hashtable associationMethods
protected int descriptionsCount
protected Description[] descriptions
protected int auditTrailCount
protected Audit[] auditTrail
protected Security security
protected java.lang.Long securityId
| Constructor Detail |
|---|
public DescribableImpl()
| Method Detail |
|---|
protected void init()
init in class ExtendableImpl
public Describable[] searchDescribables(DescribableSearchCriteria criteria)
throws gov.nih.nci.common.search.SearchException
Describable objects that
satisfy the given DescribableSearchCriteria.
criteria - The DescribableSearchCriteria
which represents a query for Describable objects.
Describable objects.
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchExceptionpublic void setDescriptions(Description[] p_descriptions)
Describable object.
setDescriptions in interface Describablep_descriptions - The new value for descriptions.Describable.getDescriptions()public Description[] getDescriptions()
DescribableDescribable object's descriptions attribute.
getDescriptions in interface Describablegov.nih.nci.mageom.bean.Description.Description[] The value of descriptions.Describable.getDescriptions()public void setAuditTrail(Audit[] p_auditTrail)
Describable object.
setAuditTrail in interface Describablep_auditTrail - The new value for auditTrail.Describable.getAuditTrail()public Audit[] getAuditTrail()
DescribableDescribable object's auditTrail attribute.
getAuditTrail in interface Describablegov.nih.nci.mageom.bean.AuditAndSecurity.Audit[] The value of auditTrail.Describable.getAuditTrail()public void setSecurity(Security p_security)
Describable object.
setSecurity in interface Describablep_security - The new value for security.Describable.getSecurity()public Security getSecurity()
DescribableDescribable object's security attribute.
getSecurity in interface Describablegov.nih.nci.mageom.bean.AuditAndSecurity.Security The value of security.Describable.getSecurity()public int getDescriptionsCount()
Description
associated with this Describable object.
Describable.getDescriptions()public int getAuditTrailCount()
Audit
associated with this Describable object.
Describable.getAuditTrail()public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
toXML in class ExtendableImplpublic org.w3c.dom.Element toXMLDoc(org.w3c.dom.Document doc)
toXMLDoc in class ExtendableImpl
public org.w3c.dom.Element toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
toXMLProcessor in class ExtendableImpldoc - 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 ExtendableImplpublic java.lang.String toString()
toString in class ExtendableImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||