com.gigaspaces.annotation.pojo
Annotation Type SpaceId


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface SpaceId

To designate one or more persistent fields or properties as the entity's primary key. The getter method of the POJO object provides a matchable fields for the space. Per getter method you are able to provide the desired annotation. Define whether this field value to be used as when generating Entry UID. The field value should be unique � i.e. no multiple objects with the same value should be written into the space � each object should have a different field value. When writing an object into the space with existing PrimaryKey field value EntryAlreadyInSpaceException will be thrown. Entry UID is created based on the PrimaryKey field value.


Optional Element Summary
 boolean autoGenerate
          Specify if entry UID is generated automatically by the space when written into the space.
 

autoGenerate

public abstract boolean autoGenerate
Specify if entry UID is generated automatically by the space when written into the space.

Default:
false