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 getName() throws javax.jmi.reflect.JmiException { 5 return (String ) refGetValue("name"); 6 } 7 public void setName(String newValue) throws javax.jmi.reflect.JmiException { 8 refSetValue("name",newValue); 9 } 10 public String getResultType() throws javax.jmi.reflect.JmiException { 11 return (String ) refGetValue("resultType"); 12 } 13 public void setResultType(String newValue) throws javax.jmi.reflect.JmiException { 14 refSetValue("resultType",newValue); 15 } 16 public String getComment() throws javax.jmi.reflect.JmiException { 17 return (String ) refGetValue("comment"); 18 } 19 public void setComment(String 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 getStatements() throws javax.jmi.reflect.JmiException { 29 return (java.util.List ) refGetValue("statements"); 30 } 31 } 32 | Popular Tags |