package models.relationships;

import play.libs.F.Promise;

import managers.relationships.HasSubstructureRelationshipManager;
import models.nodes.Feature;
import models.nodes.Rule;
import models.nodes.Substructure;


public class HasSubstructureRelationship extends HasRelationship {
    public Feature startNode;
    public Substructure endNode;

    public HasSubstructureRelationship(
        Feature startNode, Substructure endNode) {
        super(startNode, endNode, endNode.rule);
    }

    public static Promise<Boolean> delete(
        Feature startNode, Substructure endNode) {
        return HasSubstructureRelationshipManager.delete(startNode, endNode);
    }

}

@@ -152,34 +152,8 @@
 re;%0A
-import models.nodes.Rule;%0A
 impo

Clean up: Remove unused import.