exedio cope

com.exedio.cope
Interface Function<E>

All Superinterfaces:
Selectable<E>
All Known Subinterfaces:
ItemFunction<E>, NumberFunction<E>, StringFunction
All Known Implementing Classes:
BindFunction, BindItemFunction, BindNumberFunction, BindStringFunction, BooleanField, DateField, DayField, DivideView, DoubleField, EnumField, FunctionField, IntegerField, ItemField, LengthView, LongField, MultiplyLiteralView, MultiplyView, NumberField, NumberView, PlusLiteralView, PlusView, StringField, StringView, Type.This, UppercaseView, View

public interface Function<E>
extends Selectable<E>


Method Summary
 void appendParameter(com.exedio.cope.Statement bf, E value)
          Deprecated. For internal use within COPE only.
 Condition between(E lowerBound, E upperBound)
          Returns a condition, that is equivalent to greaterOrEqual(lowerBound).
 BindFunction<E> bind(Join join)
           
 Condition equal(E value)
          Returns a condition, that is true for all items, if and only if the value of this function for that item is equal to the given parameter.
 CompareFunctionCondition<E> equal(Function<E> right)
          Returns a condition, that is true for all items, if and only if the value of this function for that item is equal to the value of the right function.
 Condition equal(Join join, E value)
           
 E get(Item item)
           
 Class<E> getValueClass()
           
 CompareCondition<E> greater(E value)
          Returns a condition, that is true for all items, if and only if the value of this function for that item is greater than the given parameter.
 CompareFunctionCondition<E> greater(Function<E> right)
          Returns a condition, that is true for all items, if and only if the value of this function for that item is greater than the value of the right function.
 CompareCondition<E> greaterOrEqual(E value)
          Returns a condition, that is true for all items, if and only if the value of this function for that item is not less than the given parameter.
 CompareFunctionCondition<E> greaterOrEqual(Function<E> right)
          Returns a condition, that is true for all items, if and only if the value of this function for that item is not less than the value of the right function.
 Condition in(Collection<E> value)
           
 Condition in(E... values)
           
 IsNullCondition<E> isNotNull()
          Returns a condition, that is true for all items, if and only if the value of this function for that item is not null.
 IsNullCondition<E> isNull()
          Returns a condition, that is true for all items, if and only if the value of this function for that item is null.
 CompareCondition<E> less(E value)
          Returns a condition, that is true for all items, if and only if the value of this function for that item is less than the given parameter.
 CompareFunctionCondition<E> less(Function<E> right)
          Returns a condition, that is true for all items, if and only if the value of this function for that item is less than the value of the right function.
 CompareCondition<E> lessOrEqual(E value)
          Returns a condition, that is true for all items, if and only if the value of this function for that item is not greater than the given parameter.
 CompareFunctionCondition<E> lessOrEqual(Function<E> right)
          Returns a condition, that is true for all items, if and only if the value of this function for that item is not greater than the value of the right function.
 ExtremumAggregate<E> max()
           
 ExtremumAggregate<E> min()
           
 Condition notEqual(E value)
           
 CompareFunctionCondition<E> notEqual(Function<E> right)
          Returns a condition, that is true for all items, if and only if the value of this function for that item is not equal to the value of the right function.
 
Methods inherited from interface com.exedio.cope.Selectable
append, appendSelect, check, getType, toString
 

Method Detail

get

E get(Item item)

getValueClass

Class<E> getValueClass()

appendParameter

@Deprecated
void appendParameter(com.exedio.cope.Statement bf,
                                E value)
Deprecated. For internal use within COPE only.


isNull

IsNullCondition<E> isNull()
Returns a condition, that is true for all items, if and only if the value of this function for that item is null.


isNotNull

IsNullCondition<E> isNotNull()
Returns a condition, that is true for all items, if and only if the value of this function for that item is not null.


equal

Condition equal(E value)
Returns a condition, that is true for all items, if and only if the value of this function for that item is equal to the given parameter.


equal

Condition equal(Join join,
                E value)

in

Condition in(E... values)

in

Condition in(Collection<E> value)

notEqual

Condition notEqual(E value)

less

CompareCondition<E> less(E value)
Returns a condition, that is true for all items, if and only if the value of this function for that item is less than the given parameter.


lessOrEqual

CompareCondition<E> lessOrEqual(E value)
Returns a condition, that is true for all items, if and only if the value of this function for that item is not greater than the given parameter.


greater

CompareCondition<E> greater(E value)
Returns a condition, that is true for all items, if and only if the value of this function for that item is greater than the given parameter.


greaterOrEqual

CompareCondition<E> greaterOrEqual(E value)
Returns a condition, that is true for all items, if and only if the value of this function for that item is not less than the given parameter.


between

Condition between(E lowerBound,
                  E upperBound)
Returns a condition, that is equivalent to greaterOrEqual(lowerBound).and(lessOrEqual(upperBound)).


equal

CompareFunctionCondition<E> equal(Function<E> right)
Returns a condition, that is true for all items, if and only if the value of this function for that item is equal to the value of the right function.


notEqual

CompareFunctionCondition<E> notEqual(Function<E> right)
Returns a condition, that is true for all items, if and only if the value of this function for that item is not equal to the value of the right function.


less

CompareFunctionCondition<E> less(Function<E> right)
Returns a condition, that is true for all items, if and only if the value of this function for that item is less than the value of the right function.


lessOrEqual

CompareFunctionCondition<E> lessOrEqual(Function<E> right)
Returns a condition, that is true for all items, if and only if the value of this function for that item is not greater than the value of the right function.


greater

CompareFunctionCondition<E> greater(Function<E> right)
Returns a condition, that is true for all items, if and only if the value of this function for that item is greater than the value of the right function.


greaterOrEqual

CompareFunctionCondition<E> greaterOrEqual(Function<E> right)
Returns a condition, that is true for all items, if and only if the value of this function for that item is not less than the value of the right function.


min

ExtremumAggregate<E> min()

max

ExtremumAggregate<E> max()

bind

BindFunction<E> bind(Join join)

Cope with
Object
Persistence

SourceForge.net LogoCopyright © 2004-2008 exedio Gesellschaft für Softwareentwicklung mbH. All rights reserved.
svn.12752 build.5319 20090312135114