Class AddressData
java.lang.Object
ch.tocco.nice2.optional.address.api.AddressData
The class helps to gather data to output an address.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(AddressData data) boolean@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable StringgetCity()@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable Entity@Nullable Entity@Nullable EntitygetTitle()@Nullable StringgetZip()inthashCode()voidsetAcademicTitle(String academicTitle) Set an academic title (usually the label from a Academic_title entity).voidsetAddress(String address) Set an address, this property usually contains a street and house number.voidsetAddress_salutation(String address_salutation) voidsetAddressAddition(String addressAddition) Set an address addition, this property possibly contains a remark about the address (such as "oben", "Wohnung 5", etc)voidsetAddressAppendix(String addressAppendix) voidsetAddressEntity(Entity addressEntity) voidsetAddressOutput(List<String> addressOutput) voidsetAddressUserEntity(Entity addressUserEntity) voidsetBillingAddressAdditionOther(String billingAddressAdditionOther) voidsetBillingAddressAdditionUser(String billingAddressAdditionUser) voidvoidsetCompany(String company) voidsetCompanyAddition(String companyAddition) voidsetCountry(String country) Set a country, this should contain the international label of the country (e.g.voidsetCountryEntity(Entity countryEntity) voidsetDepartment(String department) voidsetFirstname(String firstname) voidSet gender, this should be the unique_id from a Gender entity.voidsetLastname(String lastname) voidsetOtherTitle(String otherTitle) Set an other title.voidsetPostBox(String postBox) Set a postbox aka PostfachvoidsetRecipient(Entity recipient) voidsetSalutation(String salutation) voidsetSalutationEntity(Entity salutationEntity) voidvoidsetUserEntity(Entity userEntity) voidsetUserOutput(List<String> userOutput) voidtoString()
-
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
-