@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface PrimaryKey
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
Modifier and Type | Required Element and Description |
---|---|
java.lang.String[] |
value
A list of property names, which may be prefixed with '+' or '-' to
indicate a preference for ascending or descending order.
|
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.