Class SendModel.Header

java.lang.Object
org.citrusframework.model.testcase.core.SendModel.Header
Enclosing class:
SendModel

public static class SendModel.Header extends Object

Java-Klasse für anonymous complex type.

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


 <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>
 
  • Field Details

  • Constructor Details

    • Header

      public Header()
  • Method Details

    • getDatas

      public List<String> getDatas()
      Gets the value of the datas property.

      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 Jakarta XML Binding object. This is why there is not a set method for the datas property.

      For example, to add a new item, do as follows:

          getDatas().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

      Returns:
      The value of the datas property.
    • getResources

      public List<SendModel.Header.Resource> getResources()
      Gets the value of the resources property.

      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 Jakarta XML Binding object. This is why there is not a set method for the resources property.

      For example, to add a new item, do as follows:

          getResources().add(newItem);
       

      Objects of the following type(s) are allowed in the list SendModel.Header.Resource

      Returns:
      The value of the resources property.
    • getFragments

      public List<SendModel.Header.Fragment> getFragments()
      Gets the value of the fragments property.

      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 Jakarta XML Binding object. This is why there is not a set method for the fragments property.

      For example, to add a new item, do as follows:

          getFragments().add(newItem);
       

      Objects of the following type(s) are allowed in the list SendModel.Header.Fragment

      Returns:
      The value of the fragments property.
    • getElements

      public List<SendModel.Header.Element> getElements()
      Gets the value of the elements property.

      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 Jakarta XML Binding 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 SendModel.Header.Element

      Returns:
      The value of the elements property.