Class AddressType


  • public class AddressType
    extends Object

    Java class for AddressType complex type.

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

     <complexType name="AddressType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="street1" type="{http://www.w3.org/2001/XMLSchema}token"/>
             <element name="street2" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
             <element name="city" type="{http://www.w3.org/2001/XMLSchema}token"/>
             <element name="state" type="{http://www.w3.org/2001/XMLSchema}NCName"/>
             <element name="zip" type="{http://www.w3.org/2001/XMLSchema}NCName"/>
           </sequence>
           <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • street1

        protected String street1
      • street2

        protected String street2
      • state

        protected String state
      • id

        protected long id
    • Constructor Detail

      • AddressType

        public AddressType()
        Default no-arg constructor
      • AddressType

        public AddressType​(String street1,
                           String street2,
                           String city,
                           String state,
                           String zip,
                           long id)
        Fully-initialising value constructor
    • Method Detail

      • getStreet1

        public String getStreet1()
        Gets the value of the street1 property.
        Returns:
        possible object is String
      • setStreet1

        public void setStreet1​(String value)
        Sets the value of the street1 property.
        Parameters:
        value - allowed object is String
      • getStreet2

        public String getStreet2()
        Gets the value of the street2 property.
        Returns:
        possible object is String
      • setStreet2

        public void setStreet2​(String value)
        Sets the value of the street2 property.
        Parameters:
        value - allowed object is String
      • getCity

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

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

        public String getState()
        Gets the value of the state property.
        Returns:
        possible object is String
      • setState

        public void setState​(String value)
        Sets the value of the state property.
        Parameters:
        value - allowed object is String
      • getZip

        public String getZip()
        Gets the value of the zip property.
        Returns:
        possible object is String
      • setZip

        public void setZip​(String value)
        Sets the value of the zip property.
        Parameters:
        value - allowed object is String
      • getId

        public long getId()
        Gets the value of the id property.
      • setId

        public void setId​(long value)
        Sets the value of the id property.