Class CreateVariablesModel

java.lang.Object
org.citrusframework.model.testcase.core.CreateVariablesModel

public class CreateVariablesModel extends Object

Java-Klasse für CreateVariablesActionType complex type.

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


 <complexType name="CreateVariablesActionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.citrusframework.org/schema/testcase}description" minOccurs="0"/>
         <element name="variable" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="value" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <choice>
                             <element name="data" type="{http://www.w3.org/2001/XMLSchema}string"/>
                             <element name="script" type="{http://www.citrusframework.org/schema/testcase}ScriptDefinitionType"/>
                           </choice>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CreateVariablesModel

      public CreateVariablesModel()
  • 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
    • getVariables

      public List<CreateVariablesModel.Variable> getVariables()
      Gets the value of the variables 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 variables property.

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

          getVariables().add(newItem);
       

      Objects of the following type(s) are allowed in the list CreateVariablesModel.Variable

      Returns:
      The value of the variables property.