Class AddressData

java.lang.Object
ch.tocco.nice2.optional.address.api.AddressData

public class AddressData extends Object
The class helps to gather data to output an address.
  • Constructor Details

    • AddressData

      public AddressData()
  • Method Details

    • getFirstname

      @Nullable public @Nullable String getFirstname()
    • setFirstname

      public void setFirstname(String firstname)
    • getLastname

      @Nullable public @Nullable String getLastname()
    • setLastname

      public void setLastname(String lastname)
    • getOtherTitle

      @Nullable public @Nullable String getOtherTitle()
    • setOtherTitle

      public void setOtherTitle(String otherTitle)
      Set an other title. This setting is higher in priority than a possibly defined academic title.
    • getAcademicTitle

      @Nullable public @Nullable String getAcademicTitle()
    • setAcademicTitle

      public void setAcademicTitle(String academicTitle)
      Set an academic title (usually the label from a Academic_title entity). The academic title is lower in priority than otherTitle.
    • getTitle

      public String getTitle()
    • getAddress

      @Nullable public @Nullable String getAddress()
    • setAddress

      public void setAddress(String address)
      Set an address, this property usually contains a street and house number.
    • getAddressAddition

      @Nullable public @Nullable String getAddressAddition()
    • setAddressAddition

      public void setAddressAddition(String addressAddition)
      Set an address addition, this property possibly contains a remark about the address (such as "oben", "Wohnung 5", etc)
    • getPostBox

      @Nullable public @Nullable String getPostBox()
    • setPostBox

      public void setPostBox(String postBox)
      Set a postbox aka Postfach
    • getCompany

      @Nullable public @Nullable String getCompany()
    • setCompany

      public void setCompany(String company)
    • getCompanyAddition

      @Nullable public @Nullable String getCompanyAddition()
    • setCompanyAddition

      public void setCompanyAddition(String companyAddition)
    • getDepartment

      @Nullable public @Nullable String getDepartment()
    • setDepartment

      public void setDepartment(String department)
    • getZip

      @Nullable public @Nullable String getZip()
    • setZip

      public void setZip(String zip)
    • getCountry

      @Nullable public @Nullable String getCountry()
    • setCountry

      public void setCountry(String country)
      Set a country, this should contain the international label of the country (e.g. "SWITZERLAND" for Switzerland) as available in the Country entity.
    • getCity

      @Nullable public @Nullable String getCity()
    • setCity

      public void setCity(String city)
    • getGender

      @Nullable public @Nullable String getGender()
    • setGender

      public void setGender(String gender)
      Set gender, this should be the unique_id from a Gender entity.
    • getSalutation

      public String getSalutation()
    • setSalutation

      public void setSalutation(String salutation)
    • setBillingAddressAdditionUser

      public void setBillingAddressAdditionUser(String billingAddressAdditionUser)
    • getAddress_salutation

      public String getAddress_salutation()
    • setAddress_salutation

      public void setAddress_salutation(String address_salutation)
    • getBillingAddressAdditionUser

      @Nullable public @Nullable String getBillingAddressAdditionUser()
    • setBillingAddressAdditionOther

      public void setBillingAddressAdditionOther(String billingAddressAdditionOther)
    • getBillingAddressAdditionOther

      @Nullable public @Nullable String getBillingAddressAdditionOther()
    • getAddressAppendix

      @Nullable public @Nullable String getAddressAppendix()
    • setAddressAppendix

      public void setAddressAppendix(String addressAppendix)
    • getUserEntity

      public Entity getUserEntity()
    • setUserEntity

      public void setUserEntity(Entity userEntity)
    • getAddressEntity

      public Entity getAddressEntity()
    • setAddressEntity

      public void setAddressEntity(Entity addressEntity)
    • getAddressUserEntity

      public Entity getAddressUserEntity()
    • setAddressUserEntity

      public void setAddressUserEntity(Entity addressUserEntity)
    • setSender

      public void setSender(Entity sender)
    • getSender

      @Nullable public @Nullable Entity getSender()
    • setRecipient

      public void setRecipient(Entity recipient)
    • getRecipient

      @Nullable public @Nullable Entity getRecipient()
    • getCountryEntity

      public Entity getCountryEntity()
    • setCountryEntity

      public void setCountryEntity(Entity countryEntity)
    • getSalutationEntity

      @Nullable public @Nullable Entity getSalutationEntity()
    • setSalutationEntity

      public void setSalutationEntity(Entity salutationEntity)
    • setUserOutput

      public void setUserOutput(List<String> userOutput)
    • getUserOutput

      @Nullable public @Nullable List<String> getUserOutput()
    • setAddressOutput

      public void setAddressOutput(List<String> addressOutput)
    • getAddressOutput

      @Nullable public @Nullable List<String> getAddressOutput()
    • getParameterMap

      public Map<String,Object> getParameterMap()
    • apply

      public void apply(AddressData data)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object