KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.objectweb.modfact.jmi.repository.simpletrl;
2 import simpletrl.*;
3 import org.objectweb.modfact.jmi.reflect.*;
4 public class IntegerLiteralImpl extends RefObjectImpl implements simpletrl.IntegerLiteral { public long getVal() throws javax.jmi.reflect.JmiException {
5      return (long) ((Long JavaDoc)refGetValue("val")).longValue();
6      }
7     public void setVal(long newValue) throws javax.jmi.reflect.JmiException {
8      refSetValue("val",new Long JavaDoc(newValue));
9      }
10 }
11
Popular Tags