Class SqlModel
Java-Klasse für SqlActionType complex type.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<complexType name="SqlActionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.citrusframework.org/schema/testcase}description" minOccurs="0"/>
<choice>
<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" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="statement" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</choice>
<choice>
<element name="validate-script" type="{http://www.citrusframework.org/schema/testcase}ScriptDefinitionType" minOccurs="0"/>
<element name="validate" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="values" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="column" 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>
</choice>
<element name="extract" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="column" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="variable" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="datasource" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="transaction-manager" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="transaction-timeout" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="transaction-isolation-level" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="ignore-errors" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</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.static classJava-Klasse für anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected List<SqlModel.Extract>protected Booleanprotected SqlModel.Resourceprotected Stringprotected Stringprotected Stringprotected List<SqlModel.Validate>protected ScriptDefinitionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRuft den Wert der datasource-Eigenschaft ab.Ruft den Wert der description-Eigenschaft ab.Gets the value of the extracts property.Ruft den Wert der resource-Eigenschaft ab.Gets the value of the statements property.Ruft den Wert der transactionIsolationLevel-Eigenschaft ab.Ruft den Wert der transactionManager-Eigenschaft ab.Ruft den Wert der transactionTimeout-Eigenschaft ab.Gets the value of the validates property.Ruft den Wert der validateScript-Eigenschaft ab.Ruft den Wert der ignoreErrors-Eigenschaft ab.voidsetDatasource(String value) Legt den Wert der datasource-Eigenschaft fest.voidsetDescription(String value) Legt den Wert der description-Eigenschaft fest.voidsetIgnoreErrors(Boolean value) Legt den Wert der ignoreErrors-Eigenschaft fest.voidsetResource(SqlModel.Resource value) Legt den Wert der resource-Eigenschaft fest.voidLegt den Wert der transactionIsolationLevel-Eigenschaft fest.voidsetTransactionManager(String value) Legt den Wert der transactionManager-Eigenschaft fest.voidsetTransactionTimeout(String value) Legt den Wert der transactionTimeout-Eigenschaft fest.voidLegt den Wert der validateScript-Eigenschaft fest.
-
Field Details
-
description
-
statements
-
resource
-
validates
-
validateScript
-
extracts
-
datasource
-
transactionManager
-
transactionTimeout
-
transactionIsolationLevel
-
ignoreErrors
-
-
Constructor Details
-
SqlModel
public SqlModel()
-
-
Method Details
-
getDescription
Ruft den Wert der description-Eigenschaft ab.- Returns:
- possible object is
String
-
setDescription
Legt den Wert der description-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getStatements
Gets the value of the statements 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
setmethod for the statements property.For example, to add a new item, do as follows:
getStatements().add(newItem);Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the statements property.
-
getResource
Ruft den Wert der resource-Eigenschaft ab.- Returns:
- possible object is
SqlModel.Resource
-
setResource
Legt den Wert der resource-Eigenschaft fest.- Parameters:
value- allowed object isSqlModel.Resource
-
getValidates
Gets the value of the validates 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
setmethod for the validates property.For example, to add a new item, do as follows:
getValidates().add(newItem);Objects of the following type(s) are allowed in the list
SqlModel.Validate- Returns:
- The value of the validates property.
-
getValidateScript
Ruft den Wert der validateScript-Eigenschaft ab.- Returns:
- possible object is
ScriptDefinitionType
-
setValidateScript
Legt den Wert der validateScript-Eigenschaft fest.- Parameters:
value- allowed object isScriptDefinitionType
-
getExtracts
Gets the value of the extracts 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
setmethod for the extracts property.For example, to add a new item, do as follows:
getExtracts().add(newItem);Objects of the following type(s) are allowed in the list
SqlModel.Extract- Returns:
- The value of the extracts property.
-
getDatasource
Ruft den Wert der datasource-Eigenschaft ab.- Returns:
- possible object is
String
-
setDatasource
Legt den Wert der datasource-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getTransactionManager
Ruft den Wert der transactionManager-Eigenschaft ab.- Returns:
- possible object is
String
-
setTransactionManager
Legt den Wert der transactionManager-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getTransactionTimeout
Ruft den Wert der transactionTimeout-Eigenschaft ab.- Returns:
- possible object is
String
-
setTransactionTimeout
Legt den Wert der transactionTimeout-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getTransactionIsolationLevel
Ruft den Wert der transactionIsolationLevel-Eigenschaft ab.- Returns:
- possible object is
String
-
setTransactionIsolationLevel
Legt den Wert der transactionIsolationLevel-Eigenschaft fest.- Parameters:
value- allowed object isString
-
isIgnoreErrors
Ruft den Wert der ignoreErrors-Eigenschaft ab.- Returns:
- possible object is
Boolean
-
setIgnoreErrors
Legt den Wert der ignoreErrors-Eigenschaft fest.- Parameters:
value- allowed object isBoolean
-