KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.objectweb.modfact.jmi.repository.simpletrl;
2 import simpletrl.*;
3 import org.objectweb.modfact.jmi.reflect.*;
4 public class RulesUnitImpl extends RefObjectImpl implements simpletrl.RulesUnit { 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 getSrcMm() throws javax.jmi.reflect.JmiException {
11      return (String JavaDoc) refGetValue("srcMm");
12      }
13     public void setSrcMm(String JavaDoc newValue) throws javax.jmi.reflect.JmiException {
14      refSetValue("srcMm",newValue);
15      }
16     public String JavaDoc getTargetMm() throws javax.jmi.reflect.JmiException {
17      return (String JavaDoc) refGetValue("targetMm");
18      }
19     public void setTargetMm(String JavaDoc newValue) throws javax.jmi.reflect.JmiException {
20      refSetValue("targetMm",newValue);
21      }
22     public java.util.Collection JavaDoc getRules() throws javax.jmi.reflect.JmiException {
23      return (java.util.Collection JavaDoc) refGetValue("rules");
24      }
25 }
26
Popular Tags