Class DataDictionaryType
- java.lang.Object
-
- com.consol.citrus.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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataDictionaryType.MappingFile
Java-Klasse für anonymous complex type.static class
DataDictionaryType.Mappings
Java-Klasse für anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected String
direction
protected Boolean
globalScope
protected String
id
protected DataDictionaryType.MappingFile
mappingFile
protected DataDictionaryType.Mappings
mappings
protected String
mappingStrategy
-
Constructor Summary
Constructors Constructor Description DataDictionaryType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDirection()
Ruft den Wert der direction-Eigenschaft ab.String
getId()
Ruft den Wert der id-Eigenschaft ab.DataDictionaryType.MappingFile
getMappingFile()
Ruft den Wert der mappingFile-Eigenschaft ab.DataDictionaryType.Mappings
getMappings()
Ruft den Wert der mappings-Eigenschaft ab.String
getMappingStrategy()
Ruft den Wert der mappingStrategy-Eigenschaft ab.boolean
isGlobalScope()
Ruft den Wert der globalScope-Eigenschaft ab.void
setDirection(String value)
Legt den Wert der direction-Eigenschaft fest.void
setGlobalScope(Boolean value)
Legt den Wert der globalScope-Eigenschaft fest.void
setId(String value)
Legt den Wert der id-Eigenschaft fest.void
setMappingFile(DataDictionaryType.MappingFile value)
Legt den Wert der mappingFile-Eigenschaft fest.void
setMappings(DataDictionaryType.Mappings value)
Legt den Wert der mappings-Eigenschaft fest.void
setMappingStrategy(String value)
Legt den Wert der mappingStrategy-Eigenschaft fest.
-
-
-
Field Detail
-
mappings
protected DataDictionaryType.Mappings mappings
-
mappingFile
protected DataDictionaryType.MappingFile mappingFile
-
id
protected String id
-
globalScope
protected Boolean globalScope
-
direction
protected String direction
-
mappingStrategy
protected String mappingStrategy
-
-
Method Detail
-
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 isDataDictionaryType.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 isDataDictionaryType.MappingFile
-
setId
public void setId(String value)
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
public void setGlobalScope(Boolean value)
Legt den Wert der globalScope-Eigenschaft fest.- Parameters:
value
- allowed object isBoolean
-
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 isString
-
getMappingStrategy
public String getMappingStrategy()
Ruft den Wert der mappingStrategy-Eigenschaft ab.- Returns:
- possible object is
String
-
-