org.datanucleus.jpa.state
Class LifeCycleStateFactory

java.lang.Object
  extended by org.datanucleus.jpa.state.LifeCycleStateFactory

public abstract class LifeCycleStateFactory
extends java.lang.Object

Factory for life cycle states

Version:
$Revision: 1.1 $

Constructor Summary
LifeCycleStateFactory()
           
 
Method Summary
static org.datanucleus.state.LifeCycleState getLifeCycleState(int stateType)
          Returns the LifeCycleState for the state constant.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifeCycleStateFactory

public LifeCycleStateFactory()
Method Detail

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


Copyright © 2009. All Rights Reserved.