org.eobjects.metamodel.data
Interface WhereClauseBuilder<T>

Type Parameters:
T - the return type of the WhereClauseBuilders builder methods
All Known Subinterfaces:
RowDeletionBuilder, RowUpdationBuilder
All Known Implementing Classes:
AbstractRowDeletionBuilder, AbstractRowUpdationBuilder, DeleteAndInsertBuilder, DeleteFrom, Update

public interface WhereClauseBuilder<T>

An interface for builder components that formulate a WHERE clause, either for querying, updating, deleting or other purposes.


Method Summary
 FilterBuilder<T> where(Column column)
          Defines a where item to set as a criteria
 T where(FilterItem... filterItems)
          Applies where items to set criteria
 T where(Iterable<FilterItem> filterItems)
          Applies where items to set criteria
 FilterBuilder<T> where(String columnName)
          Defines a where item to set as a criteria
 

Method Detail

where

FilterBuilder<T> where(Column column)
Defines a where item to set as a criteria

Parameters:
column - a column to apply a criteria for
Returns:
a builder object for further building the where item

where

FilterBuilder<T> where(String columnName)
Defines a where item to set as a criteria

Parameters:
columnName - the name of the colum to which the criteria will be applied
Returns:
a builder object for further building the where item

where

T where(FilterItem... filterItems)
Applies where items to set criteria

Parameters:
filterItems - the where items to set
Returns:
the builder object itself, for further building of the update

where

T where(Iterable<FilterItem> filterItems)
Applies where items to set criteria

Parameters:
filterItems - the where items to set
Returns:
the builder object, for further building of the update


Copyright © 2007-2013. All Rights Reserved.