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