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 Link icon

    • AddressData Link icon

      public AddressData()
  • Method Details Link icon

    • getFirstname Link icon

      @Nullable public @Nullable String getFirstname()
    • setFirstname Link icon

      public void setFirstname(String firstname)
    • getLastname Link icon

      @Nullable public @Nullable String getLastname()
    • setLastname Link icon

      public void setLastname(String lastname)
    • getOtherTitle Link icon

      @Nullable public @Nullable String getOtherTitle()
    • setOtherTitle Link icon

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

      @Nullable public @Nullable String getAcademicTitle()
    • setAcademicTitle Link icon

      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 Link icon

      public String getTitle()
    • getAddress Link icon

      @Nullable public @Nullable String getAddress()
    • setAddress Link icon

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

      @Nullable public @Nullable String getAddressAddition()
    • setAddressAddition Link icon

      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 Link icon

      @Nullable public @Nullable String getPostBox()
    • setPostBox Link icon

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

      @Nullable public @Nullable String getCompany()
    • setCompany Link icon

      public void setCompany(String company)
    • getCompanyAddition Link icon

      @Nullable public @Nullable String getCompanyAddition()
    • setCompanyAddition Link icon

      public void setCompanyAddition(String companyAddition)
    • getDepartment Link icon

      @Nullable public @Nullable String getDepartment()
    • setDepartment Link icon

      public void setDepartment(String department)
    • getZip Link icon

      @Nullable public @Nullable String getZip()
    • setZip Link icon

      public void setZip(String zip)
    • getCountry Link icon

      @Nullable public @Nullable String getCountry()
    • setCountry Link icon

      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 Link icon

      @Nullable public @Nullable String getCity()
    • setCity Link icon

      public void setCity(String city)
    • getGender Link icon

      @Nullable public @Nullable String getGender()
    • setGender Link icon

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

      public String getSalutation()
    • setSalutation Link icon

      public void setSalutation(String salutation)
    • setBillingAddressAdditionUser Link icon

      public void setBillingAddressAdditionUser(String billingAddressAdditionUser)
    • getAddress_salutation Link icon

      public String getAddress_salutation()
    • setAddress_salutation Link icon

      public void setAddress_salutation(String address_salutation)
    • getBillingAddressAdditionUser Link icon

      @Nullable public @Nullable String getBillingAddressAdditionUser()
    • setBillingAddressAdditionOther Link icon

      public void setBillingAddressAdditionOther(String billingAddressAdditionOther)
    • getBillingAddressAdditionOther Link icon

      @Nullable public @Nullable String getBillingAddressAdditionOther()
    • getAddressAppendix Link icon

      @Nullable public @Nullable String getAddressAppendix()
    • setAddressAppendix Link icon

      public void setAddressAppendix(String addressAppendix)
    • getUserEntity Link icon

      public Entity getUserEntity()
    • setUserEntity Link icon

      public void setUserEntity(Entity userEntity)
    • getAddressEntity Link icon

      public Entity getAddressEntity()
    • setAddressEntity Link icon

      public void setAddressEntity(Entity addressEntity)
    • getAddressUserEntity Link icon

      public Entity getAddressUserEntity()
    • setAddressUserEntity Link icon

      public void setAddressUserEntity(Entity addressUserEntity)
    • setSender Link icon

      public void setSender(Entity sender)
    • getSender Link icon

      @Nullable public @Nullable Entity getSender()
    • setRecipient Link icon

      public void setRecipient(Entity recipient)
    • getRecipient Link icon

      @Nullable public @Nullable Entity getRecipient()
    • getCountryEntity Link icon

      public Entity getCountryEntity()
    • setCountryEntity Link icon

      public void setCountryEntity(Entity countryEntity)
    • getSalutationEntity Link icon

      @Nullable public @Nullable Entity getSalutationEntity()
    • setSalutationEntity Link icon

      public void setSalutationEntity(Entity salutationEntity)
    • setUserOutput Link icon

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

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

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

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

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

      public void apply(AddressData data)
    • equals Link icon

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

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

      public String toString()
      Overrides:
      toString in class Object