Package org.ametys.odf.person
Class ContactData
- java.lang.Object
-
- org.ametys.odf.person.ContactData
-
public class ContactData extends Object
Class representing aContactDataInformation such as address, telephone, fax, email, URL etc. related to a given contact.
-
-
Field Summary
Fields Modifier and Type Field Description private String_additionalAddressprivate String_addressprivate String_faxprivate String_mailprivate String_phoneprivate String_townprivate RichText_visitHourprivate String_webLinkLabelprivate String_webLinkUrlprivate String_zipCodestatic StringADDITIONAL_ADDRESSAdditional adress property : Extra address space.static StringADDRESSStreet property : The actual street addressstatic StringFAXFAX property.static StringMAILMAIL property.static StringPHONEPHONE property.static StringTOWNTOWN property.static StringVISIT_HOURvisit Hours property : Information on when the contact is available.static StringWEB_LINK_LABELWebLinkLabel property.static StringWEB_LINK_URLWebLinkUrl property.static StringZIP_CODEZip code property.
-
Constructor Summary
Constructors Constructor Description ContactData()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAdditionalAddress()Get additional adress informationsStringgetAddress()Set the adressStringgetFax()Get the fax numberStringgetMail()Get the email adressStringgetPhone()Get the phone numberStringgetTown()Get the townRichTextgetVisitHour()Set the visit hoursStringgetWebLinkLabel()Get the web link titleStringgetWebLinkUrl()Get the weblink urlStringgetZipCode()Set the zip codevoidsetAdditionalAddress(String additionalAddress)Set additional adress informationsvoidsetAddress(String address)Get the adressvoidsetFax(String fax)Set the fax numbervoidsetMail(String mail)Set the email addressvoidsetPhone(String phone)Set the phone numbervoidsetTown(String town)Set 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 Detail
-
VISIT_HOUR
public static final String VISIT_HOUR
visit Hours property : Information on when the contact is available.- See Also:
- Constant Field Values
-
ADDRESS
public static final String ADDRESS
Street property : The actual street address- See Also:
- Constant Field Values
-
ADDITIONAL_ADDRESS
public static final String ADDITIONAL_ADDRESS
Additional adress property : Extra address space. Any non-street components of the address e.g., suite number, etc- See Also:
- Constant Field Values
-
ZIP_CODE
public static final String ZIP_CODE
Zip code property.- See Also:
- Constant Field Values
-
TOWN
public static final String TOWN
TOWN property.- See Also:
- Constant Field Values
-
PHONE
public static final String PHONE
PHONE property.- See Also:
- Constant Field Values
-
FAX
public static final String FAX
FAX property.- See Also:
- Constant Field Values
-
MAIL
public static final String MAIL
MAIL property.- See Also:
- Constant Field Values
-
WEB_LINK_LABEL
public static final String WEB_LINK_LABEL
WebLinkLabel property.- See Also:
- Constant Field Values
-
WEB_LINK_URL
public static final String WEB_LINK_URL
WebLinkUrl property.- See Also:
- Constant Field Values
-
_visitHour
private RichText _visitHour
-
_additionalAddress
private String _additionalAddress
-
_webLinkLabel
private String _webLinkLabel
-
_webLinkUrl
private String _webLinkUrl
-
-
Constructor Detail
-
ContactData
public ContactData()
Default constructor
-
-
Method Detail
-
getVisitHour
public RichText getVisitHour()
Set the visit hours- Returns:
- the visitHour
-
setVisitHour
public void setVisitHour(RichText visitHour)
Get the visit hours- Parameters:
visitHour- the visitHour to set
-
getAddress
public String getAddress()
Set the adress- Returns:
- the address
-
setAddress
public void setAddress(String address)
Get the adress- Parameters:
address- the address to set
-
setAdditionalAddress
public void setAdditionalAddress(String additionalAddress)
Set additional adress informations- Parameters:
additionalAddress- the additionalAddress to set
-
getAdditionalAddress
public String getAdditionalAddress()
Get additional adress informations- Returns:
- the additionalAddress
-
getZipCode
public String getZipCode()
Set the zip code- Returns:
- the zipCode
-
setZipCode
public void setZipCode(String zipCode)
Get the zipcode- Parameters:
zipCode- the zipCode to set
-
setPhone
public void setPhone(String phone)
Set the phone number- Parameters:
phone- the phone to set
-
getWebLinkLabel
public String getWebLinkLabel()
Get the web link title- Returns:
- the webLinkLabel
-
setWebLinkLabel
public void setWebLinkLabel(String webLinkLabel)
Set the weblink title- Parameters:
webLinkLabel- the webLinkLabel to set
-
getWebLinkUrl
public String getWebLinkUrl()
Get the weblink url- Returns:
- the webLinkUrl
-
setWebLinkUrl
public void setWebLinkUrl(String webLinkUrl)
Set the weblink url- Parameters:
webLinkUrl- the webLinkUrl to set
-
-