Class DataDictionaryType

java.lang.Object
org.citrusframework.model.config.core.DataDictionaryType
Direct Known Subclasses:
JsonDataDictionaryModel, JsonPathDataDictionaryModel, XmlDataDictionaryModel, XpathDataDictionaryModel

public class DataDictionaryType extends Object
Data dictionary holding key value mappings for dynamic test data in messages.

Java-Klasse für DataDictionaryType complex type.

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


 <complexType name="DataDictionaryType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="mappings" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="mapping" maxOccurs="unbounded">
                     <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>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="mapping-file" 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>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="global-scope" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="direction">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="UNBOUND"/>
             <enumeration value="INBOUND"/>
             <enumeration value="OUTBOUND"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="mapping-strategy">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="EXACT"/>
             <enumeration value="STARTS_WITH"/>
             <enumeration value="ENDS_WITH"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • DataDictionaryType

      public DataDictionaryType()
  • Method Details

    • getMappings

      public DataDictionaryType.Mappings getMappings()
      Ruft den Wert der mappings-Eigenschaft ab.
      Returns:
      possible object is DataDictionaryType.Mappings
    • setMappings

      public void setMappings(DataDictionaryType.Mappings value)
      Legt den Wert der mappings-Eigenschaft fest.
      Parameters:
      value - allowed object is DataDictionaryType.Mappings
    • getMappingFile

      public DataDictionaryType.MappingFile getMappingFile()
      Ruft den Wert der mappingFile-Eigenschaft ab.
      Returns:
      possible object is DataDictionaryType.MappingFile
    • setMappingFile

      public void setMappingFile(DataDictionaryType.MappingFile value)
      Legt den Wert der mappingFile-Eigenschaft fest.
      Parameters:
      value - allowed object is DataDictionaryType.MappingFile
    • getId

      public String getId()
      Ruft den Wert der id-Eigenschaft ab.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Legt den Wert der id-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • isGlobalScope

      public boolean isGlobalScope()
      Ruft den Wert der globalScope-Eigenschaft ab.
      Returns:
      possible object is Boolean
    • setGlobalScope

      public void setGlobalScope(Boolean value)
      Legt den Wert der globalScope-Eigenschaft fest.
      Parameters:
      value - allowed object is Boolean
    • getDirection

      public String getDirection()
      Ruft den Wert der direction-Eigenschaft ab.
      Returns:
      possible object is String
    • setDirection

      public void setDirection(String value)
      Legt den Wert der direction-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getMappingStrategy

      public String getMappingStrategy()
      Ruft den Wert der mappingStrategy-Eigenschaft ab.
      Returns:
      possible object is String
    • setMappingStrategy

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