Package 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
Fields Modifier and Type Field Description protected static int[]MASKS
-
Constructor Summary
Constructors Constructor Description CacheEntry()CacheEntry(IdentityIF identity, int fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontains(int field)IdentityIFgetIdentity()ObjectgetValue(int field)voidreadExternal(ObjectInput in)voidsetValue(int field, Object value)StringtoString()voidunsetValue(int field, Object value)voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
CacheEntry
public CacheEntry()
-
CacheEntry
public CacheEntry(IdentityIF identity, int fields)
-
-
Method Detail
-
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:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-