public class JourneyPatternRunTimes_RelStructure extends StrictContainmentAggregationStructure
Java class for journeyPatternRunTimes_RelStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="journeyPatternRunTimes_RelStructure">
<complexContent>
<extension base="{http://www.netex.org.uk/netex}strictContainmentAggregationStructure">
<choice maxOccurs="unbounded">
<element ref="{http://www.netex.org.uk/netex}JourneyPatternRunTimeRef"/>
<element ref="{http://www.netex.org.uk/netex}JourneyPatternRunTime"/>
</choice>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
journeyPatternRunTimeRefOrJourneyPatternRunTime |
id| Constructor and Description |
|---|
JourneyPatternRunTimes_RelStructure() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getJourneyPatternRunTimeRefOrJourneyPatternRunTime()
Gets the value of the journeyPatternRunTimeRefOrJourneyPatternRunTime property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
JourneyPatternRunTimes_RelStructure |
withId(String value) |
JourneyPatternRunTimes_RelStructure |
withJourneyPatternRunTimeRefOrJourneyPatternRunTime(Collection<Object> values) |
JourneyPatternRunTimes_RelStructure |
withJourneyPatternRunTimeRefOrJourneyPatternRunTime(Object... values) |
getId, setIdpublic List<Object> getJourneyPatternRunTimeRefOrJourneyPatternRunTime()
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 journeyPatternRunTimeRefOrJourneyPatternRunTime property.
For example, to add a new item, do as follows:
getJourneyPatternRunTimeRefOrJourneyPatternRunTime().add(newItem);
Objects of the following type(s) are allowed in the list
JourneyPatternRunTimeRefStructure
JourneyPatternRunTime
public JourneyPatternRunTimes_RelStructure withJourneyPatternRunTimeRefOrJourneyPatternRunTime(Object... values)
public JourneyPatternRunTimes_RelStructure withJourneyPatternRunTimeRefOrJourneyPatternRunTime(Collection<Object> values)
public JourneyPatternRunTimes_RelStructure withId(String value)
withId in class StrictContainmentAggregationStructurepublic String toString()
toString in class StrictContainmentAggregationStructureCopyright © 2018 Entur AS. All rights reserved.