Class ReceiveModel

java.lang.Object
org.citrusframework.model.testcase.core.ReceiveModel
Direct Known Subclasses:
ReceiveActionType

public class ReceiveModel extends Object

Java-Klasse für ReceiveActionType complex type.

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


 <complexType name="ReceiveActionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.citrusframework.org/schema/testcase}description" minOccurs="0"/>
         <element name="selector" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <choice>
                   <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="element" maxOccurs="unbounded">
                     <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" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </choice>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="message">
           <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>
         </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" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
                 <attribute name="ignore-case" type="{http://www.w3.org/2001/XMLSchema}string" />
               </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>
                   <element name="message" maxOccurs="unbounded" minOccurs="0">
                     <complexType>
                       <simpleContent>
                         <extension base="<http://www.w3.org/2001/XMLSchema>string">
                           <attribute name="path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                           <attribute name="variable" 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>
                         </extension>
                       </simpleContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="endpoint" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="timeout" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="actor" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • ReceiveModel

      public ReceiveModel()
  • 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
    • getSelector

      public ReceiveModel.Selector getSelector()
      Ruft den Wert der selector-Eigenschaft ab.
      Returns:
      possible object is ReceiveModel.Selector
    • setSelector

      public void setSelector(ReceiveModel.Selector value)
      Legt den Wert der selector-Eigenschaft fest.
      Parameters:
      value - allowed object is ReceiveModel.Selector
    • getMessage

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

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

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

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

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

      public void setExtract(ReceiveModel.Extract value)
      Legt den Wert der extract-Eigenschaft fest.
      Parameters:
      value - allowed object is ReceiveModel.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
    • getTimeout

      public Integer getTimeout()
      Ruft den Wert der timeout-Eigenschaft ab.
      Returns:
      possible object is Integer
    • setTimeout

      public void setTimeout(Integer value)
      Legt den Wert der timeout-Eigenschaft fest.
      Parameters:
      value - allowed object is Integer
    • 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