Package org.ametys.odf.person
Class ContactData
- java.lang.Object
-
- org.ametys.odf.person.ContactData
-
public class ContactData extends Object
Class representing aContactData
Information such as address, telephone, fax, email, URL etc. related to a given contact.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADDITIONAL_ADDRESS
Additional adress property : Extra address space.static String
ADDRESS
Street property : The actual street addressstatic String
FAX
FAX property.static String
MAIL
MAIL property.static String
PHONE
PHONE property.static String
TOWN
TOWN property.static String
VISIT_HOUR
visit Hours property : Information on when the contact is available.static String
WEB_LINK_LABEL
WebLinkLabel property.static String
WEB_LINK_URL
WebLinkUrl property.static String
ZIP_CODE
Zip code property.
-
Constructor Summary
Constructors Constructor Description ContactData()
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAdditionalAddress()
Get additional adress informationsString
getAddress()
Set the adressString
getFax()
Get the fax numberString
getMail()
Get the email adressString
getPhone()
Get the phone numberString
getTown()
Get the townRichText
getVisitHour()
Set the visit hoursString
getWebLinkLabel()
Get the web link titleString
getWebLinkUrl()
Get the weblink urlString
getZipCode()
Set the zip codevoid
setAdditionalAddress(String additionalAddress)
Set additional adress informationsvoid
setAddress(String address)
Get the adressvoid
setFax(String fax)
Set the fax numbervoid
setMail(String mail)
Set the email addressvoid
setPhone(String phone)
Set the phone numbervoid
setTown(String town)
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 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
-
-
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
-
-