java.lang.Object
org.bremersee.garmin.waypoint.v1.model.ext.AddressT
All Implemented Interfaces:
Serializable, CommonAddressT

public class AddressT extends Object implements Serializable, CommonAddressT

Java class for Address_t complex type.

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


 <complexType name="Address_t">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="StreetAddress" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="2" minOccurs="0"/>
         <element name="City" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="State" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="Country" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="Extensions" type="{http://www.garmin.com/xmlschemas/WaypointExtension/v1}Extensions_t" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • streetAddresses

      protected List<String> streetAddresses
    • city

      protected String city
    • state

      protected String state
    • country

      protected String country
    • postalCode

      protected String postalCode
    • extensions

      protected ExtensionsT extensions
  • Constructor Details

    • AddressT

      public AddressT()
  • Method Details

    • getStreetAddresses

      public List<String> getStreetAddresses()
      Gets the value of the streetAddresses property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the streetAddresses property.

      For example, to add a new item, do as follows:

          getStreetAddresses().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

      Specified by:
      getStreetAddresses in interface CommonAddressT
      Returns:
      The value of the streetAddresses property.
    • getCity

      public String getCity()
      Gets the value of the city property.
      Specified by:
      getCity in interface CommonAddressT
      Returns:
      possible object is String
    • setCity

      public void setCity(String value)
      Sets the value of the city property.
      Specified by:
      setCity in interface CommonAddressT
      Parameters:
      value - allowed object is String
    • getState

      public String getState()
      Gets the value of the state property.
      Specified by:
      getState in interface CommonAddressT
      Returns:
      possible object is String
    • setState

      public void setState(String value)
      Sets the value of the state property.
      Specified by:
      setState in interface CommonAddressT
      Parameters:
      value - allowed object is String
    • getCountry

      public String getCountry()
      Gets the value of the country property.
      Specified by:
      getCountry in interface CommonAddressT
      Returns:
      possible object is String
    • setCountry

      public void setCountry(String value)
      Sets the value of the country property.
      Specified by:
      setCountry in interface CommonAddressT
      Parameters:
      value - allowed object is String
    • getPostalCode

      public String getPostalCode()
      Gets the value of the postalCode property.
      Specified by:
      getPostalCode in interface CommonAddressT
      Returns:
      possible object is String
    • setPostalCode

      public void setPostalCode(String value)
      Sets the value of the postalCode property.
      Specified by:
      setPostalCode in interface CommonAddressT
      Parameters:
      value - allowed object is String
    • getExtensions

      public ExtensionsT getExtensions()
      Gets the value of the extensions property.
      Returns:
      possible object is ExtensionsT
    • setExtensions

      public void setExtensions(ExtensionsT value)
      Sets the value of the extensions property.
      Parameters:
      value - allowed object is ExtensionsT