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