1 package org.objectweb.modfact.jmi.repository.simpletrl; 2 import org.objectweb.modfact.jmi.reflect.*; 3 public class CalledRuleClassImpl extends org.objectweb.modfact.jmi.reflect.RefClassImpl implements simpletrl.CalledRuleClass { 4 public simpletrl.CalledRule createCalledRule() throws javax.jmi.reflect.JmiException { 5 return (simpletrl.CalledRule) refCreateInstance(null); 6 } 7 8 public simpletrl.CalledRule createCalledRule(String name , String resultType , String comment) throws javax.jmi.reflect.JmiException { 9 10 java.util.List list = new java.util.Vector (); 11 list.add(name); 12 list.add(resultType); 13 list.add(comment); 14 return (simpletrl.CalledRule) refCreateInstance(list); 15 } 16 17 public RefObjectImpl newObject() { 18 return new org.objectweb.modfact.jmi.repository.simpletrl.CalledRuleImpl(); 19 } 20 public Class newEnum(String n) { 21 throw new RuntimeException ("invalide EnumType : '" + n + "'"); 22 } 23 public RefStructImpl newStruct(String n) { 24 throw new RuntimeException ("invalide StructureType: '" + n + "'"); 25 } 26 } | Popular Tags |