package models.nodes;

import play.libs.F.Promise;

import constants.NodeType;


public abstract class OntologyNode extends LabeledNodeWithProperties {
    public String name;

    protected OntologyNode(NodeType label) {
        super(label);
    }

    public Promise<Boolean> delete() {
        return null;
    }

}

package models.nodes;

import play.libs.F.Promise;

import constants.NodeType;


public abstract class OntologyNode extends LabeledNodeWithProperties {
    public String name;

    protected OntologyNode(NodeType label) {
        super(label);
    }

}

Enable operations that write to the DB to be rolled back on error by wrapping them in transactions.
WIP: Enable operations that write to the DB to be rolled back on error
by wrapping them in transactions.

Clean up: Remove leftover `delete` method from `OntologyNode` class.
