Class AddressData
java.lang.Object
ch.tocco.nice2.optional.address.api.AddressData
The class helps to gather data to output an address.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(AddressData data) boolean
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
getCity()
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable Entity
@Nullable Entity
@Nullable Entity
getTitle()
@Nullable String
getZip()
int
hashCode()
void
setAcademicTitle
(String academicTitle) Set an academic title (usually the label from a Academic_title entity).void
setAddress
(String address) Set an address, this property usually contains a street and house number.void
setAddress_salutation
(String address_salutation) void
setAddressAddition
(String addressAddition) Set an address addition, this property possibly contains a remark about the address (such as "oben", "Wohnung 5", etc)void
setAddressAppendix
(String addressAppendix) void
setAddressEntity
(Entity addressEntity) void
setAddressOutput
(List<String> addressOutput) void
setAddressUserEntity
(Entity addressUserEntity) void
setBillingAddressAdditionOther
(String billingAddressAdditionOther) void
setBillingAddressAdditionUser
(String billingAddressAdditionUser) void
void
setCompany
(String company) void
setCompanyAddition
(String companyAddition) void
setCountry
(String country) Set a country, this should contain the international label of the country (e.g.void
setCountryEntity
(Entity countryEntity) void
setDepartment
(String department) void
setFirstname
(String firstname) void
Set gender, this should be the unique_id from a Gender entity.void
setLastname
(String lastname) void
setOtherTitle
(String otherTitle) Set an other title.void
setPostBox
(String postBox) Set a postbox aka Postfachvoid
setRecipient
(Entity recipient) void
setSalutation
(String salutation) void
setSalutationEntity
(Entity salutationEntity) void
void
setUserEntity
(Entity userEntity) void
setUserOutput
(List<String> userOutput) void
toString()
-
Constructor Details
-
AddressData
public AddressData()
-
-
Method Details
-
getFirstname
-
setFirstname
-
getLastname
-
setLastname
-
getOtherTitle
-
setOtherTitle
Set an other title. This setting is higher in priority than a possibly defined academic title. -
getAcademicTitle
-
setAcademicTitle
Set an academic title (usually the label from a Academic_title entity). The academic title is lower in priority than otherTitle. -
getTitle
-
getAddress
-
setAddress
Set an address, this property usually contains a street and house number. -
getAddressAddition
-
setAddressAddition
Set an address addition, this property possibly contains a remark about the address (such as "oben", "Wohnung 5", etc) -
getPostBox
-
setPostBox
Set a postbox aka Postfach -
getCompany
-
setCompany
-
getCompanyAddition
-
setCompanyAddition
-
getDepartment
-
setDepartment
-
getZip
-
setZip
-
getCountry
-
setCountry
Set a country, this should contain the international label of the country (e.g. "SWITZERLAND" for Switzerland) as available in the Country entity. -
getCity
-
setCity
-
getGender
-
setGender
Set gender, this should be the unique_id from a Gender entity. -
getSalutation
-
setSalutation
-
setBillingAddressAdditionUser
-
getAddress_salutation
-
setAddress_salutation
-
getBillingAddressAdditionUser
-
setBillingAddressAdditionOther
-
getBillingAddressAdditionOther
-
getAddressAppendix
-
setAddressAppendix
-
getUserEntity
-
setUserEntity
-
getAddressEntity
-
setAddressEntity
-
getAddressUserEntity
-
setAddressUserEntity
-
setSender
-
getSender
-
setRecipient
-
getRecipient
-
getCountryEntity
-
setCountryEntity
-
getSalutationEntity
-
setSalutationEntity
-
setUserOutput
-
getUserOutput
-
setAddressOutput
-
getAddressOutput
-
getParameterMap
-
apply
-
equals
-
hashCode
public int hashCode() -
toString
-