|
Ruddi™ UDDI Client API 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--inspireit.uddi.base.Contact
The Contact class lets record contact information for a person. This information can consist of one or more personal elements, along with a person's name. Contact information exists by containment relationship alone, and no mechanisms for tracking individual contact instances is provided by UDDI specifications.
| Field Summary | |
protected Addresses |
addresses
Holds Addresses for the contact (printable lines suitable for addressing an envelope). |
protected Descriptions |
descriptions
Optional element. |
protected EMails |
emails
Holds E-Mail addresses for the contact. |
protected PersonNames |
personNames
Required element. |
protected Phones |
phones
Holds telephone numbers for the contact. |
protected UseType |
useType
Optional attribute that is used to describe the type of contact in freeform text. |
| Constructor Summary | |
Contact(PersonNames personNames)
Contact constructor. |
|
Contact(java.lang.String personName)
Contact constructor. |
|
| Method Summary | |
void |
addAddress(Address address)
Adds an Address. |
void |
addDescription(Description description)
Adds a Description of the reason the Contact should be used. |
void |
addEMail(EMail email)
Adds an EMail address. |
void |
addPersonName(PersonName personName)
Adds a PersonName. |
void |
addPhone(Phone phone)
Adds a Phone. |
boolean |
equals(java.lang.Object o)
Checks whether an object is equal to this Contact. |
Addresses |
getAddresses()
Get all Addresses. |
Descriptions |
getDescriptions()
Gets all Descriptions of the reasons the Contact should be used. |
EMails |
getEMails()
Get all EMail address. |
PersonNames |
getPersonNames()
Gets the names of the persons or names of the job role that will be available behind the contact. |
Phones |
getPhones()
Gets all Phone numbers. |
UseType |
getUseType()
Gets the optional attribute that is used to describe the type of contact in freeform text. |
void |
removeAddress(Address address)
Removes an Address. |
void |
removeDescription(Description description)
Removes a Description of the reason the Contact should be used. |
void |
removeEMail(EMail email)
Removes an EMail address. |
void |
removePersonName(PersonName personName)
Removes a PersonName. |
void |
removePhone(Phone phone)
Removes a Phone. |
void |
setUseType(UseType useType)
Sets the optional attribute that is used to describe the type of contact in freeform text. |
java.lang.String |
toString()
Gets a String representation of the Contact. |
java.lang.Object |
visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
Visits this Contact. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected UseType useType
protected Descriptions descriptions
protected PersonNames personNames
protected Phones phones
protected EMails emails
protected Addresses addresses
| Constructor Detail |
public Contact(java.lang.String personName)
personName - Name of the person or name of the job role that will be
available behind the contact. Examples or roles include "administrator" or
"webmaster".public Contact(PersonNames personNames)
personNames - The names of the persons or names of the job roles
that will be available behind the contact. Examples or roles include
"administrator" or "webmaster".| Method Detail |
public void addDescription(Description description)
description - The Description to add.public void removeDescription(Description description)
description - The Description to remove.public Descriptions getDescriptions()
public void addPersonName(PersonName personName)
personName - The PersonName to add.public void removePersonName(PersonName personName)
personName - The PersonName to remove.public PersonNames getPersonNames()
public void addPhone(Phone phone)
phone - The Phone to add.public void removePhone(Phone phone)
phone - The Phone to remove.public Phones getPhones()
public void addEMail(EMail email)
email - The EMail address to add.public void removeEMail(EMail email)
email - The EMail address to remove.public EMails getEMails()
public void addAddress(Address address)
address - The Address to add.public void removeAddress(Address address)
address - The Address to remove.public Addresses getAddresses()
public UseType getUseType()
public void setUseType(UseType useType)
useType - A description of the type of contact in freeform text.public java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
visit in interface inspireit.uddi.util.visitors.UDDIElementvisitor - The Visitor visiting this Contact.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - The object to test for equality.
|
Ruddi™ UDDI Client API 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||