com.intersys.classes
Class CacheRootObject

java.lang.Object
  extended bycom.intersys.classes.CacheGeneric
      extended bycom.intersys.classes.CacheRootObject
All Implemented Interfaces:
ObjectHandle
Direct Known Subclasses:
RegisteredObject

public abstract class CacheRootObject
extends CacheGeneric
implements ObjectHandle


Method Summary
 void _close()
          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.
 ObjectHandle castTo(CacheClass cl2)
           
 boolean equals(Object obj)
           
static String getCacheClassName()
           
 Database getDatabase()
           
 Object getField(String field)
           
 int getOref()
           
 com.intersys.cache.CacheObject getProxy()
           
 String getString(String field)
           
 int hashCode()
           
 void release()
           
 void releaseInternal(boolean immediately)
           
 String toString()
           
 
Methods inherited from class com.intersys.classes.CacheGeneric
checkAllFieldsValid, checkFieldsLimited, reset
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.intersys.classes.ObjectHandle
_className, _className, _isModified, _normalizeObject, _packageName, _validateObject, _validateObject, getZRef
 

Method Detail

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