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