KickJava   Java API By Example, From Geeks To Geeks.

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


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