Class SendModel

java.lang.Object
org.citrusframework.model.testcase.core.SendModel
Direct Known Subclasses:
SendActionType

public class SendModel extends Object

Java-Klasse für SendActionType complex type.

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.


 <complexType name="SendActionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.citrusframework.org/schema/testcase}description" minOccurs="0"/>
         <element name="message">
           <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" />
                             <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>
                 </sequence>
                 <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <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" />
                 <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" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="header" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="data" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="resource" maxOccurs="unbounded" minOccurs="0">
                     <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="fragment" maxOccurs="unbounded" minOccurs="0">
                     <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="element" maxOccurs="unbounded" minOccurs="0">
                     <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" />
                           <attribute name="type">
                             <simpleType>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                 <enumeration value="integer"/>
                                 <enumeration value="long"/>
                                 <enumeration value="float"/>
                                 <enumeration value="double"/>
                                 <enumeration value="byte"/>
                                 <enumeration value="short"/>
                                 <enumeration value="boolean"/>
                                 <enumeration value="string"/>
                               </restriction>
                             </simpleType>
                           </attribute>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="extract" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="header" maxOccurs="unbounded" minOccurs="0">
                     <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="variable" 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" />
       <attribute name="actor" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="fork" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • SendModel

      public SendModel()
  • Method Details

    • getDescription

      public String getDescription()
      Ruft den Wert der description-Eigenschaft ab.
      Returns:
      possible object is String
    • setDescription

      public void setDescription(String value)
      Legt den Wert der description-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getMessage

      public SendModel.Message getMessage()
      Ruft den Wert der message-Eigenschaft ab.
      Returns:
      possible object is SendModel.Message
    • setMessage

      public void setMessage(SendModel.Message value)
      Legt den Wert der message-Eigenschaft fest.
      Parameters:
      value - allowed object is SendModel.Message
    • getHeader

      public SendModel.Header getHeader()
      Ruft den Wert der header-Eigenschaft ab.
      Returns:
      possible object is SendModel.Header
    • setHeader

      public void setHeader(SendModel.Header value)
      Legt den Wert der header-Eigenschaft fest.
      Parameters:
      value - allowed object is SendModel.Header
    • getExtract

      public SendModel.Extract getExtract()
      Ruft den Wert der extract-Eigenschaft ab.
      Returns:
      possible object is SendModel.Extract
    • setExtract

      public void setExtract(SendModel.Extract value)
      Legt den Wert der extract-Eigenschaft fest.
      Parameters:
      value - allowed object is SendModel.Extract
    • getEndpoint

      public String getEndpoint()
      Ruft den Wert der endpoint-Eigenschaft ab.
      Returns:
      possible object is String
    • setEndpoint

      public void setEndpoint(String value)
      Legt den Wert der endpoint-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getActor

      public String getActor()
      Ruft den Wert der actor-Eigenschaft ab.
      Returns:
      possible object is String
    • setActor

      public void setActor(String value)
      Legt den Wert der actor-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • isFork

      public Boolean isFork()
      Ruft den Wert der fork-Eigenschaft ab.
      Returns:
      possible object is Boolean
    • setFork

      public void setFork(Boolean value)
      Legt den Wert der fork-Eigenschaft fest.
      Parameters:
      value - allowed object is Boolean