@Documented
@Retention(value=RUNTIME)
@Target(value={})
public @interface Key
Storable
property as being a member of an alternate
key. An alternate key is just as good as the primary key for uniquely
identifying a storable instance, except repositories are usually more
flexible with alternate keys. For example, dropping an alternate key and
reconstructing it should not result in loss of data. Alternate keys are
often implemented as indexes with a uniqueness constraint.AlternateKeys
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.