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