Class Datasource


  • @ThreadSafe
    public final class Datasource
    extends java.lang.Object
    An object that models the <datasource> element.
    See Also:
    entity-config.xsd
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the value of the name attribute.
      • getHelperClass

        public java.lang.String getHelperClass()
        Returns the value of the helper-class attribute.
      • getFieldTypeName

        public java.lang.String getFieldTypeName()
        Returns the value of the field-type-name attribute.
      • getUseSchemas

        public boolean getUseSchemas()
        Returns the value of the use-schemas attribute.
      • getSchemaName

        public java.lang.String getSchemaName()
        Returns the value of the schema-name attribute.
      • getCheckOnStart

        public boolean getCheckOnStart()
        Returns the value of the check-on-start attribute.
      • getAddMissingOnStart

        public boolean getAddMissingOnStart()
        Returns the value of the add-missing-on-start attribute.
      • getUsePkConstraintNames

        public boolean getUsePkConstraintNames()
        Returns the value of the use-pk-constraint-names attribute.
      • getCheckPksOnStart

        public boolean getCheckPksOnStart()
        Returns the value of the check-pks-on-start attribute.
      • getConstraintNameClipLength

        public int getConstraintNameClipLength()
        Returns the value of the constraint-name-clip-length attribute.
      • getUseProxyCursor

        public boolean getUseProxyCursor()
        Returns the value of the use-proxy-cursor attribute.
      • getProxyCursorName

        public java.lang.String getProxyCursorName()
        Returns the value of the proxy-cursor-name attribute.
      • getResultFetchSize

        public int getResultFetchSize()
        Returns the value of the result-fetch-size attribute.
      • getUseForeignKeys

        public boolean getUseForeignKeys()
        Returns the value of the use-foreign-keys attribute.
      • getUseForeignKeyIndices

        public boolean getUseForeignKeyIndices()
        Returns the value of the use-foreign-key-indices attribute.
      • getCheckFksOnStart

        public boolean getCheckFksOnStart()
        Returns the value of the check-fks-on-start attribute.
      • getCheckFkIndicesOnStart

        public boolean getCheckFkIndicesOnStart()
        Returns the value of the check-fk-indices-on-start attribute.
      • getFkStyle

        public java.lang.String getFkStyle()
        Returns the value of the fk-style attribute.
      • getUseFkInitiallyDeferred

        public boolean getUseFkInitiallyDeferred()
        Returns the value of the use-fk-initially-deferred attribute.
      • getUseIndices

        public boolean getUseIndices()
        Returns the value of the use-indices attribute.
      • getUseIndicesUnique

        public boolean getUseIndicesUnique()
        Returns the value of the use-indices-unique attribute.
      • getCheckIndicesOnStart

        public boolean getCheckIndicesOnStart()
        Returns the value of the check-indices-on-start attribute.
      • getJoinStyle

        public java.lang.String getJoinStyle()
        Returns the value of the join-style attribute.
      • getAliasViewColumns

        public boolean getAliasViewColumns()
        Returns the value of the alias-view-columns attribute.
      • getAlwaysUseConstraintKeyword

        public boolean getAlwaysUseConstraintKeyword()
        Returns the value of the always-use-constraint-keyword attribute.
      • getDropFkUseForeignKeyKeyword

        public boolean getDropFkUseForeignKeyKeyword()
        Returns the value of the drop-fk-use-foreign-key-keyword attribute.
      • getUseBinaryTypeForBlob

        public boolean getUseBinaryTypeForBlob()
        Returns the value of the use-binary-type-for-blob attribute.
      • getUseOrderByNulls

        public boolean getUseOrderByNulls()
        Returns the value of the use-order-by-nulls attribute.
      • getOffsetStyle

        public java.lang.String getOffsetStyle()
        Returns the value of the offset-style attribute.
      • getTableType

        public java.lang.String getTableType()
        Returns the value of the table-type attribute.
      • getCharacterSet

        public java.lang.String getCharacterSet()
        Returns the value of the character-set attribute.
      • getCollate

        public java.lang.String getCollate()
        Returns the value of the collate attribute.
      • getMaxWorkerPoolSize

        public int getMaxWorkerPoolSize()
        Returns the value of the max-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.