Class DataDictionaryType
java.lang.Object
org.citrusframework.model.config.core.DataDictionaryType
- Direct Known Subclasses:
JsonDataDictionaryModel,JsonPathDataDictionaryModel,XmlDataDictionaryModel,XpathDataDictionaryModel
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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava-Klasse für anonymous complex type.static classJava-Klasse für anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Booleanprotected Stringprotected DataDictionaryType.MappingFileprotected DataDictionaryType.Mappingsprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRuft den Wert der direction-Eigenschaft ab.getId()Ruft den Wert der id-Eigenschaft ab.Ruft den Wert der mappingFile-Eigenschaft ab.Ruft den Wert der mappings-Eigenschaft ab.Ruft den Wert der mappingStrategy-Eigenschaft ab.booleanRuft den Wert der globalScope-Eigenschaft ab.voidsetDirection(String value) Legt den Wert der direction-Eigenschaft fest.voidsetGlobalScope(Boolean value) Legt den Wert der globalScope-Eigenschaft fest.voidLegt den Wert der id-Eigenschaft fest.voidLegt den Wert der mappingFile-Eigenschaft fest.voidLegt den Wert der mappings-Eigenschaft fest.voidsetMappingStrategy(String value) Legt den Wert der mappingStrategy-Eigenschaft fest.
-
Field Details
-
mappings
-
mappingFile
-
id
-
globalScope
-
direction
-
mappingStrategy
-
-
Constructor Details
-
DataDictionaryType
public DataDictionaryType()
-
-
Method Details
-
getMappings
Ruft den Wert der mappings-Eigenschaft ab.- Returns:
- possible object is
DataDictionaryType.Mappings
-
setMappings
Legt den Wert der mappings-Eigenschaft fest.- Parameters:
value- allowed object isDataDictionaryType.Mappings
-
getMappingFile
Ruft den Wert der mappingFile-Eigenschaft ab.- Returns:
- possible object is
DataDictionaryType.MappingFile
-
setMappingFile
Legt den Wert der mappingFile-Eigenschaft fest.- Parameters:
value- allowed object isDataDictionaryType.MappingFile
-
getId
Ruft den Wert der id-Eigenschaft ab.- Returns:
- possible object is
String
-
setId
Legt den Wert der id-Eigenschaft fest.- Parameters:
value- allowed object isString
-
isGlobalScope
public boolean isGlobalScope()Ruft den Wert der globalScope-Eigenschaft ab.- Returns:
- possible object is
Boolean
-
setGlobalScope
Legt den Wert der globalScope-Eigenschaft fest.- Parameters:
value- allowed object isBoolean
-
getDirection
Ruft den Wert der direction-Eigenschaft ab.- Returns:
- possible object is
String
-
setDirection
Legt den Wert der direction-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getMappingStrategy
Ruft den Wert der mappingStrategy-Eigenschaft ab.- Returns:
- possible object is
String
-
setMappingStrategy
Legt den Wert der mappingStrategy-Eigenschaft fest.- Parameters:
value- allowed object isString
-