1 package org.objectweb.modfact.jmi.repository.javax.jmi.model; 2 3 import org.objectweb.modfact.jmi.reflect.*; 4 public class MofExceptionClassImpl extends org.objectweb.modfact.jmi.reflect.RefClassImpl implements javax.jmi.model.MofExceptionClass { 5 public javax.jmi.model.MofException createMofException() throws javax.jmi.reflect.JmiException { 6 return (javax.jmi.model.MofException) refCreateInstance(null); 7 } 8 9 public javax.jmi.model.MofException createMofException(String name , String annotation , javax.jmi.model.ScopeKind scope , javax.jmi.model.VisibilityKind visibility) throws javax.jmi.reflect.JmiException { 10 11 java.util.List list = new java.util.Vector (); 12 list.add(name); 13 list.add(annotation); 14 list.add(scope); 15 list.add(visibility); 16 return (javax.jmi.model.MofException) refCreateInstance(list); 17 } 18 19 public RefObjectImpl newObject() { 20 return new org.objectweb.modfact.jmi.repository.javax.jmi.model.MofExceptionImpl(); 21 } 22 public Class newEnum(String n) { 23 throw new RuntimeException ("invalide type"); 24 } 25 public RefStructImpl newStruct(String n) { 26 throw new RuntimeException ("invalide type"); 27 } 28 } | Popular Tags |