net.ontopia.persistence.proxy
Class CacheEntry
java.lang.Object
net.ontopia.persistence.proxy.CacheEntry
- All Implemented Interfaces:
- Externalizable, Serializable
public class CacheEntry
- extends Object
- implements Externalizable
INTERNAL: Class used by storage caches to hold field values for a
single object.
- See Also:
- Serialized Form
Field Summary |
protected static int[] |
MASKS
|
MASKS
protected static final int[] MASKS
CacheEntry
public CacheEntry()
CacheEntry
public CacheEntry(IdentityIF identity,
int fields)
getIdentity
public IdentityIF getIdentity()
contains
public boolean contains(int field)
getValue
public Object getValue(int field)
setValue
public void setValue(int field,
Object value)
unsetValue
public void unsetValue(int field,
Object value)
clear
public void clear()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2012 Ontopia.