|
Oracle Fusion Middleware Communication Services 11.1.1.1.0 Java API Reference E14785-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VCard
Abstraction of an entity's business card (vcard), partially based on RFC 2426.
Method Summary | |
---|---|
boolean |
addPhoneNumber(PhoneNumber number)
Adds the PhoneNumber number if has not already been added otherwise does nothing |
java.lang.Object |
clone()
|
PhoneNumber |
createPhoneNumber(PhoneNumber.Type type,
java.lang.String number)
Create a new phone number of the specified type. |
java.lang.String |
getCity()
|
java.lang.String |
getCountry()
|
java.lang.String |
getEmail()
|
java.lang.String |
getFullName()
|
java.lang.String |
getNickName()
|
List<PhoneNumber> |
getPhoneNumbers()
|
java.lang.String |
getPostalCode()
|
java.lang.String |
getState()
|
java.lang.String |
getStreetAddress()
|
java.lang.String |
getWebAddress()
|
boolean |
removePhoneNumber(PhoneNumber number)
Removes the phone number from this VCard. |
void |
setCity(java.lang.String city)
sets |
void |
setCountry(java.lang.String country)
sets |
void |
setEmail(java.lang.String email)
Set |
void |
setFullName(java.lang.String name)
Set |
void |
setNickName(java.lang.String name)
Set |
void |
setPostalCode(java.lang.String postalCode)
sets |
void |
setState(java.lang.String state)
sets |
void |
setStreetAddress(java.lang.String address)
sets |
void |
setWebAddress(java.lang.String address)
set |
Method Detail |
---|
boolean addPhoneNumber(PhoneNumber number)
number
- the number to add
java.lang.Object clone()
PhoneNumber createPhoneNumber(PhoneNumber.Type type, java.lang.String number) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- in case the number is null or the empty stringjava.lang.String getCity()
java.lang.String getCountry()
java.lang.String getEmail()
java.lang.String getFullName()
java.lang.String getNickName()
List<PhoneNumber> getPhoneNumbers()
java.lang.String getPostalCode()
java.lang.String getState()
java.lang.String getStreetAddress()
java.lang.String getWebAddress()
boolean removePhoneNumber(PhoneNumber number)
number
- the number to removevoid setCity(java.lang.String city)
city
- void setCountry(java.lang.String country)
country
- void setEmail(java.lang.String email)
email
- void setFullName(java.lang.String name)
name
- void setNickName(java.lang.String name)
void setPostalCode(java.lang.String postalCode)
postalCode
- void setState(java.lang.String state)
state
- void setStreetAddress(java.lang.String address)
address
- void setWebAddress(java.lang.String address)
address
-
|
Oracle Fusion Middleware Communication Services 11.1.1.1.0 Java API Reference E14785-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |