KickJava   Java API By Example, From Geeks To Geeks.

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


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