public class SalesPackageElements_RelStructure extends ContainmentAggregationStructure
Java class for salesPackageElements_RelStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="salesPackageElements_RelStructure">
<complexContent>
<extension base="{http://www.netex.org.uk/netex}containmentAggregationStructure">
<choice maxOccurs="unbounded">
<element ref="{http://www.netex.org.uk/netex}SalesPackageElementRef"/>
<element ref="{http://www.netex.org.uk/netex}SalesPackageElement"/>
</choice>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
salesPackageElementRefOrSalesPackageElement |
modificationSetid| Constructor and Description |
|---|
SalesPackageElements_RelStructure() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getSalesPackageElementRefOrSalesPackageElement()
Gets the value of the salesPackageElementRefOrSalesPackageElement property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
SalesPackageElements_RelStructure |
withId(String value) |
SalesPackageElements_RelStructure |
withModificationSet(ModificationSetEnumeration value) |
SalesPackageElements_RelStructure |
withSalesPackageElementRefOrSalesPackageElement(Collection<Object> values) |
SalesPackageElements_RelStructure |
withSalesPackageElementRefOrSalesPackageElement(Object... values) |
getModificationSet, setModificationSetgetId, setIdpublic List<Object> getSalesPackageElementRefOrSalesPackageElement()
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 salesPackageElementRefOrSalesPackageElement property.
For example, to add a new item, do as follows:
getSalesPackageElementRefOrSalesPackageElement().add(newItem);
Objects of the following type(s) are allowed in the list
SalesPackageElementRefStructure
SalesPackageElement
public SalesPackageElements_RelStructure withSalesPackageElementRefOrSalesPackageElement(Object... values)
public SalesPackageElements_RelStructure withSalesPackageElementRefOrSalesPackageElement(Collection<Object> values)
public SalesPackageElements_RelStructure withModificationSet(ModificationSetEnumeration value)
withModificationSet in class ContainmentAggregationStructurepublic SalesPackageElements_RelStructure withId(String value)
withId in class ContainmentAggregationStructurepublic String toString()
toString in class ContainmentAggregationStructureCopyright © 2018 Entur AS. All rights reserved.