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