Class DbLoginElement

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

public class DbLoginElement extends OdfElement
DOM implementation of OpenDocument element <db:login>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • DbLoginElement

      public DbLoginElement(OdfFileDom ownerDoc)
      Create the instance of DbLoginElement
      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:login>.
    • getDbIsPasswordRequiredAttribute

      public Boolean getDbIsPasswordRequiredAttribute()
      Receives the value of the ODFDOM attribute representation DbIsPasswordRequiredAttribute , See @db:is-password-required
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setDbIsPasswordRequiredAttribute

      public void setDbIsPasswordRequiredAttribute(Boolean dbIsPasswordRequiredValue)
      Sets the value of ODFDOM attribute representation DbIsPasswordRequiredAttribute , See @db:is-password-required
      Parameters:
      dbIsPasswordRequiredValue - The type is Boolean
    • getDbLoginTimeoutAttribute

      public Integer getDbLoginTimeoutAttribute()
      Receives the value of the ODFDOM attribute representation DbLoginTimeoutAttribute , See @db:login-timeout
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setDbLoginTimeoutAttribute

      public void setDbLoginTimeoutAttribute(Integer dbLoginTimeoutValue)
      Sets the value of ODFDOM attribute representation DbLoginTimeoutAttribute , See @db:login-timeout
      Parameters:
      dbLoginTimeoutValue - The type is Integer
    • getDbUseSystemUserAttribute

      public Boolean getDbUseSystemUserAttribute()
      Receives the value of the ODFDOM attribute representation DbUseSystemUserAttribute , See @db:use-system-user
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setDbUseSystemUserAttribute

      public void setDbUseSystemUserAttribute(Boolean dbUseSystemUserValue)
      Sets the value of ODFDOM attribute representation DbUseSystemUserAttribute , See @db:use-system-user
      Parameters:
      dbUseSystemUserValue - The type is Boolean
    • getDbUserNameAttribute

      public String getDbUserNameAttribute()
      Receives the value of the ODFDOM attribute representation DbUserNameAttribute , See @db:user-name
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDbUserNameAttribute

      public void setDbUserNameAttribute(String dbUserNameValue)
      Sets the value of ODFDOM attribute representation DbUserNameAttribute , See @db:user-name
      Parameters:
      dbUserNameValue - The type is String
    • 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