@Override
    public void addNodeAttributes(Element node) {
        node.setAttribute("ID", this.getId());
        node.setAttribute("name", this.getName());
        node.setAttribute("unremovable", String.valueOf(this.isUnremovable()));
        node.setAttribute("immutable", String.valueOf(this.isImmutable()));
        node.setAttribute("hidden", String.valueOf(this.isHidden()));

        if (!this.isDeleteAllowed())
            node.setAttributeNS(Constants.NS_URI, Constants.ATT_DELETE_ALLOWED, "false");
        if (!this.isMoveAllowed())
            node.setAttributeNS(Constants.NS_URI, Constants.ATT_MOVE_ALLOWED, "false");
        if (!this.isEditAllowed())
            node.setAttributeNS(Constants.NS_URI, Constants.ATT_EDIT_ALLOWED, "false");
        if (!this.isAddChildAllowed())
            node.setAttributeNS(Constants.NS_URI, Constants.ATT_ADD_CHILD_ALLOWED, "false");
        if (this.getPrecedence() != 0.0)
            node.setAttributeNS(
                    Constants.NS_URI,
                    Constants.ATT_PRECEDENCE,
                    Double.toString(this.getPrecedence()));
    }
@ Override public void addNodeAttributes ( Element node ) { node . setAttribute ( "ID" , this . getId ( ) ) ; node . setAttribute ( "name" , this . getName ( ) ) ; node . setAttribute ( "unremovable" , String . valueOf ( this . isUnremovable ( ) ) ) ; node . setAttribute ( "immutable" , String . valueOf ( this . isImmutable ( ) ) ) ; node . setAttribute ( "hidden" , String . valueOf ( this . isHidden ( ) ) ) ; if ( ! this . isDeleteAllowed ( ) ) node . setAttributeNS ( Constants . NS_URI , Constants . ATT_DELETE_ALLOWED , "false" ) ; if ( ! this . isMoveAllowed ( ) ) node . setAttributeNS ( Constants . NS_URI , Constants . ATT_MOVE_ALLOWED , "false" ) ; if ( ! this . isEditAllowed ( ) ) node . setAttributeNS ( Constants . NS_URI , Constants . ATT_EDIT_ALLOWED , "false" ) ; if ( ! this . isAddChildAllowed ( ) ) node . setAttributeNS ( Constants . NS_URI , Constants . ATT_ADD_CHILD_ALLOWED , "false" ) ; if ( this . getPrecedence ( ) != 0.0 ) node . setAttributeNS ( Constants . NS_URI , Constants . ATT_PRECEDENCE , Double . toString ( this . getPrecedence ( ) ) ) ; }
Add all of common node attributes to the <code>Element</code>.

@param node an <code>Element</code> value