Class LifeCycleStateFactory


  • public abstract class LifeCycleStateFactory
    extends java.lang.Object
    Factory for life cycle states.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static org.datanucleus.state.LifeCycleState[] states  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Field Detail

      • states

        private static org.datanucleus.state.LifeCycleState[] states
    • 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