| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectelectric.uddi.Contact
Contact represents a UDDI contact.
| Field Summary | 
| Constructor Summary | |
Contact()
Construct a Contact with no initial values.  | 
|
Contact(java.lang.String personName)
Construct a Contact with the specified person name.  | 
|
| Method Summary | |
 void | 
addAddress(Address address)
Add an address.  | 
 void | 
addDescription(Description description)
Add the specified description.  | 
 void | 
addEmail(Email email)
Add an email.  | 
 void | 
addPersonName(Name name)
 | 
 void | 
addPhone(Phone phone)
Add the phone.  | 
 Address[] | 
getAddresses()
Return an array of my addresses.  | 
 Description[] | 
getDescriptions()
Return my descriptions.  | 
 Email[] | 
getEmails()
Return an array of my emails.  | 
 java.lang.String | 
getPersonName()
 | 
 Name[] | 
getPersonNames()
 | 
 Phone[] | 
getPhones()
Return an array of my phones.  | 
 java.lang.String | 
getUseType()
Return my use type.  | 
 void | 
read(IReader reader)
Restore myself from the specified reader.  | 
 void | 
removeAddress(Address address)
Remove an address.  | 
 void | 
removeDescription(Description description)
Remove the specified description.  | 
 void | 
removeEmail(Email email)
Remove an email.  | 
 void | 
removePersonName(Name name)
 | 
 void | 
removePhone(Phone phone)
Remove the phone.  | 
 void | 
setDescriptions(Description[] descriptions)
Set my descriptions.  | 
 void | 
setPersonName(java.lang.String text)
 | 
 void | 
setPersonNames(Name[] names)
 | 
 void | 
setUseType(java.lang.String useType)
Set my use type.  | 
 java.lang.String | 
toString()
Return my description.  | 
 void | 
write(IWriter writer)
Write myself to the specified writer.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public Contact()
public Contact(java.lang.String personName)
personName - The initial person name.| Method Detail | 
public java.lang.String toString()
public Name[] getPersonNames()
public void setPersonNames(Name[] names)
names - public void addPersonName(Name name)
name - public void removePersonName(Name name)
name - public java.lang.String getPersonName()
public void setPersonName(java.lang.String text)
text - public void setUseType(java.lang.String useType)
useType - The new use type.public java.lang.String getUseType()
public Description[] getDescriptions()
public void setDescriptions(Description[] descriptions)
descriptions - The descriptions.public void addDescription(Description description)
description - The description.public void removeDescription(Description description)
description - The description.public void addPhone(Phone phone)
phone - The phone to add.public void removePhone(Phone phone)
phone - The phone to remove.public Phone[] getPhones()
public void addEmail(Email email)
email - The email to add.public void removeEmail(Email email)
email - The email to remove.public Email[] getEmails()
public void addAddress(Address address)
address - The address to add.public void removeAddress(Address address)
address - The address to remove.public Address[] getAddresses()
public void write(IWriter writer)
           throws java.io.IOException
write in interface ISerializablewriter - The IWriter
java.io.IOException - If a serialization error occurs.
public void read(IReader reader)
          throws java.io.IOException
read in interface ISerializablereader - The IReader
java.io.IOException - If a deserialization error occurs.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||