public abstract class AbstractDiscoveryRequestStructure extends RequestStructure
Java class for AbstractDiscoveryRequestStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractDiscoveryRequestStructure">
<complexContent>
<extension base="{http://www.siri.org.uk/siri}RequestStructure">
<sequence>
<group ref="{http://www.siri.org.uk/siri}RequestorEndpointGroup"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<JAXBElement<?>> |
rest |
address, delegatorAddress, delegatorRef, messageIdentifier, requestorRefaccountId, accountKeyrequestTimestamp| Constructor and Description |
|---|
AbstractDiscoveryRequestStructure() |
| Modifier and Type | Method and Description |
|---|---|
List<JAXBElement<?>> |
getRest()
Gets the rest of the content model.
|
String |
toString()
Generates a String representation of the contents of this type.
|
AbstractDiscoveryRequestStructure |
withAccountId(String value) |
AbstractDiscoveryRequestStructure |
withAccountKey(String value) |
AbstractDiscoveryRequestStructure |
withAddress(String value) |
AbstractDiscoveryRequestStructure |
withDelegatorAddress(String value) |
AbstractDiscoveryRequestStructure |
withDelegatorRef(ParticipantRefStructure value) |
AbstractDiscoveryRequestStructure |
withMessageIdentifier(MessageQualifierStructure value) |
AbstractDiscoveryRequestStructure |
withRequestorRef(ParticipantRefStructure value) |
AbstractDiscoveryRequestStructure |
withRequestTimestamp(LocalDateTime value) |
AbstractDiscoveryRequestStructure |
withRest(Collection<JAXBElement<?>> values) |
AbstractDiscoveryRequestStructure |
withRest(JAXBElement<?>... values) |
getAddress, getDelegatorAddress, getDelegatorRef, getMessageIdentifier, getRequestorRef, setAddress, setDelegatorAddress, setDelegatorRef, setMessageIdentifier, setRequestorRefgetAccountId, getAccountKey, setAccountId, setAccountKeygetRequestTimestamp, setRequestTimestampprotected List<JAXBElement<?>> rest
public List<JAXBElement<?>> getRest()
You are getting this "catch-all" property because of the following reason: The field name "Address" is used by two different parts of a schema. See: line 44 of file:/home/cristoffer/rutebanken/netex-java-model/target/checkout/src/main/resources/xsd/1.08/siri/siri_requests-v2.0.xsd line 44 of file:/home/cristoffer/rutebanken/netex-java-model/target/checkout/src/main/resources/xsd/1.08/siri/siri_requests-v2.0.xsd
To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the rest property.
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 rest property.
For example, to add a new item, do as follows:
getRest().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<String>
JAXBElement<MessageQualifierStructure>
JAXBElement<ParticipantRefStructure>
public AbstractDiscoveryRequestStructure withRest(JAXBElement<?>... values)
public AbstractDiscoveryRequestStructure withRest(Collection<JAXBElement<?>> values)
public AbstractDiscoveryRequestStructure withAddress(String value)
withAddress in class RequestStructurepublic AbstractDiscoveryRequestStructure withRequestorRef(ParticipantRefStructure value)
withRequestorRef in class RequestStructurepublic AbstractDiscoveryRequestStructure withMessageIdentifier(MessageQualifierStructure value)
withMessageIdentifier in class RequestStructurepublic AbstractDiscoveryRequestStructure withDelegatorAddress(String value)
withDelegatorAddress in class RequestStructurepublic AbstractDiscoveryRequestStructure withDelegatorRef(ParticipantRefStructure value)
withDelegatorRef in class RequestStructurepublic AbstractDiscoveryRequestStructure withAccountId(String value)
withAccountId in class RequestStructurepublic AbstractDiscoveryRequestStructure withAccountKey(String value)
withAccountKey in class RequestStructurepublic AbstractDiscoveryRequestStructure withRequestTimestamp(LocalDateTime value)
withRequestTimestamp in class RequestStructurepublic String toString()
toString in class RequestStructureCopyright © 2018 Entur AS. All rights reserved.