|
||||||||||
| 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.AuditAndSecurity.impl.ContactImpl
public class ContactImpl
A contact is either a person or an organization.
| Field Summary | |
|---|---|
protected java.lang.String |
address
DOCUMENT ME |
protected static java.util.ArrayList |
allAssociationMethods
|
protected static java.util.Hashtable |
associationMethods
|
protected java.lang.String |
email
DOCUMENT ME |
protected java.lang.String |
fax
DOCUMENT ME |
protected java.lang.String |
phone
DOCUMENT ME |
protected OntologyEntry[] |
roles
DOCUMENT ME |
protected int |
rolesCount
The count of OntologyEntry objects. |
protected java.lang.String |
tollFreePhone
DOCUMENT ME |
protected java.lang.String |
URI
DOCUMENT ME |
| 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 | |
|---|---|
ContactImpl()
Default constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getAddress()
Returns the value of this Contact object's address attribute. |
java.lang.String |
getEmail()
Returns the value of this Contact object's email attribute. |
java.lang.String |
getFax()
Returns the value of this Contact object's fax attribute. |
java.lang.String |
getPhone()
Returns the value of this Contact object's phone attribute. |
OntologyEntry[] |
getRoles()
Returns the value of this Contact object's roles attribute. |
int |
getRolesCount()
Returns the count of all OntologyEntry
associated with this Contact object. |
java.lang.String |
getTollFreePhone()
Returns the value of this Contact object's tollFreePhone attribute. |
java.lang.String |
getURI()
Returns the value of this Contact object's URI attribute. |
java.util.Hashtable |
getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of
the association methods of this object. |
protected void |
init()
|
Contact[] |
searchContacts(ContactSearchCriteria criteria)
Returns an array of Contact objects that
satisfy the given ContactSearchCriteria. |
void |
setAddress(java.lang.String p_address)
Sets the address attribute. |
void |
setEmail(java.lang.String p_email)
Sets the email attribute. |
void |
setFax(java.lang.String p_fax)
Sets the fax attribute. |
void |
setPhone(java.lang.String p_phone)
Sets the phone attribute. |
void |
setRoles(OntologyEntry[] p_roles)
Sets the roles attribute. |
void |
setTollFreePhone(java.lang.String p_tollFreePhone)
Sets the tollFreePhone attribute. |
void |
setURI(java.lang.String p_URI)
Sets the URI 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.String URI
protected java.lang.String address
protected java.lang.String phone
protected java.lang.String tollFreePhone
protected java.lang.String email
protected java.lang.String fax
protected int rolesCount
protected OntologyEntry[] roles
| Constructor Detail |
|---|
public ContactImpl()
| Method Detail |
|---|
protected void init()
init in class IdentifiableImpl
public Contact[] searchContacts(ContactSearchCriteria criteria)
throws gov.nih.nci.common.search.SearchException
Contact objects that
satisfy the given ContactSearchCriteria.
criteria - The ContactSearchCriteria
which represents a query for Contact objects.
Contact objects.
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchExceptionpublic void setURI(java.lang.String p_URI)
Contact object.
setURI in interface Contactp_URI - The new value for URI.Contact.getURI()public java.lang.String getURI()
ContactContact object's URI attribute.
Description of URI:
DOCUMENT ME!
getURI in interface ContactString The value of URI.Contact.getURI()public void setAddress(java.lang.String p_address)
Contact object.
setAddress in interface Contactp_address - The new value for address.Contact.getAddress()public java.lang.String getAddress()
ContactContact object's address attribute.
Description of address:
DOCUMENT ME!
getAddress in interface ContactString The value of address.Contact.getAddress()public void setPhone(java.lang.String p_phone)
Contact object.
setPhone in interface Contactp_phone - The new value for phone.Contact.getPhone()public java.lang.String getPhone()
ContactContact object's phone attribute.
Description of phone:
DOCUMENT ME!
getPhone in interface ContactString The value of phone.Contact.getPhone()public void setTollFreePhone(java.lang.String p_tollFreePhone)
Contact object.
setTollFreePhone in interface Contactp_tollFreePhone - The new value for tollFreePhone.Contact.getTollFreePhone()public java.lang.String getTollFreePhone()
ContactContact object's tollFreePhone attribute.
Description of tollFreePhone:
DOCUMENT ME!
getTollFreePhone in interface ContactString The value of tollFreePhone.Contact.getTollFreePhone()public void setEmail(java.lang.String p_email)
Contact object.
setEmail in interface Contactp_email - The new value for email.Contact.getEmail()public java.lang.String getEmail()
ContactContact object's email attribute.
Description of email:
DOCUMENT ME!
getEmail in interface ContactString The value of email.Contact.getEmail()public void setFax(java.lang.String p_fax)
Contact object.
setFax in interface Contactp_fax - The new value for fax.Contact.getFax()public java.lang.String getFax()
ContactContact object's fax attribute.
Description of fax:
DOCUMENT ME!
getFax in interface ContactString The value of fax.Contact.getFax()public void setRoles(OntologyEntry[] p_roles)
Contact object.
setRoles in interface Contactp_roles - The new value for roles.Contact.getRoles()public OntologyEntry[] getRoles()
ContactContact object's roles attribute.
getRoles in interface Contactgov.nih.nci.mageom.bean.Description.OntologyEntry[] The value of roles.Contact.getRoles()public int getRolesCount()
OntologyEntry
associated with this Contact object.
Contact.getRoles()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 | |||||||||