Interface Relation

  • All Known Implementing Classes:
    DefaultRelation

    public interface Relation
    A basic relation interface.
    Author:
    burgetr
    • Method Detail

      • getName

        String getName()
        Gets the name of the relation.
        Returns:
        the relation name
      • isSymmetric

        boolean isSymmetric()
        Is this relation symmetric? i.e. xRy => yRx
        Returns:
        true when the relation is symmetric
      • getInverse

        Relation getInverse()
        The inverse relation to the given relation (if applicable).
        Returns:
        the inverse relation or null