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);
    }

}

package models.relationships;

import play.libs.F.Promise;

import managers.relationships.HasSubstructureRelationshipManager;
import models.nodes.Feature;
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);
    }

}

Clean up: Remove unused import.
Clean up: Remove unused import.
