Class 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" />
                   </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>
     
    • Constructor Detail

      • SendModel

        public SendModel()
    • Method Detail

      • 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
      • setHeader

        public void setHeader​(SendModel.Header value)
        Legt den Wert der header-Eigenschaft fest.
        Parameters:
        value - allowed object is SendModel.Header
      • 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