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