|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.query.Annotations
public class Annotations
A factory class to create restrictions based on annotation values.
| Constructor Summary | |
|---|---|
Annotations()
|
|
| Method Summary | |
|---|---|
static Restriction |
between(AnnotationType annotationType,
Object lowValue,
Object highValue,
boolean includeInheriting)
Create a restriction that searches for annotations between two given values. |
static Restriction |
eq(AnnotationType annotationType,
Object value,
boolean includeInheriting)
Create a restriction that searches for annotations equal to a given value. |
static Restriction |
gt(AnnotationType annotationType,
Object value,
boolean includeInheriting)
Create a restriction that searches for annotations greater than a given value. |
static Restriction |
gteq(AnnotationType annotationType,
Object value,
boolean includeInheriting)
Create a restriction that searches for annotations greater than or equal to a given value. |
static Restriction |
in(AnnotationType annotationType,
boolean includeInheriting,
Object... values)
Create a restriction that searches for annotations equal to any value in a list of given values. |
static Restriction |
like(AnnotationType annotationType,
Object value,
boolean includeInheriting)
Create a restriction that searches for annotations matching a given value. |
static Restriction |
lt(AnnotationType annotationType,
Object value,
boolean includeInheriting)
Create a restriction that searches for annotations less than a given value. |
static Restriction |
lteq(AnnotationType annotationType,
Object value,
boolean includeInheriting)
Create a restriction that searches for annotations less than or equal to a given value. |
static Restriction |
neq(AnnotationType annotationType,
Object value,
boolean includeInheriting)
Create a restriction that searches for annotations not equal to a given value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Annotations()
| Method Detail |
|---|
public static Restriction eq(AnnotationType annotationType,
Object value,
boolean includeInheriting)
throws InvalidDataException
annotationType - The annotation type to searchvalue - The value to search forincludeInheriting - If items inherting the annotation should be returned
by the query or not
InvalidDataException
public static Restriction neq(AnnotationType annotationType,
Object value,
boolean includeInheriting)
throws InvalidDataException
annotationType - The annotation type to searchvalue - The value to search forincludeInheriting - If items inherting the annotation should be returned
by the query or not
InvalidDataException
public static Restriction lt(AnnotationType annotationType,
Object value,
boolean includeInheriting)
throws InvalidDataException
annotationType - The annotation type to searchvalue - The value to search forincludeInheriting - If items inherting the annotation should be returned
by the query or not
InvalidDataException
public static Restriction lteq(AnnotationType annotationType,
Object value,
boolean includeInheriting)
throws InvalidDataException
annotationType - The annotation type to searchvalue - The value to search forincludeInheriting - If items inherting the annotation should be returned
by the query or not
InvalidDataException
public static Restriction gt(AnnotationType annotationType,
Object value,
boolean includeInheriting)
throws InvalidDataException
annotationType - The annotation type to searchvalue - The value to search forincludeInheriting - If items inherting the annotation should be returned
by the query or not
InvalidDataException
public static Restriction gteq(AnnotationType annotationType,
Object value,
boolean includeInheriting)
throws InvalidDataException
annotationType - The annotation type to searchvalue - The value to search forincludeInheriting - If items inherting the annotation should be returned
by the query or not
InvalidDataException
public static Restriction like(AnnotationType annotationType,
Object value,
boolean includeInheriting)
throws InvalidDataException
annotationType - The annotation type to searchvalue - The value to search forincludeInheriting - If items inherting the annotation should be returned
by the query or not
InvalidDataException
public static Restriction between(AnnotationType annotationType,
Object lowValue,
Object highValue,
boolean includeInheriting)
throws InvalidDataException
annotationType - The annotation type to searchlowValue - The lower boundhighValue - The higher boundincludeInheriting - If items inherting the annotation should be returned
by the query or not
InvalidDataException
public static Restriction in(AnnotationType annotationType,
boolean includeInheriting,
Object... values)
throws InvalidDataException
annotationType - The annotation type to searchincludeInheriting - If items inherting the annotation should be returned
by the query or notvalues - An array of values
InvalidDataException
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||