public class Location extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element ref="{http://www.CIP4.org/JDFSchema_2_0}Address" maxOccurs="unbounded" minOccurs="0"/>
</choice>
</sequence>
<attribute name="LocationName" type="{http://www.CIP4.org/JDFSchema_2_0}string" />
<attribute name="LocID" type="{http://www.CIP4.org/JDFSchema_2_0}shortString" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Address> |
addresses |
protected String |
locationName |
protected String |
locID |
| Constructor and Description |
|---|
Location() |
| Modifier and Type | Method and Description |
|---|---|
List<Address> |
getAddresses()
Gets the value of the addresses property.
|
String |
getLocationName()
Gets the value of the locationName property.
|
String |
getLocID()
Gets the value of the locID property.
|
void |
setLocationName(String value)
Sets the value of the locationName property.
|
void |
setLocID(String value)
Sets the value of the locID property.
|
public List<Address> getAddresses()
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 JAXB object.
This is why there is not a set method for the addresses property.
For example, to add a new item, do as follows:
getAddresses().add(newItem);
Objects of the following type(s) are allowed in the list
Address
public String getLocationName()
Stringpublic void setLocationName(String value)
value - allowed object is
Stringpublic String getLocID()
StringCopyright © 2012. All Rights Reserved.