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