Class Edge


public class Edge extends OntologyElement
A relationship between two nodes.
  • Constructor Details

    • Edge

      public Edge()
  • Method Details

    • getSubject

      public Node getSubject()
    • getPredicate

      public Node getPredicate()
    • getObject

      public Node getObject()
    • getSubjectRepresentation

      public String getSubjectRepresentation()
    • getPredicateRepresentation

      public String getPredicateRepresentation()
    • getObjectRepresentation

      public String getObjectRepresentation()
    • getAnnotationSet

      public Annotation getAnnotationSet()
    • setSubject

      public void setSubject(Node subject)
    • setPredicate

      public void setPredicate(Node predicate)
    • setObject

      public void setObject(Node object)
    • setSubjectRepresentation

      public void setSubjectRepresentation(String subjectRepresentation)
    • setPredicateRepresentation

      public void setPredicateRepresentation(String predicateRepresentation)
    • setObjectRepresentation

      public void setObjectRepresentation(String objectRepresentation)
    • setAnnotationSet

      public void setAnnotationSet(Annotation annotationSet)
    • toString

      public String toString()
      Overrides:
      toString in class OntologyElement
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class OntologyElement
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class OntologyElement
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class OntologyElement