org.sourceforge.jemm.lifecycle
Interface ShadowObject

All Known Subinterfaces:
ShadowTypeObject, ShadowUserObject
All Known Implementing Classes:
ShadowTypeObjectImpl, ShadowUserObjectImpl

public interface ShadowObject

This is the internal generic high level interface between user level objects and the store. This methods are used by both user objects (JEMMObject types) and types (e.g. JemmMap, subclasses of JEMMType).

Author:
Rory Graves

Method Summary
 ID getID()
           
 JEMMObject getUserObject()
          Returns the JEMMObject user object that this ShadowObject related too.
 

Method Detail

getUserObject

JEMMObject getUserObject()
Returns the JEMMObject user object that this ShadowObject related too. If needed (for example with RemoteStore) the object will be instantiated.

Returns:
The user object instance being shadowed

getID

ID getID()
Returns:
The unique ID of the object being managed.


Copyright © 2009. All Rights Reserved.