Class DatabaseConnection
- java.lang.Object
-
- org.pentaho.platform.plugin.services.importexport.exportManifest.bindings.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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DatabaseConnection.Attributes
Defining an inner class to support the attributes'Map object from the original class.static class
DatabaseConnection.ConnectionPoolingProperties
Defining an inner class to support the connectionPoolingProperties'Map object from the original class.static class
DatabaseConnection.ExtraOptions
Defining an inner class to support the extraOptions'Map object from the original class.static class
DatabaseConnection.ExtraOptionsOrder
Defining an inner class to support the extraOptionsOrder'Map object from the original class.static class
DatabaseConnection.PasswordEncryptionAdapter
An implementation ofXmlAdapter
that allows us to have passwords encrypted on serialization.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DatabaseConnection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseAccessType
getAccessType()
Gets the value of the accessType property.String
getAccessTypeValue()
Gets the value of the accessTypeValue property.DatabaseConnection.Attributes
getAttributes()
Gets the value of the attributes property.DatabaseConnection.ConnectionPoolingProperties
getConnectionPoolingProperties()
Gets the value of the connectionPoolingProperties property.String
getConnectSql()
Gets the value of the connectSql property.String
getDatabaseName()
Gets the value of the databaseName property.String
getDatabasePort()
Gets the value of the databasePort property.DatabaseType
getDatabaseType()
Gets the value of the databaseType property.String
getDataTablespace()
Gets the value of the dataTablespace property.DatabaseConnection.ExtraOptions
getExtraOptions()
Gets the value of the extraOptions property.DatabaseConnection.ExtraOptionsOrder
getExtraOptionsOrder()
Gets the value of the extraOptionsOrder property.String
getHostname()
Gets the value of the hostname property.String
getId()
Gets the value of the id property.String
getIndexTablespace()
Gets the value of the indexTablespace property.String
getInformixServername()
Gets the value of the informixServername property.int
getInitialPoolSize()
Gets the value of the initialPoolSize property.int
getMaximumPoolSize()
Gets the value of the maximumPoolSize property.String
getName()
Gets the value of the name property.List<PartitionDatabaseMeta>
getPartitioningInformation()
Gets the value of the partitioningInformation property.String
getPassword()
Gets the value of the password property.String
getSQLServerInstance()
Gets the value of the sqlServerInstance property.String
getUsername()
Gets the value of the username property.boolean
isChanged()
Gets the value of the changed property.boolean
isForcingIdentifiersToLowerCase()
Gets the value of the forcingIdentifiersToLowerCase property.boolean
isForcingIdentifiersToUpperCase()
Gets the value of the forcingIdentifiersToUpperCase property.boolean
isPartitioned()
Gets the value of the partitioned property.boolean
isQuoteAllFields()
Gets the value of the quoteAllFields property.boolean
isStreamingResults()
Gets the value of the streamingResults property.boolean
isUsingConnectionPool()
Gets the value of the usingConnectionPool property.boolean
isUsingDoubleDecimalAsSchemaTableSeparator()
Gets the value of the usingDoubleDecimalAsSchemaTableSeparator property.void
setAccessType(DatabaseAccessType value)
Sets the value of the accessType property.void
setAccessTypeValue(String value)
Sets the value of the accessTypeValue property.void
setAttributes(DatabaseConnection.Attributes value)
Sets the value of the attributes property.void
setChanged(boolean value)
Sets the value of the changed property.void
setConnectionPoolingProperties(DatabaseConnection.ConnectionPoolingProperties value)
Sets the value of the connectionPoolingProperties property.void
setConnectSql(String value)
Sets the value of the connectSql property.void
setDatabaseName(String value)
Sets the value of the databaseName property.void
setDatabasePort(String value)
Sets the value of the databasePort property.void
setDatabaseType(DatabaseType value)
Sets the value of the databaseType property.void
setDataTablespace(String value)
Sets the value of the dataTablespace property.void
setExtraOptions(DatabaseConnection.ExtraOptions value)
Sets the value of the extraOptions property.void
setExtraOptionsOrder(DatabaseConnection.ExtraOptionsOrder value)
Sets the value of the extraOptionsOrder property.void
setForcingIdentifiersToLowerCase(boolean value)
Sets the value of the forcingIdentifiersToLowerCase property.void
setForcingIdentifiersToUpperCase(boolean value)
Sets the value of the forcingIdentifiersToUpperCase property.void
setHostname(String value)
Sets the value of the hostname property.void
setId(String value)
Sets the value of the id property.void
setIndexTablespace(String value)
Sets the value of the indexTablespace property.void
setInformixServername(String value)
Sets the value of the informixServername property.void
setInitialPoolSize(int value)
Sets the value of the initialPoolSize property.void
setMaximumPoolSize(int value)
Sets the value of the maximumPoolSize property.void
setName(String value)
Sets the value of the name property.void
setPartitioned(boolean value)
Sets the value of the partitioned property.void
setPassword(String value)
Sets the value of the password property.void
setQuoteAllFields(boolean value)
Sets the value of the quoteAllFields property.void
setSQLServerInstance(String value)
Sets the value of the sqlServerInstance property.void
setStreamingResults(boolean value)
Sets the value of the streamingResults property.void
setUsername(String value)
Sets the value of the username property.void
setUsingConnectionPool(boolean value)
Sets the value of the usingConnectionPool property.void
setUsingDoubleDecimalAsSchemaTableSeparator(boolean value)
Sets the value of the usingDoubleDecimalAsSchemaTableSeparator property.
-
-
-
Field Detail
-
accessType
protected DatabaseAccessType accessType
-
accessTypeValue
protected String accessTypeValue
-
attributes
protected DatabaseConnection.Attributes attributes
-
changed
protected boolean changed
-
connectSql
protected String connectSql
-
connectionPoolingProperties
protected DatabaseConnection.ConnectionPoolingProperties connectionPoolingProperties
-
dataTablespace
protected String dataTablespace
-
databaseName
protected String databaseName
-
databasePort
protected String databasePort
-
databaseType
protected DatabaseType databaseType
-
extraOptions
protected DatabaseConnection.ExtraOptions extraOptions
-
extraOptionsOrder
protected DatabaseConnection.ExtraOptionsOrder extraOptionsOrder
-
forcingIdentifiersToLowerCase
protected boolean forcingIdentifiersToLowerCase
-
forcingIdentifiersToUpperCase
protected boolean forcingIdentifiersToUpperCase
-
hostname
protected String hostname
-
id
protected String id
-
indexTablespace
protected String indexTablespace
-
informixServername
protected String informixServername
-
initialPoolSize
protected int initialPoolSize
-
maximumPoolSize
protected int maximumPoolSize
-
name
protected String name
-
partitioned
protected boolean partitioned
-
partitioningInformation
protected List<PartitionDatabaseMeta> partitioningInformation
-
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
-
-
Method Detail
-
getAccessType
public DatabaseAccessType getAccessType()
Gets the value of the accessType property.- Returns:
- possible object is
DatabaseAccessType
-
setAccessType
public void setAccessType(DatabaseAccessType value)
Sets the value of the accessType property.- Parameters:
value
- allowed object isDatabaseAccessType
-
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 isString
-
getAttributes
public DatabaseConnection.Attributes getAttributes()
Gets the value of the attributes property.- Returns:
- possible object is
DatabaseConnection.Attributes
-
setAttributes
public void setAttributes(DatabaseConnection.Attributes value)
Sets the value of the attributes property.- Parameters:
value
- allowed object isDatabaseConnection.Attributes
-
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 isString
-
getConnectionPoolingProperties
public DatabaseConnection.ConnectionPoolingProperties getConnectionPoolingProperties()
Gets the value of the connectionPoolingProperties property.- Returns:
- possible object is
DatabaseConnection.ConnectionPoolingProperties
-
setConnectionPoolingProperties
public void setConnectionPoolingProperties(DatabaseConnection.ConnectionPoolingProperties value)
Sets the value of the connectionPoolingProperties property.- Parameters:
value
- allowed object isDatabaseConnection.ConnectionPoolingProperties
-
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 isString
-
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 isString
-
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 isString
-
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 isDatabaseType
-
getExtraOptions
public DatabaseConnection.ExtraOptions getExtraOptions()
Gets the value of the extraOptions property.- Returns:
- possible object is
DatabaseConnection.ExtraOptions
-
setExtraOptions
public void setExtraOptions(DatabaseConnection.ExtraOptions value)
Sets the value of the extraOptions property.- Parameters:
value
- allowed object isDatabaseConnection.ExtraOptions
-
getExtraOptionsOrder
public DatabaseConnection.ExtraOptionsOrder getExtraOptionsOrder()
Gets the value of the extraOptionsOrder property.- Returns:
- possible object is
DatabaseConnection.ExtraOptionsOrder
-
setExtraOptionsOrder
public void setExtraOptionsOrder(DatabaseConnection.ExtraOptionsOrder value)
Sets the value of the extraOptionsOrder property.- Parameters:
value
- allowed object isDatabaseConnection.ExtraOptionsOrder
-
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 isString
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
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 isString
-
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 isString
-
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 isString
-
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 aset
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 listPartitionDatabaseMeta
-
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 isString
-
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 isString
-
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 isString
-
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.
-
-