Class Address.AddressImpl

java.lang.Object
cdm.base.staticdata.party.Address.AddressImpl
All Implemented Interfaces:
Address, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
Address

public static class Address.AddressImpl extends Object implements Address
Immutable Implementation of Address
  • Constructor Details

  • Method Details

    • getStreet

      @RosettaAttribute(value="street", isRequired=true) @RuneAttribute(value="street", isRequired=true) public List<String> getStreet()
      Description copied from interface: Address
      The set of street and building number information that identifies a postal address within a city.
      Specified by:
      getStreet in interface Address
    • getCity

      @RosettaAttribute("city") @RuneAttribute("city") public String getCity()
      Description copied from interface: Address
      The city component of the postal address.
      Specified by:
      getCity in interface Address
    • getState

      @RosettaAttribute("state") @RuneAttribute("state") public String getState()
      Description copied from interface: Address
      A country subdivision used in postal addresses in some countries. For example, US states, Canadian provinces, Swiss cantons, ...
      Specified by:
      getState in interface Address
    • getCountry

      @RosettaAttribute("country") @RuneAttribute("country") public FieldWithMetaString getCountry()
      Description copied from interface: Address
      The ISO 3166 standard code for the country within which the postal address is located.
      Specified by:
      getCountry in interface Address
    • getPostalCode

      @RosettaAttribute("postalCode") @RuneAttribute("postalCode") public String getPostalCode()
      Description copied from interface: Address
      The code, required for computerized mail sorting systems, that is allocated to a physical address by a national postal authority.
      Specified by:
      getPostalCode in interface Address
    • build

      public Address build()
      Description copied from interface: Address
      Build Methods
      Specified by:
      build in interface Address
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      public Address.AddressBuilder toBuilder()
      Specified by:
      toBuilder in interface Address
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(Address.AddressBuilder builder)
    • 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