|
SPT Object Database API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented
@Inherited
@Retention(value=RUNTIME)
@Target(value={TYPE,FIELD})
public @interface Index
Annotation used to indicate that a field in a prevalent object is to be
indexed. Note that this annotation is meant for indexing fields that are
not references to other prevalent object(s). Use ForeignKey for
fields that are references to other prevalent objects.
© Copyright 2008 Sans Pareil Technologies, Inc.
| Optional Element Summary | |
|---|---|
String[] |
members
The name of the fields in the prevalent object to index. |
boolean |
unique
An optional flag used to indicate that the index represents a unique index. |
public abstract String[] members
NULL.
public abstract boolean unique
false.
|
SPT Object Database API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||