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

public class EcoreRefPackage extends AbstractRefPackage
  • Constructor Details

  • Method Details

    • getName

      public String getName()
    • addEnum

      public void addEnum(Map<String,javax.jmi.reflect.RefEnum> enumInfo)
    • refGetEnum

      public javax.jmi.reflect.RefEnum refGetEnum(String enumName, String literal)
      Description copied from class: AbstractRefPackage
      The 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:
      refGetEnum in interface javax.jmi.reflect.RefPackage
      Overrides:
      refGetEnum in class AbstractRefPackage