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