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