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:
MapOwner,AbstractRefBaseObject,RepositoryProvider,javax.jmi.reflect.RefBaseObject,javax.jmi.reflect.RefPackage
public class EcoreRefPackage extends AbstractRefPackage
-
-
Constructor Summary
Constructors Constructor Description EcoreRefPackage(AbstractRepository repository, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEnum(java.util.Map<java.lang.String,javax.jmi.reflect.RefEnum> enumInfo)java.lang.StringgetName()javax.jmi.reflect.RefEnumrefGetEnum(java.lang.String enumName, java.lang.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, removePackage
-
Methods 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, setRepository
-
-
-
-
Constructor Detail
-
EcoreRefPackage
public EcoreRefPackage(AbstractRepository repository, java.lang.String name)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
addEnum
public void addEnum(java.util.Map<java.lang.String,javax.jmi.reflect.RefEnum> enumInfo)
-
refGetEnum
public javax.jmi.reflect.RefEnum refGetEnum(java.lang.String enumName, java.lang.String literal)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
-
-