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