Class PostalAddressImpl

  • All Implemented Interfaces:
    Serializable, javax.xml.registry.infomodel.ExtensibleObject, javax.xml.registry.infomodel.PostalAddress

    public class PostalAddressImpl
    extends ExtensibleObjectImpl
    implements javax.xml.registry.infomodel.PostalAddress, Serializable
    Author:
    kwalsh, Bobby Bissett
    See Also:
    Serialized Form
    • Constructor Detail

      • PostalAddressImpl

        public PostalAddressImpl()
        Creates new PostalAddressImpl. Sets default empty strings.
    • Method Detail

      • getStreet

        public String getStreet()
                         throws javax.xml.registry.JAXRException
        The street address
        Specified by:
        getStreet in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException
      • setStreet

        public void setStreet​(String street)
                       throws javax.xml.registry.JAXRException
        Sets the street address
        Specified by:
        setStreet in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException
      • getStreetNumber

        public String getStreetNumber()
                               throws javax.xml.registry.JAXRException
        The street number
        Specified by:
        getStreetNumber in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException
      • setStreetNumber

        public void setStreetNumber​(String streetNumber)
                             throws javax.xml.registry.JAXRException
        Sets the street number
        Specified by:
        setStreetNumber in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException
      • getCity

        public String getCity()
                       throws javax.xml.registry.JAXRException
        The city
        Specified by:
        getCity in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException
      • setCity

        public void setCity​(String city)
                     throws javax.xml.registry.JAXRException
        Sets the city
        Specified by:
        setCity in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException
      • getStateOrProvince

        public String getStateOrProvince()
                                  throws javax.xml.registry.JAXRException
        The state or province
        Specified by:
        getStateOrProvince in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException
      • setStateOrProvince

        public void setStateOrProvince​(String stateOrProvince)
                                throws javax.xml.registry.JAXRException
        Sets the state or province
        Specified by:
        setStateOrProvince in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException
      • getPostalCode

        public String getPostalCode()
                             throws javax.xml.registry.JAXRException
        The postal or zip code
        Specified by:
        getPostalCode in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException
      • setPostalCode

        public void setPostalCode​(String postalCode)
                           throws javax.xml.registry.JAXRException
        Sets the postal or zip code
        Specified by:
        setPostalCode in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException
      • getCountry

        public String getCountry()
                          throws javax.xml.registry.JAXRException
        The country
        Specified by:
        getCountry in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException
      • setCountry

        public void setCountry​(String country)
                        throws javax.xml.registry.JAXRException
        Sets the country
        Specified by:
        setCountry in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException
      • getType

        public String getType()
                       throws javax.xml.registry.JAXRException
        The type of address (e.g. "headquarters" etc.) as a String
        Specified by:
        getType in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException
      • setType

        public void setType​(String type)
                     throws javax.xml.registry.JAXRException
        Sets the type of address (e.g. "headquarters" etc.) as a Concept
        Specified by:
        setType in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException
      • getPostalScheme

        public javax.xml.registry.infomodel.ClassificationScheme getPostalScheme()
                                                                          throws javax.xml.registry.JAXRException
        Get a user-defined postal scheme for codifying the attributes of PostalAddress If none is defined for this object, then must rerturn the default value returned by RegistryService#getDefaultPostalScheme()
        Specified by:
        getPostalScheme in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException
      • setPostalScheme

        public void setPostalScheme​(javax.xml.registry.infomodel.ClassificationScheme scheme)
                             throws javax.xml.registry.JAXRException
        Set a user-defined postal scheme for codifying the attributes of PostalAddress
        Specified by:
        setPostalScheme in interface javax.xml.registry.infomodel.PostalAddress
        Throws:
        javax.xml.registry.JAXRException