Class DbServerDatabaseElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • DbServerDatabaseElement

        public DbServerDatabaseElement​(OdfFileDom ownerDoc)
        Create the instance of DbServerDatabaseElement
        Parameters:
        ownerDoc - The type is OdfFileDom
    • Method Detail

      • getDbDatabaseNameAttribute

        public String getDbDatabaseNameAttribute()
        Receives the value of the ODFDOM attribute representation DbDatabaseNameAttribute , See @db:database-name
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDbDatabaseNameAttribute

        public void setDbDatabaseNameAttribute​(String dbDatabaseNameValue)
        Sets the value of ODFDOM attribute representation DbDatabaseNameAttribute , See @db:database-name
        Parameters:
        dbDatabaseNameValue - The type is String
      • getDbHostnameAttribute

        public String getDbHostnameAttribute()
        Receives the value of the ODFDOM attribute representation DbHostnameAttribute , See @db:hostname
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDbHostnameAttribute

        public void setDbHostnameAttribute​(String dbHostnameValue)
        Sets the value of ODFDOM attribute representation DbHostnameAttribute , See @db:hostname
        Parameters:
        dbHostnameValue - The type is String
      • getDbLocalSocketAttribute

        public String getDbLocalSocketAttribute()
        Receives the value of the ODFDOM attribute representation DbLocalSocketAttribute , See @db:local-socket
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDbLocalSocketAttribute

        public void setDbLocalSocketAttribute​(String dbLocalSocketValue)
        Sets the value of ODFDOM attribute representation DbLocalSocketAttribute , See @db:local-socket
        Parameters:
        dbLocalSocketValue - The type is String
      • getDbPortAttribute

        public Integer getDbPortAttribute()
        Receives the value of the ODFDOM attribute representation DbPortAttribute , See @db:port
        Returns:
        - the Integer , the value or null, if the attribute is not set and no default value defined.
      • setDbPortAttribute

        public void setDbPortAttribute​(Integer dbPortValue)
        Sets the value of ODFDOM attribute representation DbPortAttribute , See @db:port
        Parameters:
        dbPortValue - The type is Integer
      • getDbTypeAttribute

        public String getDbTypeAttribute()
        Receives the value of the ODFDOM attribute representation DbTypeAttribute , See @db:type

        Attribute is mandatory.

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

        public void setDbTypeAttribute​(String dbTypeValue)
        Sets the value of ODFDOM attribute representation DbTypeAttribute , See @db:type
        Parameters:
        dbTypeValue - The type is String
      • accept

        public void accept​(ElementVisitor visitor)
        Description copied from class: OdfElement
        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