@Documented @Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Key
Modifier and Type | Required Element and Description |
---|---|
java.lang.String[] |
fields
An ordered list of the fields that make up this key.
|
java.lang.String |
name
The name of this key on the given type.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
mutable
If true, the key fields can be updated.
|
boolean |
ordered
If true, the key data will be managed as an ordered set.
|
boolean |
unique
If true, the runtime will enforce that only one instance will contain
the key data.
|
public abstract java.lang.String name
public abstract java.lang.String[] fields
public abstract boolean unique
public abstract boolean ordered
public abstract boolean mutable
KeyManager.updateIndexes(Object)