|
||||||||||
| 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
public class IdentifiableImpl
An Identifiable class is one that has an unambiguous reference within the scope. It also has a potentially ambiguous name.
| Field Summary | |
|---|---|
protected static java.util.ArrayList |
allAssociationMethods
|
protected static java.util.Hashtable |
associationMethods
|
protected java.lang.String |
identifier
An identifier is an unambiguous string that is unique within the scope (i.e. |
protected java.lang.String |
name
The potentially ambiguous common identifier. |
| 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 | |
|---|---|
IdentifiableImpl()
Default constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getIdentifier()
Returns the value of this Identifiable object's identifier attribute. |
java.lang.String |
getName()
Returns the value of this Identifiable object's name attribute. |
java.util.Hashtable |
getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of
the association methods of this object. |
protected void |
init()
|
Identifiable[] |
searchIdentifiables(IdentifiableSearchCriteria criteria)
Returns an array of Identifiable objects that
satisfy the given IdentifiableSearchCriteria. |
void |
setIdentifier(java.lang.String p_identifier)
Sets the identifier attribute. |
void |
setName(java.lang.String p_name)
Sets the name 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.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.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.String identifier
protected java.lang.String name
| Constructor Detail |
|---|
public IdentifiableImpl()
| Method Detail |
|---|
protected void init()
init in class DescribableImpl
public Identifiable[] searchIdentifiables(IdentifiableSearchCriteria criteria)
throws gov.nih.nci.common.search.SearchException
Identifiable objects that
satisfy the given IdentifiableSearchCriteria.
criteria - The IdentifiableSearchCriteria
which represents a query for Identifiable objects.
Identifiable objects.
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchExceptionpublic void setIdentifier(java.lang.String p_identifier)
Identifiable object.
setIdentifier in interface Identifiablep_identifier - The new value for identifier.Identifiable.getIdentifier()public java.lang.String getIdentifier()
IdentifiableIdentifiable object's identifier attribute.
Description of identifier:
An identifier is an unambiguous string that is unique within the scope (i.e. a document, a set of related
documents, or a repository) of its use.
getIdentifier in interface IdentifiableString The value of identifier.Identifiable.getIdentifier()public void setName(java.lang.String p_name)
Identifiable object.
setName in interface Identifiablep_name - The new value for name.Identifiable.getName()public java.lang.String getName()
IdentifiableIdentifiable object's name attribute.
Description of name:
The potentially ambiguous common identifier.
getName in interface IdentifiableString The value of name.Identifiable.getName()public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
toXML in class DescribableImplpublic org.w3c.dom.Element toXMLDoc(org.w3c.dom.Document doc)
toXMLDoc in class DescribableImpl
public org.w3c.dom.Element toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
toXMLProcessor in class DescribableImpldoc - 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 DescribableImplpublic java.lang.String toString()
toString in class DescribableImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||