au.com.zip.cs
Interface EntityRelation

All Known Subinterfaces:
CrossTableEntityRelation
All Known Implementing Classes:
AbstractCrossTableEntityRelation, AbstractEntityRelation, DatedEntityRelation

public interface EntityRelation

A relationship between an Entity from one table to other Entities, possibly in other tables.

Author:
Cameron Simpson <cs@zip.com.au> 16jul2003

Method Summary
 List follow(Entity src)
          Return a List of Entities that are implied by this EntityRelation.
 EntityTable getSourceTable()
          Return the EntityTable from which this EntityRelation springs.
 

Method Detail

getSourceTable

EntityTable getSourceTable()
Return the EntityTable from which this EntityRelation springs.

Returns:
the source table

follow

List follow(Entity src)
Return a List of Entities that are implied by this EntityRelation.

Parameters:
src - the source Entity
Returns:
the matching destination Entities