jACOB 2.7 API Documentation.

de.tif.jacob.core.definition
Interface ITableAliasCondition


public interface ITableAliasCondition

This interface represents a table alias condition. A table alias condition is used to restrict queries performed on a IDataTable or IDataBrowser in such a way that only those records are returned which semantically match to the corresponding table alias.

See Also:
ITableAlias.getCondition()

Method Summary
 java.util.Set getForeignAliases()
          Returns a set containing all foreign table aliases, which are referred within this alias condition.
 boolean isOptionalForeignAlias(ITableAlias alias)
          Determines whether the given alias should be treated as optional.
 java.lang.String toString()
          Returns the alias condition itself as a String.
 

Method Detail

toString

java.lang.String toString()
Returns the alias condition itself as a String.

Overrides:
toString in class java.lang.Object
Returns:
the alias condition as String

getForeignAliases

java.util.Set getForeignAliases()
Returns a set containing all foreign table aliases, which are referred within this alias condition.

Returns:
Set of ITableAlias

isOptionalForeignAlias

boolean isOptionalForeignAlias(ITableAlias alias)
Determines whether the given alias should be treated as optional. This has the effect that search calls considering this condition will result into an outer join (instead of an inner join) regarding the given foreign table alias.

Parameters:
alias - the foreign table alias to check
Returns:
true if the foreign table alias is optional, otherwise false.

jACOB 2.7 API Documentation.