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

java.lang.Object
  extended by uk.ac.ucl.cs.emofocl.jmi.reflect.RefBaseObjectImpl
      extended by uk.ac.ucl.cs.emofocl.jmi.reflect.RefPackageImpl
All Implemented Interfaces:
javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefPackage
Direct Known Subclasses:
ExtPackageImpl

public abstract class RefPackageImpl
extends RefBaseObjectImpl
implements javax.jmi.reflect.RefPackage

Author:
jwskene

Field Summary
protected  HashMap CLASSES
           
protected  HashMap PACKAGES
           
 
Fields inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefBaseObjectImpl
IMMEDIATE_PACKAGE, META_OBJECT
 
Constructor Summary
protected RefPackageImpl(javax.jmi.reflect.RefObject metaObject)
           
protected RefPackageImpl(RefPackageImpl immediatePackage, javax.jmi.reflect.RefObject metaObject)
           
 
Method Summary
 Collection refAllAssociations()
           
 Collection refAllClasses()
           
 Collection refAllPackages()
           
 javax.jmi.reflect.RefAssociation refAssociation(javax.jmi.reflect.RefObject association)
           
 javax.jmi.reflect.RefAssociation refAssociation(String associationName)
           
 javax.jmi.reflect.RefClass refClass(javax.jmi.reflect.RefObject type)
           
 javax.jmi.reflect.RefClass refClass(String typeName)
           
 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.
 void refDelete()
          Should delete all objects in the package.
 javax.jmi.reflect.RefEnum refGetEnum(javax.jmi.reflect.RefObject enumeration, String name)
           
 javax.jmi.reflect.RefPackage refPackage(javax.jmi.reflect.RefObject nestedPackage)
           
 javax.jmi.reflect.RefPackage refPackage(String nestedPackageName)
           
 
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.RefPackage
refGetEnum
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Field Detail

CLASSES

protected final HashMap CLASSES

PACKAGES

protected final HashMap PACKAGES
Constructor Detail

RefPackageImpl

protected RefPackageImpl(javax.jmi.reflect.RefObject metaObject)

RefPackageImpl

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

refClass

public javax.jmi.reflect.RefClass refClass(javax.jmi.reflect.RefObject type)
Specified by:
refClass in interface javax.jmi.reflect.RefPackage

refClass

public javax.jmi.reflect.RefClass refClass(String typeName)
Specified by:
refClass in interface javax.jmi.reflect.RefPackage

refPackage

public javax.jmi.reflect.RefPackage refPackage(javax.jmi.reflect.RefObject nestedPackage)
Specified by:
refPackage in interface javax.jmi.reflect.RefPackage

refPackage

public javax.jmi.reflect.RefPackage refPackage(String nestedPackageName)
Specified by:
refPackage in interface javax.jmi.reflect.RefPackage

refAssociation

public javax.jmi.reflect.RefAssociation refAssociation(javax.jmi.reflect.RefObject association)
Specified by:
refAssociation in interface javax.jmi.reflect.RefPackage

refAssociation

public javax.jmi.reflect.RefAssociation refAssociation(String associationName)
Specified by:
refAssociation in interface javax.jmi.reflect.RefPackage

refAllPackages

public Collection refAllPackages()
Specified by:
refAllPackages in interface javax.jmi.reflect.RefPackage

refAllClasses

public Collection refAllClasses()
Specified by:
refAllClasses in interface javax.jmi.reflect.RefPackage

refAllAssociations

public Collection refAllAssociations()
Specified by:
refAllAssociations in interface javax.jmi.reflect.RefPackage

refCreateStruct

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

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

refCreateStruct

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

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

refGetEnum

public javax.jmi.reflect.RefEnum refGetEnum(javax.jmi.reflect.RefObject enumeration,
                                            String name)
Specified by:
refGetEnum in interface javax.jmi.reflect.RefPackage

refDelete

public void refDelete()
Should delete all objects in the package. Not implemented.

Specified by:
refDelete in interface javax.jmi.reflect.RefPackage