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