Interface Relationship<L extends Any<?>,R extends Any<?>>

All Superinterfaces:
Entity, Serializable
All Known Subinterfaces:
AMembership, ARelationship, Membership<L>, UMembership, URelationship
All Known Implementing Classes:
AbstractMembership, JPAAMembership, JPAARelationship, JPAUMembership, JPAURelationship, Neo4jAMembership, Neo4jARelationship, Neo4jUMembership, Neo4jURelationship

public interface Relationship<L extends Any<?>,R extends Any<?>> extends Entity
  • Method Details

    • getType

      RelationshipType getType()
    • setType

      void setType(RelationshipType type)
    • getLeftEnd

      L getLeftEnd()
    • setLeftEnd

      void setLeftEnd(L leftEnd)
    • getRightEnd

      R getRightEnd()
    • setRightEnd

      void setRightEnd(R rightEnd)