net.ontopia.persistence.proxy
Class CacheEntry
java.lang.Object
net.ontopia.persistence.proxy.CacheEntry
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
public class CacheEntry
- extends java.lang.Object
- implements java.io.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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 java.lang.Object getValue(int field)
setValue
public void setValue(int field,
java.lang.Object value)
unsetValue
public void unsetValue(int field,
java.lang.Object value)
clear
public void clear()
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000-2012 Ontopia.