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
FieldsModifier and TypeFieldDescriptionstatic final StringAdditional adress property : Extra address space.static final StringStreet property : The actual street addressstatic final StringFAX property.static final StringMAIL property.static final StringPHONE property.static final StringTOWN property.static final Stringvisit Hours property : Information on when the contact is available.static final StringWebLinkLabel property.static final StringWebLinkUrl property.static final StringZip code property. -
Constructor Summary
Constructors -
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 codevoidsetAdditionalAddress(String additionalAddress) Set additional adress informationsvoidsetAddress(String address) Get the adressvoidSet the fax numbervoidSet the email addressvoidSet the phone numbervoidSet the townvoidsetVisitHour(RichText visitHour) Get the visit hoursvoidsetWebLinkLabel(String webLinkLabel) Set the weblink titlevoidsetWebLinkUrl(String webLinkUrl) Set the weblink urlvoidsetZipCode(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
-