1 22 package org.jboss.test.dbtest.interfaces; 23 24 25 import javax.ejb.EJBObject ; 26 import java.rmi.RemoteException ; 27 import javax.ejb.CreateException ; 28 import javax.ejb.FinderException ; 29 import java.util.Collection ; 30 import java.sql.Date ; 31 import java.sql.Time ; 32 import java.sql.Timestamp ; 33 34 public interface AllTypes extends EJBObject { 35 36 public void updateAllValues(boolean aBoolean, byte aByte, short aShort, int anInt, 38 long aLong, float aFloat, double aDouble, String aString, 39 Date aDate, Time aTime, Timestamp aTimestamp, MyObject anObject ) throws RemoteException ; 40 41 public void addObjectToList(Object anObject) throws RemoteException ; 42 public void removeObjectFromList(Object anObject) throws RemoteException ; 43 public Collection getObjectList() throws RemoteException ; 44 45 public boolean getBoolean() throws RemoteException ; 46 public byte getByte() throws RemoteException ; 47 public short getShort() throws RemoteException ; 48 public int getInt() throws RemoteException ; 49 public long getLong() throws RemoteException ; 50 public float getFloat() throws RemoteException ; 51 public double getDouble() throws RemoteException ; 52 public String getString() throws RemoteException ; 54 public Date getDate() throws RemoteException ; 55 public Time getTime() throws RemoteException ; 56 public Timestamp getTimestamp() throws RemoteException ; 57 58 public MyObject getObject() throws RemoteException ; 59 60 public void setByte(byte b) throws RemoteException ; 61 public void setShort(short s) throws RemoteException ; 62 public void setInt(int i) throws RemoteException ; 63 public void setLong(long l) throws RemoteException ; 64 public void setFloat(float f) throws RemoteException ; 65 public void setDouble(double d) throws RemoteException ; 66 67 } 68 | Popular Tags |