KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.objectweb.modfact.jmi.repository.simpletrl;
2 import org.objectweb.modfact.jmi.reflect.*;
3 public class BooleanLiteralImpl extends RefObjectImpl implements simpletrl.BooleanLiteral { public boolean isVal() throws javax.jmi.reflect.JmiException {
4      return (boolean) ((Boolean JavaDoc)refGetValue("val")).booleanValue();
5      }
6     public void setVal(boolean newValue) throws javax.jmi.reflect.JmiException {
7      refSetValue("val",new Boolean JavaDoc(newValue));
8      }
9 }
10
Popular Tags