1 package org.objectweb.modfact.jmi.repository.simpletrl; 2 import simpletrl.*; 3 import org.objectweb.modfact.jmi.reflect.*; 4 public class EnumLiteralImpl extends RefObjectImpl implements simpletrl.EnumLiteral { public String getVal() throws javax.jmi.reflect.JmiException { 5 return (String ) refGetValue("val"); 6 } 7 public void setVal(String newValue) throws javax.jmi.reflect.JmiException { 8 refSetValue("val",newValue); 9 } 10 public String getType() throws javax.jmi.reflect.JmiException { 11 return (String ) refGetValue("type"); 12 } 13 public void setType(String newValue) throws javax.jmi.reflect.JmiException { 14 refSetValue("type",newValue); 15 } 16 public boolean isFromMmSrc() throws javax.jmi.reflect.JmiException { 17 return (boolean) ((Boolean )refGetValue("isFromMmSrc")).booleanValue(); 18 } 19 public void setFromMmSrc(boolean newValue) throws javax.jmi.reflect.JmiException { 20 refSetValue("isFromMmSrc",new Boolean (newValue)); 21 } 22 } 23 | Popular Tags |