Class DatabaseConnection


  • public class DatabaseConnection
    extends Object

    Java class for databaseConnection complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="databaseConnection">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="accessType" type="{http://www.pentaho.com/schema/}databaseAccessType" minOccurs="0"/>
             <element name="accessTypeValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="attributes">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="entry" maxOccurs="unbounded" minOccurs="0">
                         <complexType>
                           <complexContent>
                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                               <sequence>
                                 <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                                 <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                               </sequence>
                             </restriction>
                           </complexContent>
                         </complexType>
                       </element>
                     </sequence>
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <element name="changed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
             <element name="connectSql" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="connectionPoolingProperties">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="entry" maxOccurs="unbounded" minOccurs="0">
                         <complexType>
                           <complexContent>
                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                               <sequence>
                                 <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                                 <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                               </sequence>
                             </restriction>
                           </complexContent>
                         </complexType>
                       </element>
                     </sequence>
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <element name="dataTablespace" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="databaseName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="databasePort" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element ref="{http://www.pentaho.com/schema/}databaseType" minOccurs="0"/>
             <element name="extraOptions">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="entry" maxOccurs="unbounded" minOccurs="0">
                         <complexType>
                           <complexContent>
                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                               <sequence>
                                 <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                                 <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                               </sequence>
                             </restriction>
                           </complexContent>
                         </complexType>
                       </element>
                     </sequence>
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <element name="forcingIdentifiersToLowerCase" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
             <element name="forcingIdentifiersToUpperCase" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
             <element name="hostname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="indexTablespace" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="informixServername" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="initialPoolSize" type="{http://www.w3.org/2001/XMLSchema}int"/>
             <element name="maximumPoolSize" type="{http://www.w3.org/2001/XMLSchema}int"/>
             <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="partitioned" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
             <element name="partitioningInformation" type="{http://www.pentaho.com/schema/}partitionDatabaseMeta"
     maxOccurs="unbounded" minOccurs="0"/>
             <element name="password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="quoteAllFields" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
             <element name="SQLServerInstance" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="streamingResults" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
             <element name="username" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="usingConnectionPool" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
             <element name="usingDoubleDecimalAsSchemaTableSeparator" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
             <element name="extraOptionsOrder">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="entry" maxOccurs="unbounded" minOccurs="0">
                         <complexType>
                           <complexContent>
                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                               <sequence>
                                 <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                                 <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                               </sequence>
                             </restriction>
                           </complexContent>
                         </complexType>
                       </element>
                     </sequence>
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • accessTypeValue

        protected String accessTypeValue
      • changed

        protected boolean changed
      • connectSql

        protected String connectSql
      • dataTablespace

        protected String dataTablespace
      • databaseName

        protected String databaseName
      • databasePort

        protected String databasePort
      • forcingIdentifiersToLowerCase

        protected boolean forcingIdentifiersToLowerCase
      • forcingIdentifiersToUpperCase

        protected boolean forcingIdentifiersToUpperCase
      • hostname

        protected String hostname
      • indexTablespace

        protected String indexTablespace
      • informixServername

        protected String informixServername
      • initialPoolSize

        protected int initialPoolSize
      • maximumPoolSize

        protected int maximumPoolSize
      • partitioned

        protected boolean partitioned
      • password

        protected String password
      • quoteAllFields

        protected boolean quoteAllFields
      • sqlServerInstance

        protected String sqlServerInstance
      • streamingResults

        protected boolean streamingResults
      • username

        protected String username
      • usingConnectionPool

        protected boolean usingConnectionPool
      • usingDoubleDecimalAsSchemaTableSeparator

        protected boolean usingDoubleDecimalAsSchemaTableSeparator
    • Constructor Detail

      • DatabaseConnection

        public DatabaseConnection()
    • Method Detail

      • getAccessTypeValue

        public String getAccessTypeValue()
        Gets the value of the accessTypeValue property.
        Returns:
        possible object is String
      • setAccessTypeValue

        public void setAccessTypeValue​(String value)
        Sets the value of the accessTypeValue property.
        Parameters:
        value - allowed object is String
      • isChanged

        public boolean isChanged()
        Gets the value of the changed property.
      • setChanged

        public void setChanged​(boolean value)
        Sets the value of the changed property.
      • getConnectSql

        public String getConnectSql()
        Gets the value of the connectSql property.
        Returns:
        possible object is String
      • setConnectSql

        public void setConnectSql​(String value)
        Sets the value of the connectSql property.
        Parameters:
        value - allowed object is String
      • getDataTablespace

        public String getDataTablespace()
        Gets the value of the dataTablespace property.
        Returns:
        possible object is String
      • setDataTablespace

        public void setDataTablespace​(String value)
        Sets the value of the dataTablespace property.
        Parameters:
        value - allowed object is String
      • getDatabaseName

        public String getDatabaseName()
        Gets the value of the databaseName property.
        Returns:
        possible object is String
      • setDatabaseName

        public void setDatabaseName​(String value)
        Sets the value of the databaseName property.
        Parameters:
        value - allowed object is String
      • getDatabasePort

        public String getDatabasePort()
        Gets the value of the databasePort property.
        Returns:
        possible object is String
      • setDatabasePort

        public void setDatabasePort​(String value)
        Sets the value of the databasePort property.
        Parameters:
        value - allowed object is String
      • getDatabaseType

        public DatabaseType getDatabaseType()
        Gets the value of the databaseType property.
        Returns:
        possible object is DatabaseType
      • setDatabaseType

        public void setDatabaseType​(DatabaseType value)
        Sets the value of the databaseType property.
        Parameters:
        value - allowed object is DatabaseType
      • isForcingIdentifiersToLowerCase

        public boolean isForcingIdentifiersToLowerCase()
        Gets the value of the forcingIdentifiersToLowerCase property.
      • setForcingIdentifiersToLowerCase

        public void setForcingIdentifiersToLowerCase​(boolean value)
        Sets the value of the forcingIdentifiersToLowerCase property.
      • isForcingIdentifiersToUpperCase

        public boolean isForcingIdentifiersToUpperCase()
        Gets the value of the forcingIdentifiersToUpperCase property.
      • setForcingIdentifiersToUpperCase

        public void setForcingIdentifiersToUpperCase​(boolean value)
        Sets the value of the forcingIdentifiersToUpperCase property.
      • getHostname

        public String getHostname()
        Gets the value of the hostname property.
        Returns:
        possible object is String
      • setHostname

        public void setHostname​(String value)
        Sets the value of the hostname property.
        Parameters:
        value - allowed object is String
      • getId

        public String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String
      • getIndexTablespace

        public String getIndexTablespace()
        Gets the value of the indexTablespace property.
        Returns:
        possible object is String
      • setIndexTablespace

        public void setIndexTablespace​(String value)
        Sets the value of the indexTablespace property.
        Parameters:
        value - allowed object is String
      • getInformixServername

        public String getInformixServername()
        Gets the value of the informixServername property.
        Returns:
        possible object is String
      • setInformixServername

        public void setInformixServername​(String value)
        Sets the value of the informixServername property.
        Parameters:
        value - allowed object is String
      • getInitialPoolSize

        public int getInitialPoolSize()
        Gets the value of the initialPoolSize property.
      • setInitialPoolSize

        public void setInitialPoolSize​(int value)
        Sets the value of the initialPoolSize property.
      • getMaximumPoolSize

        public int getMaximumPoolSize()
        Gets the value of the maximumPoolSize property.
      • setMaximumPoolSize

        public void setMaximumPoolSize​(int value)
        Sets the value of the maximumPoolSize property.
      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • isPartitioned

        public boolean isPartitioned()
        Gets the value of the partitioned property.
      • setPartitioned

        public void setPartitioned​(boolean value)
        Sets the value of the partitioned property.
      • getPartitioningInformation

        public List<PartitionDatabaseMeta> getPartitioningInformation()
        Gets the value of the partitioningInformation 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 partitioningInformation property.

        For example, to add a new item, do as follows:

         getPartitioningInformation().add( newItem );
         

        Objects of the following type(s) are allowed in the list PartitionDatabaseMeta

      • getPassword

        public String getPassword()
        Gets the value of the password property.
        Returns:
        possible object is String
      • setPassword

        public void setPassword​(String value)
        Sets the value of the password property.
        Parameters:
        value - allowed object is String
      • isQuoteAllFields

        public boolean isQuoteAllFields()
        Gets the value of the quoteAllFields property.
      • setQuoteAllFields

        public void setQuoteAllFields​(boolean value)
        Sets the value of the quoteAllFields property.
      • getSQLServerInstance

        public String getSQLServerInstance()
        Gets the value of the sqlServerInstance property.
        Returns:
        possible object is String
      • setSQLServerInstance

        public void setSQLServerInstance​(String value)
        Sets the value of the sqlServerInstance property.
        Parameters:
        value - allowed object is String
      • isStreamingResults

        public boolean isStreamingResults()
        Gets the value of the streamingResults property.
      • setStreamingResults

        public void setStreamingResults​(boolean value)
        Sets the value of the streamingResults property.
      • getUsername

        public String getUsername()
        Gets the value of the username property.
        Returns:
        possible object is String
      • setUsername

        public void setUsername​(String value)
        Sets the value of the username property.
        Parameters:
        value - allowed object is String
      • isUsingConnectionPool

        public boolean isUsingConnectionPool()
        Gets the value of the usingConnectionPool property.
      • setUsingConnectionPool

        public void setUsingConnectionPool​(boolean value)
        Sets the value of the usingConnectionPool property.
      • isUsingDoubleDecimalAsSchemaTableSeparator

        public boolean isUsingDoubleDecimalAsSchemaTableSeparator()
        Gets the value of the usingDoubleDecimalAsSchemaTableSeparator property.
      • setUsingDoubleDecimalAsSchemaTableSeparator

        public void setUsingDoubleDecimalAsSchemaTableSeparator​(boolean value)
        Sets the value of the usingDoubleDecimalAsSchemaTableSeparator property.