com.consol.citrus.model.testcase.ws.ReceiveModel Maven / Gradle / Ivy
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2 generiert
// Siehe https://javaee.github.io/jaxb-v2/
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2020.03.17 um 03:19:12 PM CET
//
package com.consol.citrus.model.testcase.ws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import com.consol.citrus.model.testcase.core.ReceiveActionType;
/**
* 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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SoapReceiveActionType", propOrder = {
"attachments"
})
@XmlRootElement(name = "receive")
public class ReceiveModel
extends ReceiveActionType
{
@XmlElement(name = "attachment")
protected List attachments;
@XmlAttribute(name = "soap-action")
@XmlSchemaType(name = "anySimpleType")
protected String soapAction;
@XmlAttribute(name = "content-type")
protected String contentType;
@XmlAttribute(name = "accept")
protected String accept;
/**
* 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 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
* {@link ReceiveModel.Attachment }
*
*
*/
public List getAttachments() {
if (attachments == null) {
attachments = new ArrayList();
}
return this.attachments;
}
/**
* Ruft den Wert der soapAction-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSoapAction() {
return soapAction;
}
/**
* Legt den Wert der soapAction-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSoapAction(String value) {
this.soapAction = value;
}
/**
* Ruft den Wert der contentType-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getContentType() {
return contentType;
}
/**
* Legt den Wert der contentType-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setContentType(String value) {
this.contentType = value;
}
/**
* Ruft den Wert der accept-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAccept() {
return accept;
}
/**
* Legt den Wert der accept-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAccept(String value) {
this.accept = value;
}
/**
* Java-Klasse für anonymous complex type.
*
*
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Attachment
extends SoapAttachmentType
{
@XmlAttribute(name = "validator")
protected String validator;
/**
* Ruft den Wert der validator-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValidator() {
return validator;
}
/**
* Legt den Wert der validator-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValidator(String value) {
this.validator = value;
}
}
}