com.consol.citrus.model.testcase.ws.SendFaultModel 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.11.11 um 09:39:53 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.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* Java-Klasse für SoapSendFaultActionType complex type.
*
*
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType name="SoapSendFaultActionType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.citrusframework.org/schema/testcase}description" minOccurs="0"/>
* <element name="fault">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="fault-code" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="fault-string" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="fault-actor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="fault-detail" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="header" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="element" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="endpoint" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SoapSendFaultActionType", propOrder = {
"description",
"fault",
"header"
})
@XmlRootElement(name = "send-fault")
public class SendFaultModel {
@XmlElement(namespace = "http://www.citrusframework.org/schema/testcase")
protected String description;
@XmlElement(required = true)
protected SendFaultModel.Fault fault;
protected SendFaultModel.Header header;
@XmlAttribute(name = "endpoint")
protected String endpoint;
/**
* Ruft den Wert der description-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Legt den Wert der description-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Ruft den Wert der fault-Eigenschaft ab.
*
* @return
* possible object is
* {@link SendFaultModel.Fault }
*
*/
public SendFaultModel.Fault getFault() {
return fault;
}
/**
* Legt den Wert der fault-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link SendFaultModel.Fault }
*
*/
public void setFault(SendFaultModel.Fault value) {
this.fault = value;
}
/**
* Ruft den Wert der header-Eigenschaft ab.
*
* @return
* possible object is
* {@link SendFaultModel.Header }
*
*/
public SendFaultModel.Header getHeader() {
return header;
}
/**
* Legt den Wert der header-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link SendFaultModel.Header }
*
*/
public void setHeader(SendFaultModel.Header value) {
this.header = value;
}
/**
* Ruft den Wert der endpoint-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEndpoint() {
return endpoint;
}
/**
* Legt den Wert der endpoint-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEndpoint(String value) {
this.endpoint = value;
}
/**
* Java-Klasse für anonymous complex type.
*
*
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="fault-code" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="fault-string" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="fault-actor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="fault-detail" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"faultCode",
"faultString",
"faultActor",
"faultDetails"
})
public static class Fault {
@XmlElement(name = "fault-code", required = true)
protected String faultCode;
@XmlElement(name = "fault-string")
protected String faultString;
@XmlElement(name = "fault-actor")
protected String faultActor;
@XmlElement(name = "fault-detail")
protected List faultDetails;
/**
* Ruft den Wert der faultCode-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFaultCode() {
return faultCode;
}
/**
* Legt den Wert der faultCode-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFaultCode(String value) {
this.faultCode = value;
}
/**
* Ruft den Wert der faultString-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFaultString() {
return faultString;
}
/**
* Legt den Wert der faultString-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFaultString(String value) {
this.faultString = value;
}
/**
* Ruft den Wert der faultActor-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFaultActor() {
return faultActor;
}
/**
* Legt den Wert der faultActor-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFaultActor(String value) {
this.faultActor = value;
}
/**
* Gets the value of the faultDetails 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 faultDetails property.
*
*
* For example, to add a new item, do as follows:
*
* getFaultDetails().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SendFaultModel.Fault.FaultDetail }
*
*
*/
public List getFaultDetails() {
if (faultDetails == null) {
faultDetails = new ArrayList();
}
return this.faultDetails;
}
/**
* Java-Klasse für anonymous complex type.
*
*
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
public static class FaultDetail {
@XmlValue
protected String value;
@XmlAttribute(name = "file")
protected String file;
/**
* Ruft den Wert der value-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Legt den Wert der value-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Ruft den Wert der file-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFile() {
return file;
}
/**
* Legt den Wert der file-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFile(String value) {
this.file = value;
}
}
}
/**
* Java-Klasse für anonymous complex type.
*
*
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="element" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"elements"
})
public static class Header {
@XmlElement(name = "element", required = true)
protected List elements;
/**
* Gets the value of the elements 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 elements property.
*
*
* For example, to add a new item, do as follows:
*
* getElements().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SendFaultModel.Header.Element }
*
*
*/
public List getElements() {
if (elements == null) {
elements = new ArrayList();
}
return this.elements;
}
/**
* Java-Klasse für anonymous complex type.
*
*
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Element {
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "value", required = true)
protected String value;
/**
* Ruft den Wert der name-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Legt den Wert der name-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Ruft den Wert der value-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Legt den Wert der value-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
}
}
}