Class ReceiveModel.Message
- Enclosing class:
- ReceiveModel
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 ClassesModifier and TypeClassDescriptionstatic classJava-Klasse für anonymous complex type.static classJava-Klasse für anonymous complex type.static classJava-Klasse für anonymous complex type.static classJava-Klasse für anonymous complex type.static classJava-Klasse für anonymous complex type.static classJava-Klasse für anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ScriptDefinitionTypeprotected Stringprotected Stringprotected List<ReceiveModel.Message.Element>protected Stringprotected Stringprotected List<ReceiveModel.Message.Ignore>protected Stringprotected List<ReceiveModel.Message.Namespace>protected ReceiveModel.Message.Payloadprotected ReceiveModel.Message.Resourceprotected Stringprotected Stringprotected Booleanprotected Stringprotected List<ReceiveModel.Message.Validate>protected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRuft den Wert der builder-Eigenschaft ab.getData()Ruft den Wert der data-Eigenschaft ab.Ruft den Wert der dataDictionary-Eigenschaft ab.Gets the value of the elements property.Ruft den Wert der headerValidator-Eigenschaft ab.Ruft den Wert der headerValidators-Eigenschaft ab.Gets the value of the ignores property.getName()Ruft den Wert der name-Eigenschaft ab.Gets the value of the namespaces property.Ruft den Wert der payload-Eigenschaft ab.Ruft den Wert der resource-Eigenschaft ab.Ruft den Wert der schema-Eigenschaft ab.Ruft den Wert der schemaRepository-Eigenschaft ab.getType()Ruft den Wert der type-Eigenschaft ab.Gets the value of the validates property.Ruft den Wert der validator-Eigenschaft ab.Ruft den Wert der validators-Eigenschaft ab.Ruft den Wert der schemaValidation-Eigenschaft ab.voidsetBuilder(ScriptDefinitionType value) Legt den Wert der builder-Eigenschaft fest.voidLegt den Wert der data-Eigenschaft fest.voidsetDataDictionary(String value) Legt den Wert der dataDictionary-Eigenschaft fest.voidsetHeaderValidator(String value) Legt den Wert der headerValidator-Eigenschaft fest.voidsetHeaderValidators(String value) Legt den Wert der headerValidators-Eigenschaft fest.voidLegt den Wert der name-Eigenschaft fest.voidLegt den Wert der payload-Eigenschaft fest.voidLegt den Wert der resource-Eigenschaft fest.voidLegt den Wert der schema-Eigenschaft fest.voidsetSchemaRepository(String value) Legt den Wert der schemaRepository-Eigenschaft fest.voidsetSchemaValidation(Boolean value) Legt den Wert der schemaValidation-Eigenschaft fest.voidLegt den Wert der type-Eigenschaft fest.voidsetValidator(String value) Legt den Wert der validator-Eigenschaft fest.voidsetValidators(String value) Legt den Wert der validators-Eigenschaft fest.
-
Field Details
-
builder
-
resource
-
data
-
payload
-
elements
-
ignores
-
validates
-
namespaces
-
schemaValidation
-
schema
-
schemaRepository
-
validator
-
validators
-
headerValidator
-
headerValidators
-
dataDictionary
-
name
-
type
-
-
Constructor Details
-
Message
public Message()
-
-
Method Details
-
getBuilder
Ruft den Wert der builder-Eigenschaft ab.- Returns:
- possible object is
ScriptDefinitionType
-
setBuilder
Legt den Wert der builder-Eigenschaft fest.- Parameters:
value- allowed object isScriptDefinitionType
-
getResource
Ruft den Wert der resource-Eigenschaft ab.- Returns:
- possible object is
ReceiveModel.Message.Resource
-
setResource
Legt den Wert der resource-Eigenschaft fest.- Parameters:
value- allowed object isReceiveModel.Message.Resource
-
getData
Ruft den Wert der data-Eigenschaft ab.- Returns:
- possible object is
String
-
setData
Legt den Wert der data-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getPayload
Ruft den Wert der payload-Eigenschaft ab.- Returns:
- possible object is
ReceiveModel.Message.Payload
-
setPayload
Legt den Wert der payload-Eigenschaft fest.- Parameters:
value- allowed object isReceiveModel.Message.Payload
-
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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the elements property.
-
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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the ignores property.
-
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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the validates property.
-
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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the namespaces property.
-
isSchemaValidation
Ruft den Wert der schemaValidation-Eigenschaft ab.- Returns:
- possible object is
Boolean
-
setSchemaValidation
Legt den Wert der schemaValidation-Eigenschaft fest.- Parameters:
value- allowed object isBoolean
-
getSchema
Ruft den Wert der schema-Eigenschaft ab.- Returns:
- possible object is
String
-
setSchema
Legt den Wert der schema-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getSchemaRepository
Ruft den Wert der schemaRepository-Eigenschaft ab.- Returns:
- possible object is
String
-
setSchemaRepository
Legt den Wert der schemaRepository-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getValidator
Ruft den Wert der validator-Eigenschaft ab.- Returns:
- possible object is
String
-
setValidator
Legt den Wert der validator-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getValidators
Ruft den Wert der validators-Eigenschaft ab.- Returns:
- possible object is
String
-
setValidators
Legt den Wert der validators-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getHeaderValidator
Ruft den Wert der headerValidator-Eigenschaft ab.- Returns:
- possible object is
String
-
setHeaderValidator
Legt den Wert der headerValidator-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getHeaderValidators
Ruft den Wert der headerValidators-Eigenschaft ab.- Returns:
- possible object is
String
-
setHeaderValidators
Legt den Wert der headerValidators-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getDataDictionary
Ruft den Wert der dataDictionary-Eigenschaft ab.- Returns:
- possible object is
String
-
setDataDictionary
Legt den Wert der dataDictionary-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getName
Ruft den Wert der name-Eigenschaft ab.- Returns:
- possible object is
String
-
setName
Legt den Wert der name-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getType
Ruft den Wert der type-Eigenschaft ab.- Returns:
- possible object is
String
-
setType
Legt den Wert der type-Eigenschaft fest.- Parameters:
value- allowed object isString
-