Package com.nomagic.uml2.ext.jmi.reflect
Class EcoreRefPackage
java.lang.Object
com.nomagic.uml2.ext.jmi.reflect.AbstractRefBaseObjectImpl
com.nomagic.uml2.ext.jmi.reflect.AbstractRefPackage
com.nomagic.uml2.ext.jmi.reflect.EcoreRefPackage
- All Implemented Interfaces:
com.nomagic.uml2.ext.jmi.MapOwner,AbstractRefBaseObject,com.nomagic.uml2.ext.jmi.reflect.RepositoryProvider,javax.jmi.reflect.RefBaseObject,javax.jmi.reflect.RefPackage
-
Field Summary
Fields inherited from class com.nomagic.uml2.ext.jmi.reflect.AbstractRefBaseObjectImpl
mMetaObject, repository -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetName()javax.jmi.reflect.RefEnumrefGetEnum(String enumName, String literal) The refGetEnum operation returns the instance of an enumeration (i.e., an enumeration literal) whose value is described by the value of literalName .Methods inherited from class com.nomagic.uml2.ext.jmi.reflect.AbstractRefPackage
addAssociation, addClass, addPackage, getMetaObjects, internalError, refAllAssociations, refAllClasses, refAllPackages, refAssociation, refAssociation, refClass, refClass, refCreateStruct, refCreateStruct, refDelete, refGetEnum, refPackage, refPackage, removeClass, removePackageMethods inherited from class com.nomagic.uml2.ext.jmi.reflect.AbstractRefBaseObjectImpl
getRepository, mapClear, mapPut, mapPutAll, mapRemove, mof_getRepository, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints, setMofID, setOwner, setRefMetaObject, setRepositoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
Constructor Details
-
EcoreRefPackage
-
-
Method Details
-
getName
-
addEnum
-
refGetEnum
Description copied from class:AbstractRefPackageThe refGetEnum operation returns the instance of an enumeration (i.e., an enumeration literal) whose value is described by the value of literalName . Note that the type of enumeration is defined by the meta object that owns the metaLiteral object. InvalidCallException is raised if the enumType parameter does not designate a valid enumeration. InvalidNameException is raised when the enumName does not denote a valid enum name. This refGetEnum returns the enumeration object representing the enumeration literal. specific analog: none. return type: RefEnum parameters: RefObject enumType (or String enumName ) String literalName exceptions: JmiException (TypeMismatchException, InvalidCallException, InvalidNameException, java.lang.NullPointerException)- Specified by:
refGetEnumin interfacejavax.jmi.reflect.RefPackage- Overrides:
refGetEnumin classAbstractRefPackage
-