KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.objectweb.modfact.jmi.repository.simpletrl;
2 import org.objectweb.modfact.jmi.reflect.*;
3 public class CalledRuleImpl extends RefObjectImpl implements simpletrl.CalledRule { public String JavaDoc getName() throws javax.jmi.reflect.JmiException {
4      return (String JavaDoc) refGetValue("name");
5      }
6     public void setName(String JavaDoc newValue) throws javax.jmi.reflect.JmiException {
7      refSetValue("name",newValue);
8      }
9     public String JavaDoc getResultType() throws javax.jmi.reflect.JmiException {
10      return (String JavaDoc) refGetValue("resultType");
11      }
12     public void setResultType(String JavaDoc newValue) throws javax.jmi.reflect.JmiException {
13      refSetValue("resultType",newValue);
14      }
15     public String JavaDoc getComment() throws javax.jmi.reflect.JmiException {
16      return (String JavaDoc) refGetValue("comment");
17      }
18     public void setComment(String JavaDoc newValue) throws javax.jmi.reflect.JmiException {
19      refSetValue("comment",newValue);
20      }
21     public simpletrl.RulesUnit getUnit() throws javax.jmi.reflect.JmiException {
22      return (simpletrl.RulesUnit) refGetValue("unit");
23      }
24     public void setUnit(simpletrl.RulesUnit newValue) throws javax.jmi.reflect.JmiException {
25      refSetValue("unit",newValue);
26      }
27     public java.util.List JavaDoc getStatements() throws javax.jmi.reflect.JmiException {
28      return (java.util.List JavaDoc) refGetValue("statements");
29      }
30     public java.util.List JavaDoc getParams() throws javax.jmi.reflect.JmiException {
31      return (java.util.List JavaDoc) refGetValue("params");
32      }
33     public simpletrl.ValueExp getReturnVal() throws javax.jmi.reflect.JmiException {
34      return (simpletrl.ValueExp) refGetValue("returnVal");
35      }
36     public void setReturnVal(simpletrl.ValueExp newValue) throws javax.jmi.reflect.JmiException {
37      refSetValue("returnVal",newValue);
38      }
39 }
40
Popular Tags