Class Datasource
- java.lang.Object
-
- org.apache.ofbiz.entity.config.model.Datasource
-
@ThreadSafe public final class Datasource extends java.lang.Object
An object that models the<datasource>
element.- See Also:
entity-config.xsd
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAddMissingOnStart()
Returns the value of theadd-missing-on-start
attribute.boolean
getAliasViewColumns()
Returns the value of thealias-view-columns
attribute.boolean
getAlwaysUseConstraintKeyword()
Returns the value of thealways-use-constraint-keyword
attribute.java.lang.String
getCharacterSet()
Returns the value of thecharacter-set
attribute.boolean
getCheckFkIndicesOnStart()
Returns the value of thecheck-fk-indices-on-start
attribute.boolean
getCheckFksOnStart()
Returns the value of thecheck-fks-on-start
attribute.boolean
getCheckIndicesOnStart()
Returns the value of thecheck-indices-on-start
attribute.boolean
getCheckOnStart()
Returns the value of thecheck-on-start
attribute.boolean
getCheckPksOnStart()
Returns the value of thecheck-pks-on-start
attribute.java.lang.String
getCollate()
Returns the value of thecollate
attribute.int
getConstraintNameClipLength()
Returns the value of theconstraint-name-clip-length
attribute.boolean
getDropFkUseForeignKeyKeyword()
Returns the value of thedrop-fk-use-foreign-key-keyword
attribute.java.lang.String
getFieldTypeName()
Returns the value of thefield-type-name
attribute.java.lang.String
getFkStyle()
Returns the value of thefk-style
attribute.java.lang.String
getHelperClass()
Returns the value of thehelper-class
attribute.InlineJdbc
getInlineJdbc()
Returns the<inline-jdbc>
child element.JndiJdbc
getJndiJdbc()
Returns the<jndi-jdbc>
child element.java.lang.String
getJoinStyle()
Returns the value of thejoin-style
attribute.int
getMaxWorkerPoolSize()
Returns the value of themax-worker-pool-size
attribute.java.lang.String
getName()
Returns the value of thename
attribute.java.lang.String
getOffsetStyle()
Returns the value of theoffset-style
attribute.java.lang.String
getProxyCursorName()
Returns the value of theproxy-cursor-name
attribute.java.util.List<ReadData>
getReadDataList()
Returns the<read-data>
child elements.int
getResultFetchSize()
Returns the value of theresult-fetch-size
attribute.java.lang.String
getSchemaName()
Returns the value of theschema-name
attribute.java.util.List<SqlLoadPath>
getSqlLoadPathList()
Returns the<sql-load-path>
child elements.java.lang.String
getTableType()
Returns the value of thetable-type
attribute.TyrexDataSource
getTyrexDataSource()
Returns the<tyrex-dataSource>
child element.boolean
getUseBinaryTypeForBlob()
Returns the value of theuse-binary-type-for-blob
attribute.boolean
getUseFkInitiallyDeferred()
Returns the value of theuse-fk-initially-deferred
attribute.boolean
getUseForeignKeyIndices()
Returns the value of theuse-foreign-key-indices
attribute.boolean
getUseForeignKeys()
Returns the value of theuse-foreign-keys
attribute.boolean
getUseIndices()
Returns the value of theuse-indices
attribute.boolean
getUseIndicesUnique()
Returns the value of theuse-indices-unique
attribute.boolean
getUseOrderByNulls()
Returns the value of theuse-order-by-nulls
attribute.boolean
getUsePkConstraintNames()
Returns the value of theuse-pk-constraint-names
attribute.boolean
getUseProxyCursor()
Returns the value of theuse-proxy-cursor
attribute.boolean
getUseSchemas()
Returns the value of theuse-schemas
attribute.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the value of thename
attribute.
-
getHelperClass
public java.lang.String getHelperClass()
Returns the value of thehelper-class
attribute.
-
getFieldTypeName
public java.lang.String getFieldTypeName()
Returns the value of thefield-type-name
attribute.
-
getUseSchemas
public boolean getUseSchemas()
Returns the value of theuse-schemas
attribute.
-
getSchemaName
public java.lang.String getSchemaName()
Returns the value of theschema-name
attribute.
-
getCheckOnStart
public boolean getCheckOnStart()
Returns the value of thecheck-on-start
attribute.
-
getAddMissingOnStart
public boolean getAddMissingOnStart()
Returns the value of theadd-missing-on-start
attribute.
-
getUsePkConstraintNames
public boolean getUsePkConstraintNames()
Returns the value of theuse-pk-constraint-names
attribute.
-
getCheckPksOnStart
public boolean getCheckPksOnStart()
Returns the value of thecheck-pks-on-start
attribute.
-
getConstraintNameClipLength
public int getConstraintNameClipLength()
Returns the value of theconstraint-name-clip-length
attribute.
-
getUseProxyCursor
public boolean getUseProxyCursor()
Returns the value of theuse-proxy-cursor
attribute.
-
getProxyCursorName
public java.lang.String getProxyCursorName()
Returns the value of theproxy-cursor-name
attribute.
-
getResultFetchSize
public int getResultFetchSize()
Returns the value of theresult-fetch-size
attribute.
-
getUseForeignKeys
public boolean getUseForeignKeys()
Returns the value of theuse-foreign-keys
attribute.
-
getUseForeignKeyIndices
public boolean getUseForeignKeyIndices()
Returns the value of theuse-foreign-key-indices
attribute.
-
getCheckFksOnStart
public boolean getCheckFksOnStart()
Returns the value of thecheck-fks-on-start
attribute.
-
getCheckFkIndicesOnStart
public boolean getCheckFkIndicesOnStart()
Returns the value of thecheck-fk-indices-on-start
attribute.
-
getFkStyle
public java.lang.String getFkStyle()
Returns the value of thefk-style
attribute.
-
getUseFkInitiallyDeferred
public boolean getUseFkInitiallyDeferred()
Returns the value of theuse-fk-initially-deferred
attribute.
-
getUseIndices
public boolean getUseIndices()
Returns the value of theuse-indices
attribute.
-
getUseIndicesUnique
public boolean getUseIndicesUnique()
Returns the value of theuse-indices-unique
attribute.
-
getCheckIndicesOnStart
public boolean getCheckIndicesOnStart()
Returns the value of thecheck-indices-on-start
attribute.
-
getJoinStyle
public java.lang.String getJoinStyle()
Returns the value of thejoin-style
attribute.
-
getAliasViewColumns
public boolean getAliasViewColumns()
Returns the value of thealias-view-columns
attribute.
-
getAlwaysUseConstraintKeyword
public boolean getAlwaysUseConstraintKeyword()
Returns the value of thealways-use-constraint-keyword
attribute.
-
getDropFkUseForeignKeyKeyword
public boolean getDropFkUseForeignKeyKeyword()
Returns the value of thedrop-fk-use-foreign-key-keyword
attribute.
-
getUseBinaryTypeForBlob
public boolean getUseBinaryTypeForBlob()
Returns the value of theuse-binary-type-for-blob
attribute.
-
getUseOrderByNulls
public boolean getUseOrderByNulls()
Returns the value of theuse-order-by-nulls
attribute.
-
getOffsetStyle
public java.lang.String getOffsetStyle()
Returns the value of theoffset-style
attribute.
-
getTableType
public java.lang.String getTableType()
Returns the value of thetable-type
attribute.
-
getCharacterSet
public java.lang.String getCharacterSet()
Returns the value of thecharacter-set
attribute.
-
getCollate
public java.lang.String getCollate()
Returns the value of thecollate
attribute.
-
getMaxWorkerPoolSize
public int getMaxWorkerPoolSize()
Returns the value of themax-worker-pool-size
attribute.
-
getSqlLoadPathList
public java.util.List<SqlLoadPath> getSqlLoadPathList()
Returns the<sql-load-path>
child elements.
-
getReadDataList
public java.util.List<ReadData> getReadDataList()
Returns the<read-data>
child elements.
-
getInlineJdbc
public InlineJdbc getInlineJdbc()
Returns the<inline-jdbc>
child element.
-
getJndiJdbc
public JndiJdbc getJndiJdbc()
Returns the<jndi-jdbc>
child element.
-
getTyrexDataSource
public TyrexDataSource getTyrexDataSource()
Returns the<tyrex-dataSource>
child element.
-
-