GigaSpaces XAP 7.0 API

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

Version:
5.0
Author:
Lior Ben Yizhak

Optional Element Summary
 boolean fifo
          Deprecated. This setting is deprecated. Use fifoMode() instead.
 FifoSupport fifoSupport
          Determines FIFO operations support for this class.
 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
          Deprecated. This setting is no longer required.
 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)
 

fifoSupport

public abstract FifoSupport fifoSupport
Determines FIFO operations support for this class.

See Also:
FifoSupport
Default:
NOT_SET

fifo

@Deprecated
public abstract boolean fifo
Deprecated. This setting is deprecated. Use fifoMode() instead.

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

@Deprecated
public abstract String mappingType
Deprecated. This setting is no longer required.

Default:
""

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

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.