com.intersys.classes
Class RelationshipObject

java.lang.Object
  extended bycom.intersys.cache.WrapperMap
      extended bycom.intersys.classes.RelationshipObject
All Implemented Interfaces:
Map, ObjectHandle

public class RelationshipObject
extends com.intersys.cache.WrapperMap
implements ObjectHandle


Nested Class Summary
 
Nested classes inherited from class java.util.Map
Map.Entry
 
Constructor Summary
RelationshipObject(com.intersys.cache.CacheObject ref)
           
RelationshipObject(List l, Database db)
           
 
Method Summary
 String _className()
           
 String _className(Boolean full)
           
 void _clear()
           
 void _close()
          Describe _close method here.
 Integer _count()
           
 Object _find(Object element)
           
 Object _first()
           
 Object _getAt(String key)
           
 Object _getFirst(StringHolder keyHolder)
           
 Object _getNext(StringHolder keyHolder)
           
 Object _getPrevious(StringHolder keyHolder)
           
 Boolean _isDefined(Object key)
           
 Integer _isModified()
           
 Object _next(Object key)
           
 void _normalizeObject()
           
 String _packageName()
           
 Object _previous(Object key)
           
 void _relate(RegisteredObject oref)
           
 Object _removeAt(Object key)
           
 void _setAt(Object key, Object element)
           
 void _unRelate(RegisteredObject oref)
           
 void _validateObject()
           
 void _validateObject(Integer n)
           
 void add(int index, Object element)
           
 boolean add(Object o)
           
 boolean addAll(Collection c)
           
 List asList()
           
 boolean equals(Object o)
           
 Object get(int idx)
           
static String getCacheClassName()
           
 Database getDatabase()
           
 String getKeyType()
           
 int getOref()
           
 com.intersys.cache.CacheObject getProxy()
           
 Object getZRef()
           
 void insert(RegisteredObject oref)
           
 void setKeyType(String keyType)
           
 String toString()
           
 
Methods inherited from class com.intersys.cache.WrapperMap
clear, containsKey, containsValue, entrySet, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values, valuesAsList
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RelationshipObject

public RelationshipObject(com.intersys.cache.CacheObject ref)
                   throws CacheException

RelationshipObject

public RelationshipObject(List l,
                          Database db)
                   throws CacheException
Method Detail

getOref

public int getOref()
            throws ObjectClosedException
Specified by:
getOref in interface ObjectHandle
Throws:
ObjectClosedException

getZRef

public final Object getZRef()
                     throws CacheException
Specified by:
getZRef in interface ObjectHandle
Throws:
CacheException

getDatabase

public Database getDatabase()
Specified by:
getDatabase in interface ObjectHandle

_close

public void _close()
            throws CacheException
Describe _close method here.

Specified by:
_close in interface ObjectHandle
Throws:
CacheException - if an error occurs
See Also:
Database.closeObject(java.lang.Object)

_className

public String _className()
                  throws CacheException
Specified by:
_className in interface ObjectHandle
Throws:
CacheException

_className

public String _className(Boolean full)
                  throws CacheException
Specified by:
_className in interface ObjectHandle
Throws:
CacheException

_isModified

public Integer _isModified()
                    throws CacheException
Specified by:
_isModified in interface ObjectHandle
Throws:
CacheException

_normalizeObject

public void _normalizeObject()
                      throws CacheException
Specified by:
_normalizeObject in interface ObjectHandle
Throws:
CacheException

_packageName

public String _packageName()
                    throws CacheException
Specified by:
_packageName in interface ObjectHandle
Throws:
CacheException

_validateObject

public void _validateObject(Integer n)
                     throws CacheException
Specified by:
_validateObject in interface ObjectHandle
Throws:
CacheException

_validateObject

public void _validateObject()
                     throws CacheException
Specified by:
_validateObject in interface ObjectHandle
Throws:
CacheException

getProxy

public com.intersys.cache.CacheObject getProxy()
Specified by:
getProxy in interface ObjectHandle

asList

public List asList()
            throws CacheException
Throws:
CacheException

_relate

public void _relate(RegisteredObject oref)
             throws CacheException
Throws:
CacheException

_unRelate

public void _unRelate(RegisteredObject oref)
               throws CacheException
Throws:
CacheException

insert

public void insert(RegisteredObject oref)
            throws CacheException
Throws:
CacheException

get

public Object get(int idx)

add

public boolean add(Object o)

add

public void add(int index,
                Object element)

addAll

public boolean addAll(Collection c)

getKeyType

public String getKeyType()

setKeyType

public void setKeyType(String keyType)

equals

public boolean equals(Object o)
Specified by:
equals in interface Map

toString

public String toString()

_count

public Integer _count()
               throws CacheException
Throws:
CacheException

_first

public Object _first()
              throws CacheException
Throws:
CacheException

_next

public Object _next(Object key)
             throws CacheException
Throws:
CacheException

_previous

public Object _previous(Object key)
                 throws CacheException
Throws:
CacheException

_getFirst

public Object _getFirst(StringHolder keyHolder)
                 throws CacheException
Throws:
CacheException

_getNext

public Object _getNext(StringHolder keyHolder)
                throws CacheException
Throws:
CacheException

_getPrevious

public Object _getPrevious(StringHolder keyHolder)
                    throws CacheException
Throws:
CacheException

_removeAt

public Object _removeAt(Object key)
                 throws CacheException
Throws:
CacheException

_find

public Object _find(Object element)
             throws CacheException
Throws:
CacheException

_isDefined

public Boolean _isDefined(Object key)
                   throws CacheException
Throws:
CacheException

_getAt

public Object _getAt(String key)
              throws CacheException
Throws:
CacheException

_setAt

public void _setAt(Object key,
                   Object element)
            throws CacheException
Throws:
CacheException

_clear

public void _clear()
            throws CacheException
Throws:
CacheException

getCacheClassName

public static String getCacheClassName()