KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > modfact > jmi > repository > simpletrl > EntryPointRuleClassImpl


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