public static class SendDefinition.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>
<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>
</sequence>
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="xml" />
<attribute name="data-dictionary" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
SendDefinition.Message.Element
Java class for anonymous complex type.
|
static class |
SendDefinition.Message.Payload
Java class for anonymous complex type.
|
static class |
SendDefinition.Message.Resource
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected ScriptDefinitionType |
builder |
protected String |
data |
protected String |
dataDictionary |
protected List<SendDefinition.Message.Element> |
elements |
protected SendDefinition.Message.Payload |
payload |
protected SendDefinition.Message.Resource |
resource |
protected String |
type |
| 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<SendDefinition.Message.Element> |
getElements()
Gets the value of the elements property.
|
SendDefinition.Message.Payload |
getPayload()
Gets the value of the payload property.
|
SendDefinition.Message.Resource |
getResource()
Gets the value of the resource property.
|
String |
getType()
Gets the value of the type 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(SendDefinition.Message.Payload value)
Sets the value of the payload property.
|
void |
setResource(SendDefinition.Message.Resource value)
Sets the value of the resource property.
|
void |
setType(String value)
Sets the value of the type property.
|
protected ScriptDefinitionType builder
protected SendDefinition.Message.Resource resource
protected String data
protected SendDefinition.Message.Payload payload
protected List<SendDefinition.Message.Element> elements
protected String type
protected String dataDictionary
public ScriptDefinitionType getBuilder()
ScriptDefinitionTypepublic void setBuilder(ScriptDefinitionType value)
value - allowed object is
ScriptDefinitionTypepublic SendDefinition.Message.Resource getResource()
SendDefinition.Message.Resourcepublic void setResource(SendDefinition.Message.Resource value)
value - allowed object is
SendDefinition.Message.Resourcepublic String getData()
Stringpublic void setData(String value)
value - allowed object is
Stringpublic SendDefinition.Message.Payload getPayload()
SendDefinition.Message.Payloadpublic void setPayload(SendDefinition.Message.Payload value)
value - allowed object is
SendDefinition.Message.Payloadpublic List<SendDefinition.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
SendDefinition.Message.Element
public String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic String getDataDictionary()
StringCopyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.