1 24 25 package org.objectweb.perseus; 26 27 import org.objectweb.perseus.persistence.api.State; 28 import org.objectweb.perseus.cache.api.CacheEntry; 29 30 public class PStringState extends PString implements State, StatusOwner { 31 CacheEntry ce; 32 public byte status; 33 34 PStringState(CacheEntry c) { 35 super(((PString) c.getCeObject())); 36 ce = c; 37 status = 0; 38 } 39 40 PStringState(State state) { 41 super((PString) state); 42 ce = state.getCacheEntry(); 43 status = 0; 44 } 45 46 public CacheEntry getCacheEntry() { 47 return ce; 48 } 49 50 public byte getStatus() { 51 return status; 52 } 53 public void setStatus(byte status) { 54 this.status = status; 55 } 56 57 } 58 | Popular Tags |