Class DbDataSourceSettingElement

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

public class DbDataSourceSettingElement extends OdfElement
DOM implementation of OpenDocument element <db:data-source-setting>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • DbDataSourceSettingElement

      public DbDataSourceSettingElement(OdfFileDom ownerDoc)
      Create the instance of DbDataSourceSettingElement
      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:data-source-setting>.
    • getDbDataSourceSettingIsListAttribute

      public Boolean getDbDataSourceSettingIsListAttribute()
      Receives the value of the ODFDOM attribute representation DbDataSourceSettingIsListAttribute , See @db:data-source-setting-is-list
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setDbDataSourceSettingIsListAttribute

      public void setDbDataSourceSettingIsListAttribute(Boolean dbDataSourceSettingIsListValue)
      Sets the value of ODFDOM attribute representation DbDataSourceSettingIsListAttribute , See @db:data-source-setting-is-list
      Parameters:
      dbDataSourceSettingIsListValue - The type is Boolean
    • getDbDataSourceSettingNameAttribute

      public String getDbDataSourceSettingNameAttribute()
      Receives the value of the ODFDOM attribute representation DbDataSourceSettingNameAttribute , See @db:data-source-setting-name

      Attribute is mandatory.

      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDbDataSourceSettingNameAttribute

      public void setDbDataSourceSettingNameAttribute(String dbDataSourceSettingNameValue)
      Sets the value of ODFDOM attribute representation DbDataSourceSettingNameAttribute , See @db:data-source-setting-name
      Parameters:
      dbDataSourceSettingNameValue - The type is String
    • getDbDataSourceSettingTypeAttribute

      public String getDbDataSourceSettingTypeAttribute()
      Receives the value of the ODFDOM attribute representation DbDataSourceSettingTypeAttribute , See @db:data-source-setting-type

      Attribute is mandatory.

      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDbDataSourceSettingTypeAttribute

      public void setDbDataSourceSettingTypeAttribute(String dbDataSourceSettingTypeValue)
      Sets the value of ODFDOM attribute representation DbDataSourceSettingTypeAttribute , See @db:data-source-setting-type
      Parameters:
      dbDataSourceSettingTypeValue - The type is String
    • newDbDataSourceSettingValueElement

      public DbDataSourceSettingValueElement newDbDataSourceSettingValueElement()
      Create child element <db:data-source-setting-value>.

      Child element was added in ODF 1.2

      Child element is mandatory.

      Returns:
      the element <db:data-source-setting-value>
    • 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