Package helma.objectmodel

Examples of helma.objectmodel.INode


     *
     *
     * @return ...
     */
    public boolean remove() {
        INode parent = getParent();
        if (parent != null) {
            try {
                parent.removeNode(this);
            } catch (Exception x) {
                // couldn't remove from parent. Log and continue
                getApp().logError("Couldn't remove node from parent: " + x);
            }
        }
View Full Code Here


        if (groupNode != null) {
            groupNode.releaseNode(node);
            return;
        }

        INode parent = node.getParent();

        checkWriteLock();
        node.checkWriteLock();

        // load subnodes in case they haven't been loaded.
View Full Code Here

                    }
                    // check if accessname has changed
                    if (subrel.accessName != null &&
                            subrel.accessName.equals(dbcolumn)) {
                        // if any other node is contained with the new value, remove it
                        INode n = (INode) parent.getChildElement(value);

                        if ((n != null) && (n != this)) {
                            throw new RuntimeException(this +
                                    " already contains an object named " + value);
                        }
View Full Code Here

TOP

Related Classes of helma.objectmodel.INode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.