Class ReceiveModel.Message
- java.lang.Object
-
- com.consol.citrus.model.testcase.core.ReceiveModel.Message
-
- Enclosing class:
- ReceiveModel
public static class ReceiveModel.Message extends Object
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> <sequence minOccurs="0"> <choice> <element name="payload"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any processContents='skip' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="data" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="resource"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="file" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="charset" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="builder" type="{http://www.citrusframework.org/schema/testcase}ScriptDefinitionType"/> </choice> <element name="element" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="path" 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> <element name="ignore" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> </sequence> <element name="validate" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="script" type="{http://www.citrusframework.org/schema/testcase}ScriptDefinitionType" minOccurs="0"/> <element name="xpath" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="expression" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="result-type"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="node"/> <enumeration value="node-set"/> <enumeration value="boolean"/> <enumeration value="string"/> <enumeration value="number"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType> </element> <element name="json-path" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="expression" 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> <element name="namespace" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="prefix" 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> <attribute name="path" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="result-type"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="node"/> <enumeration value="node-set"/> <enumeration value="boolean"/> <enumeration value="string"/> <enumeration value="number"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType> </element> <element name="namespace" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="prefix" 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> <attribute name="schema-validation" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="schema" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="schema-repository" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="validator" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="validators" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="header-validator" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="header-validators" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="data-dictionary" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="xml" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReceiveModel.Message.Element
Java-Klasse für anonymous complex type.static class
ReceiveModel.Message.Ignore
Java-Klasse für anonymous complex type.static class
ReceiveModel.Message.Namespace
Java-Klasse für anonymous complex type.static class
ReceiveModel.Message.Payload
Java-Klasse für anonymous complex type.static class
ReceiveModel.Message.Resource
Java-Klasse für anonymous complex type.static class
ReceiveModel.Message.Validate
Java-Klasse für anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected ScriptDefinitionType
builder
protected String
data
protected String
dataDictionary
protected List<ReceiveModel.Message.Element>
elements
protected String
headerValidator
protected String
headerValidators
protected List<ReceiveModel.Message.Ignore>
ignores
protected String
name
protected List<ReceiveModel.Message.Namespace>
namespaces
protected ReceiveModel.Message.Payload
payload
protected ReceiveModel.Message.Resource
resource
protected String
schema
protected String
schemaRepository
protected Boolean
schemaValidation
protected String
type
protected List<ReceiveModel.Message.Validate>
validates
protected String
validator
protected String
validators
-
Constructor Summary
Constructors Constructor Description Message()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptDefinitionType
getBuilder()
Ruft den Wert der builder-Eigenschaft ab.String
getData()
Ruft den Wert der data-Eigenschaft ab.String
getDataDictionary()
Ruft den Wert der dataDictionary-Eigenschaft ab.List<ReceiveModel.Message.Element>
getElements()
Gets the value of the elements property.String
getHeaderValidator()
Ruft den Wert der headerValidator-Eigenschaft ab.String
getHeaderValidators()
Ruft den Wert der headerValidators-Eigenschaft ab.List<ReceiveModel.Message.Ignore>
getIgnores()
Gets the value of the ignores property.String
getName()
Ruft den Wert der name-Eigenschaft ab.List<ReceiveModel.Message.Namespace>
getNamespaces()
Gets the value of the namespaces property.ReceiveModel.Message.Payload
getPayload()
Ruft den Wert der payload-Eigenschaft ab.ReceiveModel.Message.Resource
getResource()
Ruft den Wert der resource-Eigenschaft ab.String
getSchema()
Ruft den Wert der schema-Eigenschaft ab.String
getSchemaRepository()
Ruft den Wert der schemaRepository-Eigenschaft ab.String
getType()
Ruft den Wert der type-Eigenschaft ab.List<ReceiveModel.Message.Validate>
getValidates()
Gets the value of the validates property.String
getValidator()
Ruft den Wert der validator-Eigenschaft ab.String
getValidators()
Ruft den Wert der validators-Eigenschaft ab.Boolean
isSchemaValidation()
Ruft den Wert der schemaValidation-Eigenschaft ab.void
setBuilder(ScriptDefinitionType value)
Legt den Wert der builder-Eigenschaft fest.void
setData(String value)
Legt den Wert der data-Eigenschaft fest.void
setDataDictionary(String value)
Legt den Wert der dataDictionary-Eigenschaft fest.void
setHeaderValidator(String value)
Legt den Wert der headerValidator-Eigenschaft fest.void
setHeaderValidators(String value)
Legt den Wert der headerValidators-Eigenschaft fest.void
setName(String value)
Legt den Wert der name-Eigenschaft fest.void
setPayload(ReceiveModel.Message.Payload value)
Legt den Wert der payload-Eigenschaft fest.void
setResource(ReceiveModel.Message.Resource value)
Legt den Wert der resource-Eigenschaft fest.void
setSchema(String value)
Legt den Wert der schema-Eigenschaft fest.void
setSchemaRepository(String value)
Legt den Wert der schemaRepository-Eigenschaft fest.void
setSchemaValidation(Boolean value)
Legt den Wert der schemaValidation-Eigenschaft fest.void
setType(String value)
Legt den Wert der type-Eigenschaft fest.void
setValidator(String value)
Legt den Wert der validator-Eigenschaft fest.void
setValidators(String value)
Legt den Wert der validators-Eigenschaft fest.
-
-
-
Field Detail
-
builder
protected ScriptDefinitionType builder
-
resource
protected ReceiveModel.Message.Resource resource
-
data
protected String data
-
payload
protected ReceiveModel.Message.Payload payload
-
elements
protected List<ReceiveModel.Message.Element> elements
-
ignores
protected List<ReceiveModel.Message.Ignore> ignores
-
validates
protected List<ReceiveModel.Message.Validate> validates
-
namespaces
protected List<ReceiveModel.Message.Namespace> namespaces
-
schemaValidation
protected Boolean schemaValidation
-
schema
protected String schema
-
schemaRepository
protected String schemaRepository
-
validator
protected String validator
-
validators
protected String validators
-
headerValidator
protected String headerValidator
-
headerValidators
protected String headerValidators
-
dataDictionary
protected String dataDictionary
-
name
protected String name
-
type
protected String type
-
-
Method Detail
-
getBuilder
public ScriptDefinitionType getBuilder()
Ruft den Wert der builder-Eigenschaft ab.- Returns:
- possible object is
ScriptDefinitionType
-
setBuilder
public void setBuilder(ScriptDefinitionType value)
Legt den Wert der builder-Eigenschaft fest.- Parameters:
value
- allowed object isScriptDefinitionType
-
getResource
public ReceiveModel.Message.Resource getResource()
Ruft den Wert der resource-Eigenschaft ab.- Returns:
- possible object is
ReceiveModel.Message.Resource
-
setResource
public void setResource(ReceiveModel.Message.Resource value)
Legt den Wert der resource-Eigenschaft fest.- Parameters:
value
- allowed object isReceiveModel.Message.Resource
-
getData
public String getData()
Ruft den Wert der data-Eigenschaft ab.- Returns:
- possible object is
String
-
setData
public void setData(String value)
Legt den Wert der data-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getPayload
public ReceiveModel.Message.Payload getPayload()
Ruft den Wert der payload-Eigenschaft ab.- Returns:
- possible object is
ReceiveModel.Message.Payload
-
setPayload
public void setPayload(ReceiveModel.Message.Payload value)
Legt den Wert der payload-Eigenschaft fest.- Parameters:
value
- allowed object isReceiveModel.Message.Payload
-
getElements
public List<ReceiveModel.Message.Element> getElements()
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
ReceiveModel.Message.Element
-
getIgnores
public List<ReceiveModel.Message.Ignore> getIgnores()
Gets the value of the ignores 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 ignores property.For example, to add a new item, do as follows:
getIgnores().add(newItem);
Objects of the following type(s) are allowed in the list
ReceiveModel.Message.Ignore
-
getValidates
public List<ReceiveModel.Message.Validate> getValidates()
Gets the value of the validates 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 validates property.For example, to add a new item, do as follows:
getValidates().add(newItem);
Objects of the following type(s) are allowed in the list
ReceiveModel.Message.Validate
-
getNamespaces
public List<ReceiveModel.Message.Namespace> getNamespaces()
Gets the value of the namespaces 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 namespaces property.For example, to add a new item, do as follows:
getNamespaces().add(newItem);
Objects of the following type(s) are allowed in the list
ReceiveModel.Message.Namespace
-
isSchemaValidation
public Boolean isSchemaValidation()
Ruft den Wert der schemaValidation-Eigenschaft ab.- Returns:
- possible object is
Boolean
-
setSchemaValidation
public void setSchemaValidation(Boolean value)
Legt den Wert der schemaValidation-Eigenschaft fest.- Parameters:
value
- allowed object isBoolean
-
getSchema
public String getSchema()
Ruft den Wert der schema-Eigenschaft ab.- Returns:
- possible object is
String
-
setSchema
public void setSchema(String value)
Legt den Wert der schema-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getSchemaRepository
public String getSchemaRepository()
Ruft den Wert der schemaRepository-Eigenschaft ab.- Returns:
- possible object is
String
-
setSchemaRepository
public void setSchemaRepository(String value)
Legt den Wert der schemaRepository-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getValidator
public String getValidator()
Ruft den Wert der validator-Eigenschaft ab.- Returns:
- possible object is
String
-
setValidator
public void setValidator(String value)
Legt den Wert der validator-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getValidators
public String getValidators()
Ruft den Wert der validators-Eigenschaft ab.- Returns:
- possible object is
String
-
setValidators
public void setValidators(String value)
Legt den Wert der validators-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getHeaderValidator
public String getHeaderValidator()
Ruft den Wert der headerValidator-Eigenschaft ab.- Returns:
- possible object is
String
-
setHeaderValidator
public void setHeaderValidator(String value)
Legt den Wert der headerValidator-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getHeaderValidators
public String getHeaderValidators()
Ruft den Wert der headerValidators-Eigenschaft ab.- Returns:
- possible object is
String
-
setHeaderValidators
public void setHeaderValidators(String value)
Legt den Wert der headerValidators-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getDataDictionary
public String getDataDictionary()
Ruft den Wert der dataDictionary-Eigenschaft ab.- Returns:
- possible object is
String
-
setDataDictionary
public void setDataDictionary(String value)
Legt den Wert der dataDictionary-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getName
public String getName()
Ruft den Wert der name-Eigenschaft ab.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Legt den Wert der name-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getType
public String getType()
Ruft den Wert der type-Eigenschaft ab.- Returns:
- possible object is
String
-
-