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