Package org.objectweb.speedo.pobjects.tck

Examples of org.objectweb.speedo.pobjects.tck.StateTransitionObj


    return obj;
  }

  public StateTransitionObj getPersistentNewDeletedInstance()
  {
    StateTransitionObj obj = getPersistentNewInstance();
    if( obj == null ) return null;
    pm.deletePersistent(obj);   // should transition to persistent-new-deleted
    int curr = currentState(obj);
    if( curr != PERSISTENT_NEW_DELETED ){
      logger.log(BasicLevel.INFO, "StateTransitions: Unable to create transient-new-deleted instance");
View Full Code Here


    return obj;
  }

  public StateTransitionObj getPersistentDeletedInstance()
  {
    StateTransitionObj obj = getHollowInstance();
    if( obj == null ) return null;
    pm.deletePersistent(obj);
    int curr = currentState(obj);
    if( curr != PERSISTENT_DELETED ){
      logger.log(BasicLevel.INFO, "StateTransitions: Unable to create persistent-deleted instance");
View Full Code Here

    return obj;
  }

  public StateTransitionObj getPersistentNontransactionalInstance()
  {
    StateTransitionObj obj = getHollowInstance();
    if( obj == null ) return null;
    pm.makeNontransactional(obj);
    int curr = currentState(obj);
    if( curr != PERSISTENT_NONTRANSACTIONAL && curr != HOLLOW ){
      logger.log(BasicLevel.INFO, "StateTransitions: Unable to create persistent-nontransactional instance");
View Full Code Here

TOP

Related Classes of org.objectweb.speedo.pobjects.tck.StateTransitionObj

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.