FileDocCategorySizeDatePackage
PersistenceWrapper.javaAPI DocGlassfish v2 API3143Fri May 04 22:34:58 BST 2007com.sun.jdo.spi.persistence.support.sqlstore

PersistenceWrapper

public class PersistenceWrapper extends Object

Fields Summary
public static final int
IN_USE
public static final int
NOT_IN_USE
public static final int
DELETED
private int
state
private int
inUse
private Object
persistent
Constructors Summary
Methods Summary
public voidaddInUse()

        inUse++;
    
public intgetInUse()

        return inUse;
    
public java.lang.ObjectgetPersistent()

        return persistent;
    
public intgetState()

        return state;
    
public intremoveInUse()

        if (inUse > 0) {
            inUse--;
        }
        return inUse;
    
public voidsetPersistent(java.lang.Object newobject)

        persistent = newobject;
    
public voidsetState(int newstate)


        
        this.state = newstate;