org.objectweb.speedo.mapper.api
Interface JormFactoryAttributes

All Superinterfaces:
org.objectweb.fractal.api.control.AttributeController
All Known Implementing Classes:
BasicJormFactory

public interface JormFactoryAttributes
extends org.objectweb.fractal.api.control.AttributeController

defines the attributes (Fractal attribute Controller) of the JormFactory component.

Author:
S.Chassande-Barrioz
See Also:
JormFactory

Field Summary
static byte CREATE_IF_REQUIRED
          The mapping structures are created if they are not already present
static byte DELETE_DATA
          The data present in the mapping structure are removed.
static byte DO_NOTHING
          nothing is done.
static byte FORCE_CREATE
          The mapping structures are removed (if they already exist), and created.
 
Method Summary
 boolean getMappingOnClassRegistration()
          Indicates if during the class registration, the persistent classes have to be mapped.
 byte getMappingStructureRule()
           
 java.util.Properties getSpeedoProperties()
          Returns speedo properties used to configure each home (caching, ...)
 void setMappingOnClassRegistration(boolean val)
           
 void setMappingStructureRule(byte rule)
           
 void setSpeedoProperties(java.util.Properties p)
          Assignes speedo properties which permits to configure each home (caching, ...)
 

Field Detail

DO_NOTHING

public static final byte DO_NOTHING
nothing is done. Then the mapping structures already exist at the Speedo starting

See Also:
Constant Field Values

CREATE_IF_REQUIRED

public static final byte CREATE_IF_REQUIRED
The mapping structures are created if they are not already present

See Also:
Constant Field Values

FORCE_CREATE

public static final byte FORCE_CREATE
The mapping structures are removed (if they already exist), and created.

See Also:
Constant Field Values

DELETE_DATA

public static final byte DELETE_DATA
The data present in the mapping structure are removed. Of course if the mapping structure do not exist, they are created.

See Also:
Constant Field Values
Method Detail

getMappingStructureRule

public byte getMappingStructureRule()
Returns:
the default mapping structure rule applied during the map operation of the persistent classes.

setMappingStructureRule

public void setMappingStructureRule(byte rule)
Parameters:
rule - is the default mapping structure rule to apply during the map operation of the persistent classes.

getMappingOnClassRegistration

public boolean getMappingOnClassRegistration()
Indicates if during the class registration, the persistent classes have to be mapped. True : the class are mapped at class registration time False: nothing is done.


setMappingOnClassRegistration

public void setMappingOnClassRegistration(boolean val)
Parameters:
val - is a boolean value Indicating if during the class registration, the persistent classes have to be mapped. True : the class are mapped at class registration time False: nothing is done.

setSpeedoProperties

public void setSpeedoProperties(java.util.Properties p)
Assignes speedo properties which permits to configure each home (caching, ...)


getSpeedoProperties

public java.util.Properties getSpeedoProperties()
Returns speedo properties used to configure each home (caching, ...)