org.sourceforge.jemm.lifecycle
Class ShadowTypeObjectImpl

java.lang.Object
  extended by org.sourceforge.jemm.lifecycle.ShadowTypeObjectImpl
All Implemented Interfaces:
ShadowObject, ShadowTypeObject

public class ShadowTypeObjectImpl
extends java.lang.Object
implements ShadowTypeObject

Author:
Rory Graves

Constructor Summary
ShadowTypeObjectImpl(JEMMType object, ID objID, ClassId classId, TypeRequestHandler requestHandler)
           
 
Method Summary
 ID getID()
           
 JEMMObject getUserObject()
          Returns the JEMMObject user object that this ShadowObject related too.
 TypeResponse<?> processRequest(TypeRequest<?> request)
           
 void setObject(JEMMType ref)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShadowTypeObjectImpl

public ShadowTypeObjectImpl(JEMMType object,
                            ID objID,
                            ClassId classId,
                            TypeRequestHandler requestHandler)
Method Detail

processRequest

public TypeResponse<?> processRequest(TypeRequest<?> request)
Specified by:
processRequest in interface ShadowTypeObject

getID

public ID getID()
Specified by:
getID in interface ShadowObject
Returns:
The unique ID of the object being managed.

getUserObject

public JEMMObject getUserObject()
Description copied from interface: ShadowObject
Returns the JEMMObject user object that this ShadowObject related too. If needed (for example with RemoteStore) the object will be instantiated.

Specified by:
getUserObject in interface ShadowObject
Returns:
The user object instance being shadowed

setObject

public void setObject(JEMMType ref)


Copyright © 2009. All Rights Reserved.