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