FileDocCategorySizeDatePackage
SFSBBeanState.javaAPI DocGlassfish v2 API3204Fri May 04 22:33:14 BST 2007com.sun.ejb.spi.sfsb

SFSBBeanState

public class SFSBBeanState extends Object
author
lwhite

Fields Summary
private Object
_id
private long
_lastAccess
private boolean
_isNew
private byte[]
_state
Constructors Summary
public SFSBBeanState(Object id, long lastAccess, boolean isNew, byte[] state)
Creates a new instance of SFSBBeanState

        _id = id;
        _lastAccess = lastAccess;
        _isNew = isNew;
        _state = state;
    
public SFSBBeanState(Object id, long lastAccess, byte[] state)
Creates a new instance of SFSBBeanState

        _id = id;
        _lastAccess = lastAccess;
        _state = state;
    
Methods Summary
public java.lang.ObjectgetId()

return
id (key)

        return _id;
    
public longgetLastAccess()

return
last access time

        return _lastAccess;
    
public byte[]getState()

return
state

        return _state;
    
public booleanisNew()

return
isNew - true means not persistent; false means already persistent

        return _isNew;