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