Class ReceiveModel
java.lang.Object
org.citrusframework.model.testcase.core.ReceiveModel
org.citrusframework.model.testcase.core.ReceiveActionType
org.citrusframework.model.testcase.ws.ReceiveModel
Java-Klasse für SoapReceiveActionType complex type.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava-Klasse für anonymous complex type.Nested classes/interfaces inherited from class org.citrusframework.model.testcase.core.ReceiveModel
ReceiveModel.Extract, ReceiveModel.Header, ReceiveModel.Message, ReceiveModel.Selector -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected List<ReceiveModel.Attachment>protected Stringprotected StringFields inherited from class org.citrusframework.model.testcase.core.ReceiveModel
actor, description, endpoint, extract, header, message, selector, timeout -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRuft den Wert der accept-Eigenschaft ab.Gets the value of the attachments property.Ruft den Wert der contentType-Eigenschaft ab.Ruft den Wert der soapAction-Eigenschaft ab.voidLegt den Wert der accept-Eigenschaft fest.voidsetContentType(String value) Legt den Wert der contentType-Eigenschaft fest.voidsetSoapAction(String value) Legt den Wert der soapAction-Eigenschaft fest.Methods inherited from class org.citrusframework.model.testcase.core.ReceiveModel
getActor, getDescription, getEndpoint, getExtract, getHeader, getMessage, getSelector, getTimeout, setActor, setDescription, setEndpoint, setExtract, setHeader, setMessage, setSelector, setTimeout
-
Field Details
-
attachments
-
soapAction
-
contentType
-
accept
-
-
Constructor Details
-
ReceiveModel
public ReceiveModel()
-
-
Method Details
-
getAttachments
Gets the value of the attachments 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
setmethod 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- Returns:
- The value of the attachments property.
-
getSoapAction
Ruft den Wert der soapAction-Eigenschaft ab.- Returns:
- possible object is
String
-
setSoapAction
Legt den Wert der soapAction-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getContentType
Ruft den Wert der contentType-Eigenschaft ab.- Returns:
- possible object is
String
-
setContentType
Legt den Wert der contentType-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getAccept
Ruft den Wert der accept-Eigenschaft ab.- Returns:
- possible object is
String
-
setAccept
Legt den Wert der accept-Eigenschaft fest.- Parameters:
value- allowed object isString
-