Produced by Siminov Software Solution LLP

siminov.orm.database.impl
Interface ISumClause

All Known Implementing Classes:
Clause

public interface ISumClause

Exposes API's to provide condition on where clause to calculate sum.


Field Summary
static java.lang.String INTERFACE_NAME
           
 
Method Summary
 ISum between(java.lang.String start, java.lang.String end)
          Used to specify BETWEEN condition.
 ISum equalTo(java.lang.String value)
          Used to specify EQUAL TO (=) condition.
 ISum greaterThan(java.lang.String value)
          Used to specify GREATER THAN (>) condition.
 ISum greaterThanEqual(java.lang.String value)
          Used to specify GREATER THAN EQUAL (>=) condition.
 ISum in(java.lang.String... values)
          Used to specify IN condition.
 ISum lessThan(java.lang.String value)
          Used to specify LESS THAN (<) condition.
 ISum lessThanEqual(java.lang.String value)
          Used to specify LESS THAN EQUAL (<=) condition.
 ISum like(java.lang.String like)
          Used to specify LIKE condition.
 ISum notEqualTo(java.lang.String value)
          Used to specify NOT EQUAL TO (!=) condition.
 

Field Detail

INTERFACE_NAME

static final java.lang.String INTERFACE_NAME
Method Detail

equalTo

ISum equalTo(java.lang.String value)
Used to specify EQUAL TO (=) condition.

Parameters:
value - Value for which EQUAL TO (=) condition will be applied.
Returns:
ISum Interface.

notEqualTo

ISum notEqualTo(java.lang.String value)
Used to specify NOT EQUAL TO (!=) condition.

Parameters:
value - Value for which NOT EQUAL TO (=) condition will be applied.
Returns:
ISum Interface.

greaterThan

ISum greaterThan(java.lang.String value)
Used to specify GREATER THAN (>) condition.

Parameters:
value - Value for while GREATER THAN (>) condition will be specified.
Returns:
ISum Interface.

greaterThanEqual

ISum greaterThanEqual(java.lang.String value)
Used to specify GREATER THAN EQUAL (>=) condition.

Parameters:
value - Value for which GREATER THAN EQUAL (>=) condition will be specified.
Returns:
ISum Interface.

lessThan

ISum lessThan(java.lang.String value)
Used to specify LESS THAN (<) condition.

Parameters:
value - Value for which LESS THAN (<) condition will be specified.
Returns:
ISum Interface.

lessThanEqual

ISum lessThanEqual(java.lang.String value)
Used to specify LESS THAN EQUAL (<=) condition.

Parameters:
value - Value for which LESS THAN EQUAL (<=) condition will be specified.
Returns:
ISum Interface.

between

ISum between(java.lang.String start,
             java.lang.String end)
Used to specify BETWEEN condition.

Parameters:
start - Start Range.
end - End Range.
Returns:
ISum Interface.

like

ISum like(java.lang.String like)
Used to specify LIKE condition.

Parameters:
like - LIKE condition.
Returns:
ISum Interface.

in

ISum in(java.lang.String... values)
Used to specify IN condition.

Parameters:
values - Values for IN condition.
Returns:
ISum Interface.

Apache License 2.0

Copyright 2013