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