com.intersys.classes
Class CacheRootObject
java.lang.Object
com.intersys.classes.CacheGeneric
com.intersys.classes.CacheRootObject
- All Implemented Interfaces:
- ObjectHandle
- Direct Known Subclasses:
- RegisteredObject
- public abstract class CacheRootObject
- extends CacheGeneric
- implements ObjectHandle
getOref
public final int getOref()
throws ObjectClosedException
- Specified by:
getOref
in interface ObjectHandle
- Throws:
ObjectClosedException
toString
public String toString()
equals
public boolean equals(Object obj)
getDatabase
public final Database getDatabase()
- Specified by:
getDatabase
in interface ObjectHandle
getCacheClassName
public static String getCacheClassName()
getField
public Object getField(String field)
throws CacheException
- Throws:
CacheException
getString
public String getString(String field)
throws CacheException
- Throws:
CacheException
castTo
public ObjectHandle castTo(CacheClass cl2)
throws CacheException
- Throws:
CacheException
_close
public final void _close()
throws CacheException
- Deprecated. To close object myObject Use
Database.closeObject(myObject.getOref())
instead.
This method does not exactly what can be expected from it,
because it closes and makes invalid all instances of objects
which refer to particular object reference. Therefore it's use
is dangerous.
- Specified by:
_close
in interface ObjectHandle
- Throws:
CacheException
- See Also:
Database.closeObject(int)
hashCode
public int hashCode()
getProxy
public com.intersys.cache.CacheObject getProxy()
- Specified by:
getProxy
in interface ObjectHandle
releaseInternal
public void releaseInternal(boolean immediately)
throws CacheException
- Throws:
CacheException
release
public void release()
throws CacheException
- Throws:
CacheException