public class AccessRightsInProduct_RelStructure extends StrictContainmentAggregationStructure
Java class for accessRightsInProduct_RelStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="accessRightsInProduct_RelStructure">
<complexContent>
<extension base="{http://www.netex.org.uk/netex}strictContainmentAggregationStructure">
<choice maxOccurs="unbounded">
<element ref="{http://www.netex.org.uk/netex}AccessRightInProductRef"/>
<element ref="{http://www.netex.org.uk/netex}AccessRightInProduct"/>
</choice>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
accessRightInProductRefOrAccessRightInProduct |
id| Constructor and Description |
|---|
AccessRightsInProduct_RelStructure() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAccessRightInProductRefOrAccessRightInProduct()
Gets the value of the accessRightInProductRefOrAccessRightInProduct property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
AccessRightsInProduct_RelStructure |
withAccessRightInProductRefOrAccessRightInProduct(Collection<Object> values) |
AccessRightsInProduct_RelStructure |
withAccessRightInProductRefOrAccessRightInProduct(Object... values) |
AccessRightsInProduct_RelStructure |
withId(String value) |
getId, setIdpublic List<Object> getAccessRightInProductRefOrAccessRightInProduct()
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 accessRightInProductRefOrAccessRightInProduct property.
For example, to add a new item, do as follows:
getAccessRightInProductRefOrAccessRightInProduct().add(newItem);
Objects of the following type(s) are allowed in the list
AccessRightInProductRefStructure
AccessRightInProduct_VersionedChildStructure
public AccessRightsInProduct_RelStructure withAccessRightInProductRefOrAccessRightInProduct(Object... values)
public AccessRightsInProduct_RelStructure withAccessRightInProductRefOrAccessRightInProduct(Collection<Object> values)
public AccessRightsInProduct_RelStructure withId(String value)
withId in class StrictContainmentAggregationStructurepublic String toString()
toString in class StrictContainmentAggregationStructureCopyright © 2018 Entur AS. All rights reserved.