Class ClientRequestType.Body

java.lang.Object
org.citrusframework.model.testcase.http.ClientRequestType.Body
Enclosing class:
ClientRequestType

public static class ClientRequestType.Body 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>
         <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>
         </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="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="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>
 
  • Field Details

  • Constructor Details

    • Body

      public Body()
  • Method Details

    • getResource

      public ClientRequestType.Body.Resource getResource()
      Ruft den Wert der resource-Eigenschaft ab.
      Returns:
      possible object is ClientRequestType.Body.Resource
    • setResource

      public void setResource(ClientRequestType.Body.Resource value)
      Legt den Wert der resource-Eigenschaft fest.
      Parameters:
      value - allowed object is ClientRequestType.Body.Resource
    • getData

      public String getData()
      Ruft den Wert der data-Eigenschaft ab.
      Returns:
      possible object is String
    • setData

      public void setData(String value)
      Legt den Wert der data-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getPayload

      public ClientRequestType.Body.Payload getPayload()
      Ruft den Wert der payload-Eigenschaft ab.
      Returns:
      possible object is ClientRequestType.Body.Payload
    • setPayload

      public void setPayload(ClientRequestType.Body.Payload value)
      Legt den Wert der payload-Eigenschaft fest.
      Parameters:
      value - allowed object is ClientRequestType.Body.Payload
    • getElements

      public List<ClientRequestType.Body.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 ClientRequestType.Body.Element

      Returns:
      The value of the elements property.
    • isSchemaValidation

      public Boolean isSchemaValidation()
      Ruft den Wert der schemaValidation-Eigenschaft ab.
      Returns:
      possible object is Boolean
    • setSchemaValidation

      public void setSchemaValidation(Boolean value)
      Legt den Wert der schemaValidation-Eigenschaft fest.
      Parameters:
      value - allowed object is Boolean
    • getSchema

      public String getSchema()
      Ruft den Wert der schema-Eigenschaft ab.
      Returns:
      possible object is String
    • setSchema

      public void setSchema(String value)
      Legt den Wert der schema-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getSchemaRepository

      public String getSchemaRepository()
      Ruft den Wert der schemaRepository-Eigenschaft ab.
      Returns:
      possible object is String
    • setSchemaRepository

      public void setSchemaRepository(String value)
      Legt den Wert der schemaRepository-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getName

      public String getName()
      Ruft den Wert der name-Eigenschaft ab.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Legt den Wert der name-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getType

      public String getType()
      Ruft den Wert der type-Eigenschaft ab.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Legt den Wert der type-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getDataDictionary

      public String getDataDictionary()
      Ruft den Wert der dataDictionary-Eigenschaft ab.
      Returns:
      possible object is String
    • setDataDictionary

      public void setDataDictionary(String value)
      Legt den Wert der dataDictionary-Eigenschaft fest.
      Parameters:
      value - allowed object is String