Class PostalAddressType

  • All Implemented Interfaces:
    com.helger.commons.lang.IExplicitlyCloneable, Serializable, Cloneable

    @CodingStyleguideUnaware
    public class PostalAddressType
    extends ExtensibleObjectType
    Represents a postal address in ebRIM.

    Java class for PostalAddressType complex type.

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="PostalAddressType">
       <complexContent>
         <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ExtensibleObjectType">
           <attribute name="city" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ShortText" />
           <attribute name="country" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ShortText" />
           <attribute name="postalCode" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ShortText" />
           <attribute name="stateOrProvince" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ShortText" />
           <attribute name="street" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ShortText" />
           <attribute name="streetNumber" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}String32" />
           <attribute name="type" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}objectReferenceType" />
         </extension>
       </complexContent>
     </complexType>
     

    This class was annotated by ph-jaxb-plugin -Xph-annotate

    This class contains methods created by ph-jaxb-plugin -Xph-equalshashcode

    This class contains methods created by ph-jaxb-plugin -Xph-tostring

    This class contains methods created by ph-jaxb-plugin -Xph-cloneable2

    This class contains methods created by ph-jaxb-plugin -Xph-value-extender

    See Also:
    Serialized Form
    • Constructor Detail

      • PostalAddressType

        public PostalAddressType()
        Default constructor
        Note: automatically created by ph-jaxb-plugin -Xph-value-extender
    • Method Detail

      • getCity

        @Nullable
        public String getCity()
        Gets the value of the city property.
        Returns:
        possible object is String
      • setCity

        public void setCity​(@Nullable
                            String value)
        Sets the value of the city property.
        Parameters:
        value - allowed object is String
      • getCountry

        @Nullable
        public String getCountry()
        Gets the value of the country property.
        Returns:
        possible object is String
      • setCountry

        public void setCountry​(@Nullable
                               String value)
        Sets the value of the country property.
        Parameters:
        value - allowed object is String
      • getPostalCode

        @Nullable
        public String getPostalCode()
        Gets the value of the postalCode property.
        Returns:
        possible object is String
      • setPostalCode

        public void setPostalCode​(@Nullable
                                  String value)
        Sets the value of the postalCode property.
        Parameters:
        value - allowed object is String
      • getStateOrProvince

        @Nullable
        public String getStateOrProvince()
        Gets the value of the stateOrProvince property.
        Returns:
        possible object is String
      • setStateOrProvince

        public void setStateOrProvince​(@Nullable
                                       String value)
        Sets the value of the stateOrProvince property.
        Parameters:
        value - allowed object is String
      • getStreet

        @Nullable
        public String getStreet()
        Gets the value of the street property.
        Returns:
        possible object is String
      • setStreet

        public void setStreet​(@Nullable
                              String value)
        Sets the value of the street property.
        Parameters:
        value - allowed object is String
      • getStreetNumber

        @Nullable
        public String getStreetNumber()
        Gets the value of the streetNumber property.
        Returns:
        possible object is String
      • setStreetNumber

        public void setStreetNumber​(@Nullable
                                    String value)
        Sets the value of the streetNumber property.
        Parameters:
        value - allowed object is String
      • getType

        @Nullable
        public String getType()
        Gets the value of the type property.
        Returns:
        possible object is String
      • setType

        public void setType​(@Nullable
                            String value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is String
      • cloneTo

        public void cloneTo​(@Nonnull
                            PostalAddressType ret)
        This method clones all values from this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb-plugin -Xph-cloneable2
        Parameters:
        ret - The target object to clone to. May not be null.
      • clone

        @Nonnull
        @ReturnsMutableCopy
        public PostalAddressType clone()
        Created by ph-jaxb-plugin -Xph-cloneable2
        Specified by:
        clone in interface com.helger.commons.lang.IExplicitlyCloneable
        Specified by:
        clone in class ExtensibleObjectType
        Returns:
        The cloned object. Never null.