Class AddressT
java.lang.Object
org.bremersee.garmin.gpx.v3.model.ext.AddressT
- All Implemented Interfaces:
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/GpxExtensions/v3}Extensions_t" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected ExtensionsTprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCity()Gets the value of the city property.Gets the value of the country property.Gets the value of the extensions property.Gets the value of the postalCode property.getState()Gets the value of the state property.Gets the value of the streetAddresses property.voidSets the value of the city property.voidsetCountry(String value) Sets the value of the country property.voidsetExtensions(ExtensionsT value) Sets the value of the extensions property.voidsetPostalCode(String value) Sets the value of the postalCode property.voidSets the value of the state property.
-
Field Details
-
streetAddresses
-
city
-
state
-
country
-
postalCode
-
extensions
-
-
Constructor Details
-
AddressT
public AddressT()
-
-
Method Details
-
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
setmethod 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:
getStreetAddressesin interfaceCommonAddressT- Returns:
- The value of the streetAddresses property.
-
getCity
Gets the value of the city property.- Specified by:
getCityin interfaceCommonAddressT- Returns:
- possible object is
String
-
setCity
Sets the value of the city property.- Specified by:
setCityin interfaceCommonAddressT- Parameters:
value- allowed object isString
-
getState
Gets the value of the state property.- Specified by:
getStatein interfaceCommonAddressT- Returns:
- possible object is
String
-
setState
Sets the value of the state property.- Specified by:
setStatein interfaceCommonAddressT- Parameters:
value- allowed object isString
-
getCountry
Gets the value of the country property.- Specified by:
getCountryin interfaceCommonAddressT- Returns:
- possible object is
String
-
setCountry
Sets the value of the country property.- Specified by:
setCountryin interfaceCommonAddressT- Parameters:
value- allowed object isString
-
getPostalCode
Gets the value of the postalCode property.- Specified by:
getPostalCodein interfaceCommonAddressT- Returns:
- possible object is
String
-
setPostalCode
Sets the value of the postalCode property.- Specified by:
setPostalCodein interfaceCommonAddressT- Parameters:
value- allowed object isString
-
getExtensions
Gets the value of the extensions property.- Returns:
- possible object is
ExtensionsT
-
setExtensions
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensionsT
-