Produced by Siminov Software Solution LLP

siminov.orm.database
Class Clause

java.lang.Object
  extended by siminov.orm.database.Clause
All Implemented Interfaces:
IAverageClause, ICountClause, IDeleteClause, IGroupConcatClause, IMaxClause, IMinClause, ISelectClause, ISumClause, ITotalClause

public class Clause
extends java.lang.Object
implements ISelectClause, IDeleteClause, ICountClause, ISumClause, ITotalClause, IAverageClause, IMaxClause, IMinClause, IGroupConcatClause


Field Summary
 
Fields inherited from interface siminov.orm.database.impl.ISelectClause
INTERFACE_NAME
 
Fields inherited from interface siminov.orm.database.impl.IDeleteClause
INTERFACE_NAME
 
Fields inherited from interface siminov.orm.database.impl.ICountClause
INTERFACE_NAME
 
Fields inherited from interface siminov.orm.database.impl.ISumClause
INTERFACE_NAME
 
Fields inherited from interface siminov.orm.database.impl.ITotalClause
INTERFACE_NAME
 
Fields inherited from interface siminov.orm.database.impl.IAverageClause
INTERFACE_NAME
 
Fields inherited from interface siminov.orm.database.impl.IMaxClause
INTERFACE_NAME
 
Fields inherited from interface siminov.orm.database.impl.IMinClause
INTERFACE_NAME
 
Fields inherited from interface siminov.orm.database.impl.IGroupConcatClause
INTERFACE_NAME
 
Constructor Summary
Clause(Select select)
           
 
Method Summary
 Select between(java.lang.String start, java.lang.String end)
          Used to specify BETWEEN condition.
 Select equalTo(java.lang.String value)
          Used to specify EQUAL TO (=) condition.
 Select greaterThan(java.lang.String value)
          Used to specify GREATER THAN (>) condition.
 Select greaterThanEqual(java.lang.String value)
          Used to specify GREATER THAN EQUAL (>=) condition.
 Select in(java.lang.String... values)
          Used to specify IN condition.
 Select lessThan(java.lang.String value)
          Used to specify LESS THAN (<) condition.
 Select lessThanEqual(java.lang.String value)
          Used to specify LESS THAN EQUAL (<=) condition.
 Select like(java.lang.String like)
          Used to specify LIKE condition.
 Select notEqualTo(java.lang.String value)
          Used to specify NOT EQUAL TO (!=) condition.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Clause

public Clause(Select select)
Method Detail

equalTo

public Select equalTo(java.lang.String value)
Description copied from interface: ISelectClause
Used to specify EQUAL TO (=) condition.

Specified by:
equalTo in interface IAverageClause
Specified by:
equalTo in interface ICountClause
Specified by:
equalTo in interface IDeleteClause
Specified by:
equalTo in interface IGroupConcatClause
Specified by:
equalTo in interface IMaxClause
Specified by:
equalTo in interface IMinClause
Specified by:
equalTo in interface ISelectClause
Specified by:
equalTo in interface ISumClause
Specified by:
equalTo in interface ITotalClause
Parameters:
value - Value for which EQUAL TO (=) condition will be applied.
Returns:
ISelect Interface.

notEqualTo

public Select notEqualTo(java.lang.String value)
Description copied from interface: ISelectClause
Used to specify NOT EQUAL TO (!=) condition.

Specified by:
notEqualTo in interface IAverageClause
Specified by:
notEqualTo in interface ICountClause
Specified by:
notEqualTo in interface IDeleteClause
Specified by:
notEqualTo in interface IGroupConcatClause
Specified by:
notEqualTo in interface IMaxClause
Specified by:
notEqualTo in interface IMinClause
Specified by:
notEqualTo in interface ISelectClause
Specified by:
notEqualTo in interface ISumClause
Specified by:
notEqualTo in interface ITotalClause
Parameters:
value - Value for which NOT EQUAL TO (=) condition will be applied.
Returns:
ISelect Interface.

greaterThan

public Select greaterThan(java.lang.String value)
Description copied from interface: ISelectClause
Used to specify GREATER THAN (>) condition.

Specified by:
greaterThan in interface IAverageClause
Specified by:
greaterThan in interface ICountClause
Specified by:
greaterThan in interface IDeleteClause
Specified by:
greaterThan in interface IGroupConcatClause
Specified by:
greaterThan in interface IMaxClause
Specified by:
greaterThan in interface IMinClause
Specified by:
greaterThan in interface ISelectClause
Specified by:
greaterThan in interface ISumClause
Specified by:
greaterThan in interface ITotalClause
Parameters:
value - Value for while GREATER THAN (>) condition will be specified.
Returns:
ISelect Interface.

greaterThanEqual

public Select greaterThanEqual(java.lang.String value)
Description copied from interface: ISelectClause
Used to specify GREATER THAN EQUAL (>=) condition.

Specified by:
greaterThanEqual in interface IAverageClause
Specified by:
greaterThanEqual in interface ICountClause
Specified by:
greaterThanEqual in interface IDeleteClause
Specified by:
greaterThanEqual in interface IGroupConcatClause
Specified by:
greaterThanEqual in interface IMaxClause
Specified by:
greaterThanEqual in interface IMinClause
Specified by:
greaterThanEqual in interface ISelectClause
Specified by:
greaterThanEqual in interface ISumClause
Specified by:
greaterThanEqual in interface ITotalClause
Parameters:
value - Value for which GREATER THAN EQUAL (>=) condition will be specified.
Returns:
ISelect Interface.

lessThan

public Select lessThan(java.lang.String value)
Description copied from interface: ISelectClause
Used to specify LESS THAN (<) condition.

Specified by:
lessThan in interface IAverageClause
Specified by:
lessThan in interface ICountClause
Specified by:
lessThan in interface IDeleteClause
Specified by:
lessThan in interface IGroupConcatClause
Specified by:
lessThan in interface IMaxClause
Specified by:
lessThan in interface IMinClause
Specified by:
lessThan in interface ISelectClause
Specified by:
lessThan in interface ISumClause
Specified by:
lessThan in interface ITotalClause
Parameters:
value - Value for which LESS THAN (<) condition will be specified.
Returns:
ISelect Interface.

lessThanEqual

public Select lessThanEqual(java.lang.String value)
Description copied from interface: ISelectClause
Used to specify LESS THAN EQUAL (<=) condition.

Specified by:
lessThanEqual in interface IAverageClause
Specified by:
lessThanEqual in interface ICountClause
Specified by:
lessThanEqual in interface IDeleteClause
Specified by:
lessThanEqual in interface IGroupConcatClause
Specified by:
lessThanEqual in interface IMaxClause
Specified by:
lessThanEqual in interface IMinClause
Specified by:
lessThanEqual in interface ISelectClause
Specified by:
lessThanEqual in interface ISumClause
Specified by:
lessThanEqual in interface ITotalClause
Parameters:
value - Value for which LESS THAN EQUAL (<=) condition will be specified.
Returns:
ISelect Interface.

between

public Select between(java.lang.String start,
                      java.lang.String end)
Description copied from interface: ISelectClause
Used to specify BETWEEN condition.

Specified by:
between in interface IAverageClause
Specified by:
between in interface ICountClause
Specified by:
between in interface IDeleteClause
Specified by:
between in interface IGroupConcatClause
Specified by:
between in interface IMaxClause
Specified by:
between in interface IMinClause
Specified by:
between in interface ISelectClause
Specified by:
between in interface ISumClause
Specified by:
between in interface ITotalClause
Parameters:
start - Start Range.
end - End Range.
Returns:
ISelect Interface.

like

public Select like(java.lang.String like)
Description copied from interface: ISelectClause
Used to specify LIKE condition.

Specified by:
like in interface IAverageClause
Specified by:
like in interface ICountClause
Specified by:
like in interface IDeleteClause
Specified by:
like in interface IGroupConcatClause
Specified by:
like in interface IMaxClause
Specified by:
like in interface IMinClause
Specified by:
like in interface ISelectClause
Specified by:
like in interface ISumClause
Specified by:
like in interface ITotalClause
Parameters:
like - LIKE condition.
Returns:
ISelect Interface.

in

public Select in(java.lang.String... values)
Description copied from interface: ISelectClause
Used to specify IN condition.

Specified by:
in in interface IAverageClause
Specified by:
in in interface ICountClause
Specified by:
in in interface IDeleteClause
Specified by:
in in interface IGroupConcatClause
Specified by:
in in interface IMaxClause
Specified by:
in in interface IMinClause
Specified by:
in in interface ISelectClause
Specified by:
in in interface ISumClause
Specified by:
in in interface ITotalClause
Parameters:
values - Values for IN condition.
Returns:
ISelect Interface.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Apache License 2.0

Copyright 2013