public class ReceiveModel extends ReceiveActionType
Java class for SoapReceiveActionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SoapReceiveActionType">
<complexContent>
<extension base="{http://www.citrusframework.org/schema/testcase}ReceiveActionType">
<sequence>
<element name="attachment" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<extension base="{http://www.citrusframework.org/schema/ws/testcase}SoapAttachmentType">
<attribute name="validator" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="soap-action" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="content-type" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="accept" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ReceiveModel.Attachment
Java class for anonymous complex type.
|
ReceiveModel.Extract, ReceiveModel.Header, ReceiveModel.Message, ReceiveModel.Selector| Modifier and Type | Field and Description |
|---|---|
protected String |
accept |
protected List<ReceiveModel.Attachment> |
attachments |
protected String |
contentType |
protected String |
soapAction |
actor, description, endpoint, extract, header, message, selector, timeout| Constructor and Description |
|---|
ReceiveModel() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccept()
Gets the value of the accept property.
|
List<ReceiveModel.Attachment> |
getAttachments()
Gets the value of the attachments property.
|
String |
getContentType()
Gets the value of the contentType property.
|
String |
getSoapAction()
Gets the value of the soapAction property.
|
void |
setAccept(String value)
Sets the value of the accept property.
|
void |
setContentType(String value)
Sets the value of the contentType property.
|
void |
setSoapAction(String value)
Sets the value of the soapAction property.
|
getActor, getDescription, getEndpoint, getExtract, getHeader, getMessage, getSelector, getTimeout, setActor, setDescription, setEndpoint, setExtract, setHeader, setMessage, setSelector, setTimeoutprotected List<ReceiveModel.Attachment> attachments
protected String soapAction
protected String contentType
protected String accept
public List<ReceiveModel.Attachment> getAttachments()
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 attachments property.
For example, to add a new item, do as follows:
getAttachments().add(newItem);
Objects of the following type(s) are allowed in the list
ReceiveModel.Attachment
public String getSoapAction()
Stringpublic void setSoapAction(String value)
value - allowed object is
Stringpublic String getContentType()
Stringpublic void setContentType(String value)
value - allowed object is
Stringpublic String getAccept()
StringCopyright © 2008–2019 ConSol Software GmbH. All rights reserved.