@Target(value=METHOD) @Retention(value=RUNTIME) public @interface SpaceId
| Modifier and Type | Fields and Description | 
|---|---|
| static String | EMPTY_VALUE | 
| Modifier and Type | Optional Element and Description | 
|---|---|
| boolean | autoGenerateThe auto-generate property defines how a unique ID is generated. | 
public static final String EMPTY_VALUE
public abstract boolean autoGenerate
false,
 indicating that a unique ID will be generated from the annotated field's
 supplied value's toString(). This field can be of any
 type, but it's value's string representation enforces uniqueness.
 
 When auto-generate is true, it indicates that a
 unique ID will be generated by the space (when first written) injecting
 the UID String value into this field - which must be of
 type String.
Copyright © GigaSpaces.