|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Inherited @Target(value={TYPE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) public @interface Where
Defines columns to be used in a where condition for a row class. Use this to annotate
a row class, Table
subclass, SqlOperation
or within Wheres
annotation.
Required Element Summary | |
---|---|
java.lang.String |
name
Name of where condition. |
Optional Element Summary | |
---|---|
java.lang.String[] |
fieldNames
Define condition where all fields in the condition use "=" comparison operator and are joined logically by "AND" boolean operator. |
WhereField[] |
whereFields
Define condition where one or more fields use comparison operator or boolean operator other than the defaults. |
Element Detail |
---|
public abstract java.lang.String name
SqlOperation.setWhere(String)
public abstract java.lang.String[] fieldNames
whereFields()
.
public abstract WhereField[] whereFields
fieldNames()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |