Class DbDriverSettingsElement

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

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

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • DbDriverSettingsElement

      public DbDriverSettingsElement(OdfFileDom ownerDoc)
      Create the instance of DbDriverSettingsElement
      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:driver-settings>.
    • getDbBaseDnAttribute

      public String getDbBaseDnAttribute()
      Receives the value of the ODFDOM attribute representation DbBaseDnAttribute , See @db:base-dn
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDbBaseDnAttribute

      public void setDbBaseDnAttribute(String dbBaseDnValue)
      Sets the value of ODFDOM attribute representation DbBaseDnAttribute , See @db:base-dn
      Parameters:
      dbBaseDnValue - The type is String
    • getDbIsFirstRowHeaderLineAttribute

      public Boolean getDbIsFirstRowHeaderLineAttribute()
      Receives the value of the ODFDOM attribute representation DbIsFirstRowHeaderLineAttribute , See @db:is-first-row-header-line
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setDbIsFirstRowHeaderLineAttribute

      public void setDbIsFirstRowHeaderLineAttribute(Boolean dbIsFirstRowHeaderLineValue)
      Sets the value of ODFDOM attribute representation DbIsFirstRowHeaderLineAttribute , See @db:is-first-row-header-line
      Parameters:
      dbIsFirstRowHeaderLineValue - The type is Boolean
    • getDbParameterNameSubstitutionAttribute

      public Boolean getDbParameterNameSubstitutionAttribute()
      Receives the value of the ODFDOM attribute representation DbParameterNameSubstitutionAttribute , See @db:parameter-name-substitution
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setDbParameterNameSubstitutionAttribute

      public void setDbParameterNameSubstitutionAttribute(Boolean dbParameterNameSubstitutionValue)
      Sets the value of ODFDOM attribute representation DbParameterNameSubstitutionAttribute , See @db:parameter-name-substitution
      Parameters:
      dbParameterNameSubstitutionValue - The type is Boolean
    • getDbShowDeletedAttribute

      public Boolean getDbShowDeletedAttribute()
      Receives the value of the ODFDOM attribute representation DbShowDeletedAttribute , See @db:show-deleted
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setDbShowDeletedAttribute

      public void setDbShowDeletedAttribute(Boolean dbShowDeletedValue)
      Sets the value of ODFDOM attribute representation DbShowDeletedAttribute , See @db:show-deleted
      Parameters:
      dbShowDeletedValue - The type is Boolean
    • getDbSystemDriverSettingsAttribute

      public String getDbSystemDriverSettingsAttribute()
      Receives the value of the ODFDOM attribute representation DbSystemDriverSettingsAttribute , See @db:system-driver-settings
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDbSystemDriverSettingsAttribute

      public void setDbSystemDriverSettingsAttribute(String dbSystemDriverSettingsValue)
      Sets the value of ODFDOM attribute representation DbSystemDriverSettingsAttribute , See @db:system-driver-settings
      Parameters:
      dbSystemDriverSettingsValue - The type is String
    • newDbAutoIncrementElement

      public DbAutoIncrementElement newDbAutoIncrementElement()
      Create child element <db:auto-increment>.

      Child element was added in ODF 1.2

      Returns:
      the element <db:auto-increment>
    • newDbCharacterSetElement

      public DbCharacterSetElement newDbCharacterSetElement()
      Create child element <db:character-set>.

      Child element was added in ODF 1.2

      Returns:
      the element <db:character-set>
    • newDbDelimiterElement

      public DbDelimiterElement newDbDelimiterElement()
      Create child element <db:delimiter>.

      Child element was added in ODF 1.2

      Returns:
      the element <db:delimiter>
    • newDbTableSettingsElement

      public DbTableSettingsElement newDbTableSettingsElement()
      Create child element <db:table-settings>.

      Child element was added in ODF 1.2

      Returns:
      the element <db:table-settings>
    • 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