com.gigaspaces.annotation.pojo
Annotation Type SpaceClass


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface SpaceClass

Defines a class annotation of Entry/POJO
objects. This class is annotations class describe the fields we are using for
convert POJO to entry and entry to POJO with out gs xml file The annotation
indicate POJO to entry attribute


Optional Element Summary
 boolean fifo
          To enable fifo based notifications and take operations this annotation should be true.
 SpaceClass.IncludeProperties includeProperties
          When 'get' field method is not declared with SpaceProperty annotation it is taking into account as space field only if fieldInclusion is IncludeProperties.IMPLICIT.
 boolean inheritIndexes
          The index level indicate if to take into account the indexes which declared into superclasses or only in the instance itself
 String mappingType
          The object original API� MAP , SPACE constants from MappingType.class
 boolean persist
          When space defined as persistent true value for this annotation will persist object of this type.
 boolean replicate
          When running in partial replication mode � a true value for this field will replicate the all object of this type to target space(s)
 

fifo

public abstract boolean fifo
To enable fifo based notifications and take operations this annotation should be true. See more at the FIFO operations section.

Default:
false

replicate

public abstract boolean replicate
When running in partial replication mode � a true value for this field will replicate the all object of this type to target space(s)

Default:
true

persist

public abstract boolean persist
When space defined as persistent true value for this annotation will persist object of this type. See more at the database cache and persistency section.

Default:
true

mappingType

public abstract String mappingType
The object original API� MAP , SPACE constants from MappingType.class

Default:
"space"

inheritIndexes

public abstract boolean inheritIndexes
The index level indicate if to take into account the indexes which declared into superclasses or only in the instance itself

Returns:
boolean true for inherit.
Default:
true

includeProperties

public abstract SpaceClass.IncludeProperties includeProperties
When 'get' field method is not declared with SpaceProperty annotation it is taking into account as space field only if fieldInclusion is IncludeProperties.IMPLICIT. The default is IncludeProperties.IMPLICIT to take into account all the POJO fields.

Default:
IMPLICIT