jACOB 2.7 API Documentation.

de.tif.jacob.core.definition
Interface IManyToManyRelation

All Superinterfaces:
INamedObjectDefinition, IRelation

public interface IManyToManyRelation
extends IRelation

This interface represents a N:M relation. Many to many relations are always buildup by means of two 1:N relations linking the two table aliases via an intermediate table (alias).


Method Summary
 IOneToManyRelation getFromRelation()
          Returns the from 1:N relation, i.e. the relation linking the from table alias with the intermediate table alias.
 ITableAlias getIntermediateTableAlias()
          Returns the table alias of the intermediate table.
 IOneToManyRelation getToRelation()
          Returns the to 1:N relation, i.e. the relation linking the to table alias with the intermediate table alias.
 
Methods inherited from interface de.tif.jacob.core.definition.IRelation
getFromTableAlias, getToTableAlias
 
Methods inherited from interface de.tif.jacob.core.definition.INamedObjectDefinition
getDescription, getName, getProperty
 

Method Detail

getIntermediateTableAlias

ITableAlias getIntermediateTableAlias()
Returns the table alias of the intermediate table.

Returns:
the intermediate table alias

getFromRelation

IOneToManyRelation getFromRelation()
Returns the from 1:N relation, i.e. the relation linking the from table alias with the intermediate table alias.

Returns:
the from relation.

getToRelation

IOneToManyRelation getToRelation()
Returns the to 1:N relation, i.e. the relation linking the to table alias with the intermediate table alias.

Returns:
the from relation.

jACOB 2.7 API Documentation.