uk.ac.ucl.cs.emofocl.jmi.reflect
Class RefClassImpl

java.lang.Object
  extended by uk.ac.ucl.cs.emofocl.jmi.reflect.RefBaseObjectImpl
      extended by uk.ac.ucl.cs.emofocl.jmi.reflect.RefFeaturedImpl
          extended by uk.ac.ucl.cs.emofocl.jmi.reflect.RefClassImpl
All Implemented Interfaces:
javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefClass, javax.jmi.reflect.RefFeatured
Direct Known Subclasses:
ExtClassImpl

public abstract class RefClassImpl
extends RefFeaturedImpl
implements javax.jmi.reflect.RefClass

Author:
jwskene

Nested Class Summary
 
Nested classes/interfaces inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefFeaturedImpl
RefFeaturedImpl.Getter, RefFeaturedImpl.Setter
 
Field Summary
 
Fields inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefBaseObjectImpl
IMMEDIATE_PACKAGE, META_OBJECT
 
Constructor Summary
protected RefClassImpl(RefPackageImpl immediatePackage, javax.jmi.reflect.RefObject metaObject)
           
 
Method Summary
 javax.jmi.reflect.RefObject createDelegate(javax.jmi.reflect.RefObject delegator)
          To be used by objects to create delegates for their superclasses
protected abstract  javax.jmi.reflect.RefObject createInstance(javax.jmi.reflect.RefObject delegator)
          To be overridden by template to create an instance.
protected  void notifyDelegatorDelete(javax.jmi.reflect.RefObject deleted)
           
protected  void notifyDelete(javax.jmi.reflect.RefObject deleted)
           
 Collection refAllOfClass()
           
 Collection refAllOfType()
           
 javax.jmi.reflect.RefObject refCreateInstance(List args)
           
 javax.jmi.reflect.RefStruct refCreateStruct(javax.jmi.reflect.RefObject struct, List params)
          Not implemented
 javax.jmi.reflect.RefStruct refCreateStruct(String structName, List params)
          Not implemented
 javax.jmi.reflect.RefEnum refGetEnum(javax.jmi.reflect.RefObject enumeration, String name)
          Not implemented
 javax.jmi.reflect.RefEnum refGetEnum(String enumName, String name)
          Not implemented
 
Methods inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefFeaturedImpl
refGetValue, refInvokeOperation, refSetValue
 
Methods inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefBaseObjectImpl
refImmediatePackage, refMetaObject, refMofId, refOutermostPackage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Constructor Detail

RefClassImpl

protected RefClassImpl(RefPackageImpl immediatePackage,
                       javax.jmi.reflect.RefObject metaObject)
Method Detail

refCreateInstance

public javax.jmi.reflect.RefObject refCreateInstance(List args)
Specified by:
refCreateInstance in interface javax.jmi.reflect.RefClass

createDelegate

public javax.jmi.reflect.RefObject createDelegate(javax.jmi.reflect.RefObject delegator)
To be used by objects to create delegates for their superclasses

Parameters:
args -
Returns:

refAllOfType

public Collection refAllOfType()
Specified by:
refAllOfType in interface javax.jmi.reflect.RefClass

refAllOfClass

public Collection refAllOfClass()
Specified by:
refAllOfClass in interface javax.jmi.reflect.RefClass

notifyDelete

protected void notifyDelete(javax.jmi.reflect.RefObject deleted)

notifyDelegatorDelete

protected void notifyDelegatorDelete(javax.jmi.reflect.RefObject deleted)

createInstance

protected abstract javax.jmi.reflect.RefObject createInstance(javax.jmi.reflect.RefObject delegator)
To be overridden by template to create an instance. Delegator may be null if the instance is not a delegate.


refCreateStruct

public javax.jmi.reflect.RefStruct refCreateStruct(javax.jmi.reflect.RefObject struct,
                                                   List params)
Not implemented

Specified by:
refCreateStruct in interface javax.jmi.reflect.RefClass

refCreateStruct

public javax.jmi.reflect.RefStruct refCreateStruct(String structName,
                                                   List params)
Not implemented

Specified by:
refCreateStruct in interface javax.jmi.reflect.RefClass

refGetEnum

public javax.jmi.reflect.RefEnum refGetEnum(javax.jmi.reflect.RefObject enumeration,
                                            String name)
Not implemented

Specified by:
refGetEnum in interface javax.jmi.reflect.RefClass

refGetEnum

public javax.jmi.reflect.RefEnum refGetEnum(String enumName,
                                            String name)
Not implemented

Specified by:
refGetEnum in interface javax.jmi.reflect.RefClass