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