Package org.datanucleus.api.jdo.state
Class LifeCycleStateFactory
java.lang.Object
org.datanucleus.api.jdo.state.LifeCycleStateFactory
Factory for life cycle states.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final org.datanucleus.state.LifeCycleState
getLifeCycleState
(int stateType) Returns the LifeCycleState for the state constant.
-
Field Details
-
states
private static org.datanucleus.state.LifeCycleState[] states
-
-
Constructor Details
-
LifeCycleStateFactory
public LifeCycleStateFactory()
-
-
Method Details
-
getLifeCycleState
public static final org.datanucleus.state.LifeCycleState getLifeCycleState(int stateType) Returns the LifeCycleState for the state constant.- Parameters:
stateType
- the type as integer- Returns:
- the type as LifeCycleState object
-