public class Accommodations_RelStructure extends ContainmentAggregationStructure
Java class for accommodations_RelStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="accommodations_RelStructure">
<complexContent>
<extension base="{http://www.netex.org.uk/netex}containmentAggregationStructure">
<choice maxOccurs="unbounded">
<element ref="{http://www.netex.org.uk/netex}AccommodationRef"/>
<element ref="{http://www.netex.org.uk/netex}Accommodation"/>
</choice>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
accommodationRefOrAccommodation |
modificationSetid| Constructor and Description |
|---|
Accommodations_RelStructure() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAccommodationRefOrAccommodation()
Gets the value of the accommodationRefOrAccommodation property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
Accommodations_RelStructure |
withAccommodationRefOrAccommodation(Collection<Object> values) |
Accommodations_RelStructure |
withAccommodationRefOrAccommodation(Object... values) |
Accommodations_RelStructure |
withId(String value) |
Accommodations_RelStructure |
withModificationSet(ModificationSetEnumeration value) |
getModificationSet, setModificationSetgetId, setIdpublic List<Object> getAccommodationRefOrAccommodation()
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 accommodationRefOrAccommodation property.
For example, to add a new item, do as follows:
getAccommodationRefOrAccommodation().add(newItem);
Objects of the following type(s) are allowed in the list
AccommodationRefStructure
Accommodation
public Accommodations_RelStructure withAccommodationRefOrAccommodation(Object... values)
public Accommodations_RelStructure withAccommodationRefOrAccommodation(Collection<Object> values)
public Accommodations_RelStructure withModificationSet(ModificationSetEnumeration value)
withModificationSet in class ContainmentAggregationStructurepublic Accommodations_RelStructure withId(String value)
withId in class ContainmentAggregationStructurepublic String toString()
toString in class ContainmentAggregationStructureCopyright © 2018 Entur AS. All rights reserved.