Class DbApplicationConnectionSettingsElement

All Implemented Interfaces:
Serializable, Cloneable, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class DbApplicationConnectionSettingsElement extends OdfElement
DOM implementation of OpenDocument element <db:application-connection-settings>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • DbApplicationConnectionSettingsElement

      public DbApplicationConnectionSettingsElement(OdfFileDom ownerDoc)
      Create the instance of DbApplicationConnectionSettingsElement
      Parameters:
      ownerDoc - The type is OdfFileDom
  • Method Details

    • getOdfName

      public OdfName getOdfName()
      Get the element name
      Specified by:
      getOdfName in class OdfElement
      Returns:
      return OdfName the name of element <db:application-connection-settings>.
    • getDbAppendTableAliasNameAttribute

      public Boolean getDbAppendTableAliasNameAttribute()
      Receives the value of the ODFDOM attribute representation DbAppendTableAliasNameAttribute , See @db:append-table-alias-name
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setDbAppendTableAliasNameAttribute

      public void setDbAppendTableAliasNameAttribute(Boolean dbAppendTableAliasNameValue)
      Sets the value of ODFDOM attribute representation DbAppendTableAliasNameAttribute , See @db:append-table-alias-name
      Parameters:
      dbAppendTableAliasNameValue - The type is Boolean
    • getDbBooleanComparisonModeAttribute

      public String getDbBooleanComparisonModeAttribute()
      Receives the value of the ODFDOM attribute representation DbBooleanComparisonModeAttribute , See @db:boolean-comparison-mode
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDbBooleanComparisonModeAttribute

      public void setDbBooleanComparisonModeAttribute(String dbBooleanComparisonModeValue)
      Sets the value of ODFDOM attribute representation DbBooleanComparisonModeAttribute , See @db:boolean-comparison-mode
      Parameters:
      dbBooleanComparisonModeValue - The type is String
    • getDbEnableSql92CheckAttribute

      public Boolean getDbEnableSql92CheckAttribute()
      Receives the value of the ODFDOM attribute representation DbEnableSql92CheckAttribute , See @db:enable-sql92-check
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setDbEnableSql92CheckAttribute

      public void setDbEnableSql92CheckAttribute(Boolean dbEnableSql92CheckValue)
      Sets the value of ODFDOM attribute representation DbEnableSql92CheckAttribute , See @db:enable-sql92-check
      Parameters:
      dbEnableSql92CheckValue - The type is Boolean
    • getDbIgnoreDriverPrivilegesAttribute

      public Boolean getDbIgnoreDriverPrivilegesAttribute()
      Receives the value of the ODFDOM attribute representation DbIgnoreDriverPrivilegesAttribute , See @db:ignore-driver-privileges
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setDbIgnoreDriverPrivilegesAttribute

      public void setDbIgnoreDriverPrivilegesAttribute(Boolean dbIgnoreDriverPrivilegesValue)
      Sets the value of ODFDOM attribute representation DbIgnoreDriverPrivilegesAttribute , See @db:ignore-driver-privileges
      Parameters:
      dbIgnoreDriverPrivilegesValue - The type is Boolean
    • getDbIsTableNameLengthLimitedAttribute

      public Boolean getDbIsTableNameLengthLimitedAttribute()
      Receives the value of the ODFDOM attribute representation DbIsTableNameLengthLimitedAttribute , See @db:is-table-name-length-limited
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setDbIsTableNameLengthLimitedAttribute

      public void setDbIsTableNameLengthLimitedAttribute(Boolean dbIsTableNameLengthLimitedValue)
      Sets the value of ODFDOM attribute representation DbIsTableNameLengthLimitedAttribute , See @db:is-table-name-length-limited
      Parameters:
      dbIsTableNameLengthLimitedValue - The type is Boolean
    • getDbMaxRowCountAttribute

      public Integer getDbMaxRowCountAttribute()
      Receives the value of the ODFDOM attribute representation DbMaxRowCountAttribute , See @db:max-row-count
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setDbMaxRowCountAttribute

      public void setDbMaxRowCountAttribute(Integer dbMaxRowCountValue)
      Sets the value of ODFDOM attribute representation DbMaxRowCountAttribute , See @db:max-row-count
      Parameters:
      dbMaxRowCountValue - The type is Integer
    • getDbSuppressVersionColumnsAttribute

      public Boolean getDbSuppressVersionColumnsAttribute()
      Receives the value of the ODFDOM attribute representation DbSuppressVersionColumnsAttribute , See @db:suppress-version-columns
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setDbSuppressVersionColumnsAttribute

      public void setDbSuppressVersionColumnsAttribute(Boolean dbSuppressVersionColumnsValue)
      Sets the value of ODFDOM attribute representation DbSuppressVersionColumnsAttribute , See @db:suppress-version-columns
      Parameters:
      dbSuppressVersionColumnsValue - The type is Boolean
    • getDbUseCatalogAttribute

      public Boolean getDbUseCatalogAttribute()
      Receives the value of the ODFDOM attribute representation DbUseCatalogAttribute , See @db:use-catalog
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setDbUseCatalogAttribute

      public void setDbUseCatalogAttribute(Boolean dbUseCatalogValue)
      Sets the value of ODFDOM attribute representation DbUseCatalogAttribute , See @db:use-catalog
      Parameters:
      dbUseCatalogValue - The type is Boolean
    • newDbDataSourceSettingsElement

      public DbDataSourceSettingsElement newDbDataSourceSettingsElement()
      Create child element <db:data-source-settings>.

      Child element was added in ODF 1.2

      Returns:
      the element <db:data-source-settings>
    • newDbTableFilterElement

      public DbTableFilterElement newDbTableFilterElement()
      Create child element <db:table-filter>.

      Child element was added in ODF 1.2

      Returns:
      the element <db:table-filter>
    • newDbTableTypeFilterElement

      public DbTableTypeFilterElement newDbTableTypeFilterElement()
      Create child element <db:table-type-filter>.

      Child element was added in ODF 1.2

      Returns:
      the element <db:table-type-filter>
    • accept

      public void accept(ElementVisitor visitor)
      Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.
      Overrides:
      accept in class OdfElement
      Parameters:
      visitor - an instance of DefaultElementVisitor