KickJava   Java API By Example, From Geeks To Geeks.

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


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