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