|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface PrimaryKey
Identifies a Storable property as being a member of the primary
key. All Storable types must have at least one property belonging to the
primary key.
Example:
@PrimaryKey("userInfoID")
public interface UserInfo extends Storable<UserInfo> {
long getUserInfoID();
void setUserInfoID(long id);
...
}
AlternateKeys,
Sequence| Required Element Summary | |
|---|---|
String[] |
value
A list of property names, which may be prefixed with '+' or '-' to indicate a preference for ascending or descending order. |
| Element Detail |
|---|
public abstract String[] value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||