|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Inherited @Retention(value=RUNTIME) @Target(value={TYPE,ANNOTATION_TYPE}) public @interface OrderBy
Defines columns to be used in a order phrase. Use this to annotate
a row class, Table
subclass, SqlOperation
or
within OrderBys
annotation.
Use only one of these methods: ascending()
, descending()
, or
orderByFields()
.
Required Element Summary | |
---|---|
java.lang.String |
name
Name of the order by phrase. |
Optional Element Summary | |
---|---|
java.lang.String[] |
ascending
Define fields where all are ascending order. |
java.lang.String[] |
descending
Define fields where all are descending order. |
OrderByField[] |
orderByFields
Define fields that are mix of ascending and descending order. |
Element Detail |
---|
public abstract java.lang.String name
public abstract java.lang.String[] ascending
orderByFields()
.
public abstract java.lang.String[] descending
orderByFields()
.
public abstract OrderByField[] orderByFields
ascending()
or descending()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |