|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PersistenceMode>
com.softwareag.centrasite.appl.framework.persistence.PersistenceMode
public enum PersistenceMode
Contains the available persistence modes for the mapper. The mode can be set
in the Configuration
for the application.
Enum Constant Summary | |
---|---|
FULL
Maps beans to RegistryObject instances and persists them to the
registry. |
|
MAP_ONLY
The BeanPool will only map the beans to RegistryObject instances
and will not send any data to the registry. |
Method Summary | |
---|---|
static PersistenceMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PersistenceMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PersistenceMode FULL
RegistryObject
instances and persists them to the
registry.
public static final PersistenceMode MAP_ONLY
BeanPool
will only map the beans to RegistryObject
instances
and will not send any data to the registry. This mode is useful when you have
other framework taking care of the persistence of the
RegistryObject
instances.
Method Detail |
---|
public static PersistenceMode[] values()
for (PersistenceMode c : PersistenceMode.values()) System.out.println(c);
public static PersistenceMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |