jACOB 2.7 API Documentation.

de.tif.jacob.core.definition
Interface IRelation

All Superinterfaces:
INamedObjectDefinition
All Known Subinterfaces:
IManyToManyRelation, IOneToManyRelation

public interface IRelation
extends INamedObjectDefinition

This interface represents a relation. Relations are used to link two table aliases to each other.


Method Summary
 ITableAlias getFromTableAlias()
          Returns the from table alias.
 ITableAlias getToTableAlias()
          Returns the to table alias.
 
Methods inherited from interface de.tif.jacob.core.definition.INamedObjectDefinition
getDescription, getName, getProperty
 

Method Detail

getFromTableAlias

ITableAlias getFromTableAlias()
Returns the from table alias. The from table alias defines the "starting point" of the relation. For 1:N relations the from table alias is always the one side.

Returns:
the from table alias

getToTableAlias

ITableAlias getToTableAlias()
Returns the to table alias. The to table alias defines the "end point" of the relation. For 1:N relations the to table alias is always the N side.

Returns:
the from table alias

jACOB 2.7 API Documentation.