Interface Address

All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
All Known Subinterfaces:
Address.AddressBuilder
All Known Implementing Classes:
Address.AddressBuilderImpl, Address.AddressImpl

@RosettaDataType(value="Address", builder=AddressBuilderImpl.class, version="5.30.0") @RuneDataType(value="Address", model="cdm", builder=AddressBuilderImpl.class, version="5.30.0") public interface Address extends com.rosetta.model.lib.RosettaModelObject
A class to specify a post or street address.
Version:
5.30.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Builder Interface
    static class 
    Builder Implementation of Address
    static class 
    Immutable Implementation of Address
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final AddressMeta
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Build Methods
     
    The city component of the postal address.
    The ISO 3166 standard code for the country within which the postal address is located.
    The code, required for computerized mail sorting systems, that is allocated to a physical address by a national postal authority.
    A country subdivision used in postal addresses in some countries.
    The set of street and building number information that identifies a postal address within a city.
    default Class<? extends Address>
     
    default com.rosetta.model.lib.meta.RosettaMetaData<? extends Address>
    Utility Methods
    default void
    process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
     
     

    Methods inherited from interface com.rosetta.model.lib.RosettaModelObject

    processRosetta, processRosetta
  • Field Details

  • Method Details

    • getStreet

      List<String> getStreet()
      The set of street and building number information that identifies a postal address within a city.
    • getCity

      String getCity()
      The city component of the postal address.
    • getState

      String getState()
      A country subdivision used in postal addresses in some countries. For example, US states, Canadian provinces, Swiss cantons, ...
    • getCountry

      FieldWithMetaString getCountry()
      The ISO 3166 standard code for the country within which the postal address is located.
    • getPostalCode

      String getPostalCode()
      The code, required for computerized mail sorting systems, that is allocated to a physical address by a national postal authority.
    • build

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

      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • builder

      static Address.AddressBuilder builder()
    • metaData

      default com.rosetta.model.lib.meta.RosettaMetaData<? extends Address> metaData()
      Utility Methods
      Specified by:
      metaData in interface com.rosetta.model.lib.RosettaModelObject
    • getType

      @RuneAttribute("@type") default Class<? extends Address> getType()
      Specified by:
      getType in interface com.rosetta.model.lib.RosettaModelObject
    • process

      default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
      Specified by:
      process in interface com.rosetta.model.lib.RosettaModelObject