public static class ReceiveDefinition.Message extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<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" />
</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="data-dictionary" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="xml" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ReceiveDefinition.Message.Element
Java class for anonymous complex type.
|
static class |
ReceiveDefinition.Message.Ignore
Java class for anonymous complex type.
|
static class |
ReceiveDefinition.Message.Namespace
Java class for anonymous complex type.
|
static class |
ReceiveDefinition.Message.Payload
Java class for anonymous complex type.
|
static class |
ReceiveDefinition.Message.Resource
Java class for anonymous complex type.
|
static class |
ReceiveDefinition.Message.Validate
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected ScriptDefinitionType |
builder |
protected String |
data |
protected String |
dataDictionary |
protected List<ReceiveDefinition.Message.Element> |
elements |
protected List<ReceiveDefinition.Message.Ignore> |
ignores |
protected List<ReceiveDefinition.Message.Namespace> |
namespaces |
protected ReceiveDefinition.Message.Payload |
payload |
protected ReceiveDefinition.Message.Resource |
resource |
protected String |
schema |
protected String |
schemaRepository |
protected Boolean |
schemaValidation |
protected String |
type |
protected List<ReceiveDefinition.Message.Validate> |
validates |
protected String |
validator |
| Constructor and Description |
|---|
Message() |
| Modifier and Type | Method and Description |
|---|---|
ScriptDefinitionType |
getBuilder()
Gets the value of the builder property.
|
String |
getData()
Gets the value of the data property.
|
String |
getDataDictionary()
Gets the value of the dataDictionary property.
|
List<ReceiveDefinition.Message.Element> |
getElements()
Gets the value of the elements property.
|
List<ReceiveDefinition.Message.Ignore> |
getIgnores()
Gets the value of the ignores property.
|
List<ReceiveDefinition.Message.Namespace> |
getNamespaces()
Gets the value of the namespaces property.
|
ReceiveDefinition.Message.Payload |
getPayload()
Gets the value of the payload property.
|
ReceiveDefinition.Message.Resource |
getResource()
Gets the value of the resource property.
|
String |
getSchema()
Gets the value of the schema property.
|
String |
getSchemaRepository()
Gets the value of the schemaRepository property.
|
String |
getType()
Gets the value of the type property.
|
List<ReceiveDefinition.Message.Validate> |
getValidates()
Gets the value of the validates property.
|
String |
getValidator()
Gets the value of the validator property.
|
Boolean |
isSchemaValidation()
Gets the value of the schemaValidation property.
|
void |
setBuilder(ScriptDefinitionType value)
Sets the value of the builder property.
|
void |
setData(String value)
Sets the value of the data property.
|
void |
setDataDictionary(String value)
Sets the value of the dataDictionary property.
|
void |
setPayload(ReceiveDefinition.Message.Payload value)
Sets the value of the payload property.
|
void |
setResource(ReceiveDefinition.Message.Resource value)
Sets the value of the resource property.
|
void |
setSchema(String value)
Sets the value of the schema property.
|
void |
setSchemaRepository(String value)
Sets the value of the schemaRepository property.
|
void |
setSchemaValidation(Boolean value)
Sets the value of the schemaValidation property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setValidator(String value)
Sets the value of the validator property.
|
protected ScriptDefinitionType builder
protected ReceiveDefinition.Message.Resource resource
protected String data
protected ReceiveDefinition.Message.Payload payload
protected List<ReceiveDefinition.Message.Element> elements
protected List<ReceiveDefinition.Message.Ignore> ignores
protected List<ReceiveDefinition.Message.Validate> validates
protected List<ReceiveDefinition.Message.Namespace> namespaces
protected Boolean schemaValidation
protected String schema
protected String schemaRepository
protected String validator
protected String dataDictionary
protected String type
public ScriptDefinitionType getBuilder()
ScriptDefinitionTypepublic void setBuilder(ScriptDefinitionType value)
value - allowed object is
ScriptDefinitionTypepublic ReceiveDefinition.Message.Resource getResource()
ReceiveDefinition.Message.Resourcepublic void setResource(ReceiveDefinition.Message.Resource value)
value - allowed object is
ReceiveDefinition.Message.Resourcepublic String getData()
Stringpublic void setData(String value)
value - allowed object is
Stringpublic ReceiveDefinition.Message.Payload getPayload()
ReceiveDefinition.Message.Payloadpublic void setPayload(ReceiveDefinition.Message.Payload value)
value - allowed object is
ReceiveDefinition.Message.Payloadpublic List<ReceiveDefinition.Message.Element> getElements()
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
ReceiveDefinition.Message.Element
public List<ReceiveDefinition.Message.Ignore> getIgnores()
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
ReceiveDefinition.Message.Ignore
public List<ReceiveDefinition.Message.Validate> getValidates()
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
ReceiveDefinition.Message.Validate
public List<ReceiveDefinition.Message.Namespace> getNamespaces()
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
ReceiveDefinition.Message.Namespace
public Boolean isSchemaValidation()
Booleanpublic void setSchemaValidation(Boolean value)
value - allowed object is
Booleanpublic String getSchema()
Stringpublic void setSchema(String value)
value - allowed object is
Stringpublic String getSchemaRepository()
Stringpublic void setSchemaRepository(String value)
value - allowed object is
Stringpublic String getValidator()
Stringpublic void setValidator(String value)
value - allowed object is
Stringpublic String getDataDictionary()
Stringpublic void setDataDictionary(String value)
value - allowed object is
Stringpublic String getType()
StringCopyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.