gov.nih.nci.mageom.domain.AuditAndSecurity.impl
Class OrganizationImpl
java.lang.Object
gov.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.AuditAndSecurity.impl.ContactImpl
gov.nih.nci.mageom.domain.AuditAndSecurity.impl.OrganizationImpl
- All Implemented Interfaces:
- Contact, Organization, Describable, Extendable, Identifiable, java.io.Serializable
public class OrganizationImpl
- extends ContactImpl
- implements Organization
Organizations are entities like companies, universities, government agencies for which the attributes
are self describing.
- Version:
- %I%, %G%
- See Also:
- Serialized Form
|
Method Summary |
Organization |
getParent()
Returns the value of this Organization object's parent attribute. |
java.util.Hashtable |
getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of
the association methods of this object. |
protected void |
init()
|
Organization[] |
searchOrganizations(OrganizationSearchCriteria criteria)
Returns an array of Organization objects that
satisfy the given OrganizationSearchCriteria. |
void |
setParent(Organization p_parent)
Sets the parent 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.AuditAndSecurity.impl.ContactImpl |
getAddress, getEmail, getFax, getPhone, getRoles, getRolesCount, getTollFreePhone, getURI, searchContacts, setAddress, setEmail, setFax, setPhone, setRoles, setTollFreePhone, setURI |
| 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.AuditAndSecurity.Contact |
getAddress, getEmail, getFax, getPhone, getRoles, getTollFreePhone, getURI, setAddress, setEmail, setFax, setPhone, setRoles, setTollFreePhone, setURI |
allAssociationMethods
protected static java.util.ArrayList allAssociationMethods
associationMethods
protected static java.util.Hashtable associationMethods
parent
protected Organization parent
- DOCUMENT ME
parentId
protected java.lang.Long parentId
- The internal ID of the associated parent object.
OrganizationImpl
public OrganizationImpl()
- Default constructor
init
protected void init()
- Overrides:
init in class ContactImpl
searchOrganizations
public Organization[] searchOrganizations(OrganizationSearchCriteria criteria)
throws gov.nih.nci.common.search.SearchException
- Returns an array of
Organization objects that
satisfy the given OrganizationSearchCriteria.
- Parameters:
criteria - The OrganizationSearchCriteria
which represents a query for Organization objects.
- Returns:
- An array of
Organization objects.
- Throws:
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchException
setParent
public void setParent(Organization p_parent)
- Sets the parent attribute. This API is currently
read-only. So, calling this method does not affect the persistent
state of a
Organization object.
- Specified by:
setParent in interface Organization
- Parameters:
p_parent - The new value for parent.- See Also:
Organization.getParent()
getParent
public Organization getParent()
- Description copied from interface:
Organization
- Returns the value of this
Organization object's parent attribute.
- Specified by:
getParent in interface Organization
- Returns:
gov.nih.nci.mageom.bean.AuditAndSecurity.Organization The value of parent.- See Also:
Organization.getParent()
toXML
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
- Overrides:
toXML in class ContactImpl
toXMLDoc
public org.w3c.dom.Element toXMLDoc(org.w3c.dom.Document doc)
- Overrides:
toXMLDoc in class ContactImpl
toXMLProcessor
public org.w3c.dom.Element toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
- Returns an XML representation of the object.
The document is not modified.
- Overrides:
toXMLProcessor in class ContactImpl
- Parameters:
doc - the working documentfillOutValues - a list of attribute names that should have
full XML for their values.
- Returns:
- org.w3c.dom.Element an XML representation
getXMLMethodDescriptors
public java.util.Hashtable getXMLMethodDescriptors()
- Returns a Hashtable containing
XMLMethodDescriptors descriptors of
the association methods of this object.
- Overrides:
getXMLMethodDescriptors in class ContactImpl
- Returns:
- Hashtable The Hashtable of descriptors.
toString
public java.lang.String toString()
- Returns a String representation of this object suitable for
console display.
- Overrides:
toString in class ContactImpl
- Returns:
- the String representation.