Package org.ametys.odf.person
Class ContactData
java.lang.Object
org.ametys.odf.person.ContactData
Class representing a
ContactData
Information such as address, telephone, fax, email, URL etc. related to a given contact.-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Additional adress property : Extra address space.static final String
Street property : The actual street addressstatic final String
FAX property.static final String
MAIL property.static final String
PHONE property.static final String
TOWN property.static final String
visit Hours property : Information on when the contact is available.static final String
WebLinkLabel property.static final String
WebLinkUrl property.static final String
Zip code property. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet additional adress informationsSet the adressgetFax()
Get the fax numbergetMail()
Get the email adressgetPhone()
Get the phone numbergetTown()
Get the townSet the visit hoursGet the web link titleGet the weblink urlSet the zip codevoid
setAdditionalAddress
(String additionalAddress) Set additional adress informationsvoid
setAddress
(String address) Get the adressvoid
Set the fax numbervoid
Set the email addressvoid
Set the phone numbervoid
Set the townvoid
setVisitHour
(RichText visitHour) Get the visit hoursvoid
setWebLinkLabel
(String webLinkLabel) Set the weblink titlevoid
setWebLinkUrl
(String webLinkUrl) Set the weblink urlvoid
setZipCode
(String zipCode) Get the zipcode
-
Field Details
-
VISIT_HOUR
visit Hours property : Information on when the contact is available.- See Also:
-
ADDRESS
Street property : The actual street address- See Also:
-
ADDITIONAL_ADDRESS
Additional adress property : Extra address space. Any non-street components of the address e.g., suite number, etc- See Also:
-
ZIP_CODE
Zip code property.- See Also:
-
TOWN
TOWN property.- See Also:
-
PHONE
PHONE property.- See Also:
-
FAX
FAX property.- See Also:
-
MAIL
MAIL property.- See Also:
-
WEB_LINK_LABEL
WebLinkLabel property.- See Also:
-
WEB_LINK_URL
WebLinkUrl property.- See Also:
-
-
Constructor Details
-
ContactData
public ContactData()Default constructor
-
-
Method Details
-
getVisitHour
Set the visit hours- Returns:
- the visitHour
-
setVisitHour
Get the visit hours- Parameters:
visitHour
- the visitHour to set
-
getAddress
Set the adress- Returns:
- the address
-
setAddress
Get the adress- Parameters:
address
- the address to set
-
setAdditionalAddress
Set additional adress informations- Parameters:
additionalAddress
- the additionalAddress to set
-
getAdditionalAddress
Get additional adress informations- Returns:
- the additionalAddress
-
getZipCode
Set the zip code- Returns:
- the zipCode
-
setZipCode
Get the zipcode- Parameters:
zipCode
- the zipCode to set
-
getTown
Get the town- Returns:
- the town
-
setTown
Set the town- Parameters:
town
- the town to set
-
getPhone
Get the phone number- Returns:
- the phone
-
setPhone
Set the phone number- Parameters:
phone
- the phone to set
-
getFax
Get the fax number- Returns:
- the fax
-
setFax
Set the fax number- Parameters:
fax
- the fax to set
-
getMail
Get the email adress- Returns:
- the mail
-
setMail
Set the email address- Parameters:
mail
- the mail to set
-
getWebLinkLabel
Get the web link title- Returns:
- the webLinkLabel
-
setWebLinkLabel
Set the weblink title- Parameters:
webLinkLabel
- the webLinkLabel to set
-
getWebLinkUrl
Get the weblink url- Returns:
- the webLinkUrl
-
setWebLinkUrl
Set the weblink url- Parameters:
webLinkUrl
- the webLinkUrl to set
-