Class SqlModel


  • public class SqlModel
    extends Object

    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>
     
    • Constructor Detail

      • SqlModel

        public SqlModel()
    • Method Detail

      • 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
      • getStatements

        public List<String> 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 JAXB object. This is why there is not a set method 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

      • getValidates

        public List<SqlModel.Validate> 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 JAXB object. This is why there is not a set method 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

      • getExtracts

        public List<SqlModel.Extract> 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 JAXB object. This is why there is not a set method 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

      • getDatasource

        public String getDatasource()
        Ruft den Wert der datasource-Eigenschaft ab.
        Returns:
        possible object is String
      • setDatasource

        public void setDatasource​(String value)
        Legt den Wert der datasource-Eigenschaft fest.
        Parameters:
        value - allowed object is String
      • getTransactionManager

        public String getTransactionManager()
        Ruft den Wert der transactionManager-Eigenschaft ab.
        Returns:
        possible object is String
      • setTransactionManager

        public void setTransactionManager​(String value)
        Legt den Wert der transactionManager-Eigenschaft fest.
        Parameters:
        value - allowed object is String
      • getTransactionTimeout

        public String getTransactionTimeout()
        Ruft den Wert der transactionTimeout-Eigenschaft ab.
        Returns:
        possible object is String
      • setTransactionTimeout

        public void setTransactionTimeout​(String value)
        Legt den Wert der transactionTimeout-Eigenschaft fest.
        Parameters:
        value - allowed object is String
      • getTransactionIsolationLevel

        public String getTransactionIsolationLevel()
        Ruft den Wert der transactionIsolationLevel-Eigenschaft ab.
        Returns:
        possible object is String
      • setTransactionIsolationLevel

        public void setTransactionIsolationLevel​(String value)
        Legt den Wert der transactionIsolationLevel-Eigenschaft fest.
        Parameters:
        value - allowed object is String
      • isIgnoreErrors

        public Boolean isIgnoreErrors()
        Ruft den Wert der ignoreErrors-Eigenschaft ab.
        Returns:
        possible object is Boolean
      • setIgnoreErrors

        public void setIgnoreErrors​(Boolean value)
        Legt den Wert der ignoreErrors-Eigenschaft fest.
        Parameters:
        value - allowed object is Boolean