public class TypeOfFareProductRefs_RelStructure extends OneToManyRelationshipStructure
Java class for typeOfFareProductRefs_RelStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="typeOfFareProductRefs_RelStructure">
<complexContent>
<extension base="{http://www.netex.org.uk/netex}oneToManyRelationshipStructure">
<sequence>
<element ref="{http://www.netex.org.uk/netex}TypeOfFareProductRef" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<TypeOfFareProductRefStructure> |
typeOfFareProductRef |
modificationSetid| Constructor and Description |
|---|
TypeOfFareProductRefs_RelStructure() |
| Modifier and Type | Method and Description |
|---|---|
List<TypeOfFareProductRefStructure> |
getTypeOfFareProductRef()
Gets the value of the typeOfFareProductRef property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
TypeOfFareProductRefs_RelStructure |
withId(String value) |
TypeOfFareProductRefs_RelStructure |
withModificationSet(ModificationSetEnumeration value) |
TypeOfFareProductRefs_RelStructure |
withTypeOfFareProductRef(Collection<TypeOfFareProductRefStructure> values) |
TypeOfFareProductRefs_RelStructure |
withTypeOfFareProductRef(TypeOfFareProductRefStructure... values) |
getModificationSet, setModificationSetgetId, setIdprotected List<TypeOfFareProductRefStructure> typeOfFareProductRef
public List<TypeOfFareProductRefStructure> getTypeOfFareProductRef()
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 typeOfFareProductRef property.
For example, to add a new item, do as follows:
getTypeOfFareProductRef().add(newItem);
Objects of the following type(s) are allowed in the list
TypeOfFareProductRefStructure
public TypeOfFareProductRefs_RelStructure withTypeOfFareProductRef(TypeOfFareProductRefStructure... values)
public TypeOfFareProductRefs_RelStructure withTypeOfFareProductRef(Collection<TypeOfFareProductRefStructure> values)
public TypeOfFareProductRefs_RelStructure withModificationSet(ModificationSetEnumeration value)
withModificationSet in class OneToManyRelationshipStructurepublic TypeOfFareProductRefs_RelStructure withId(String value)
withId in class OneToManyRelationshipStructurepublic String toString()
toString in class OneToManyRelationshipStructureCopyright © 2018 Entur AS. All rights reserved.