KickJava   Java API By Example, From Geeks To Geeks.

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


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 JavaDoc getVal() throws javax.jmi.reflect.JmiException {
5      return (String JavaDoc) refGetValue("val");
6      }
7     public void setVal(String JavaDoc newValue) throws javax.jmi.reflect.JmiException {
8      refSetValue("val",newValue);
9      }
10     public String JavaDoc getType() throws javax.jmi.reflect.JmiException {
11      return (String JavaDoc) refGetValue("type");
12      }
13     public void setType(String JavaDoc newValue) throws javax.jmi.reflect.JmiException {
14      refSetValue("type",newValue);
15      }
16     public boolean isFromMmSrc() throws javax.jmi.reflect.JmiException {
17      return (boolean) ((Boolean JavaDoc)refGetValue("isFromMmSrc")).booleanValue();
18      }
19     public void setFromMmSrc(boolean newValue) throws javax.jmi.reflect.JmiException {
20      refSetValue("isFromMmSrc",new Boolean JavaDoc(newValue));
21      }
22 }
23
Popular Tags