1 23 24 29 30 package com.sun.ejb.spi.sfsb; 31 32 36 public class SFSBBeanState { 37 38 39 public SFSBBeanState(Object id, long lastAccess, boolean isNew, byte[] state) { 40 _id = id; 41 _lastAccess = lastAccess; 42 _isNew = isNew; 43 _state = state; 44 } 45 46 47 public SFSBBeanState(Object id, long lastAccess, byte[] state) { 48 _id = id; 49 _lastAccess = lastAccess; 50 _state = state; 51 } 52 53 56 public Object getId() { 57 return _id; 58 } 59 60 63 public long getLastAccess() { 64 return _lastAccess; 65 } 66 67 70 public boolean isNew() { 71 return _isNew; 72 } 73 74 77 public byte[] getState() { 78 return _state; 79 } 80 81 private Object _id = null; 82 private long _lastAccess = 0L; 83 private boolean _isNew = false; 84 private byte[] _state = null; 85 86 } 87 | Popular Tags |