1 22 package org.jboss.test.testbean2.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 javax.ejb.Handle ; 31 import java.sql.Date ; 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, 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 String callBusinessMethodA() throws RemoteException ; 46 47 public boolean getBoolean() throws RemoteException ; 48 public byte getByte() throws RemoteException ; 49 public short getShort() throws RemoteException ; 50 public int getInt() throws RemoteException ; 51 public long getLong() throws RemoteException ; 52 public float getFloat() throws RemoteException ; 53 public double getDouble() throws RemoteException ; 54 public String getString() throws RemoteException ; 56 public Date getDate() throws RemoteException ; 57 public Timestamp getTimestamp() throws RemoteException ; 58 59 public MyObject getObject() throws RemoteException ; 60 61 public Handle getStateful() throws RemoteException ; 62 public Handle getStateless() throws RemoteException ; 63 public Handle getEntity() throws RemoteException ; 64 65 66 } 67 | Popular Tags |