|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Dept
The Remote Interface Business Methods for the Dept CMP Sample.
Method Summary | |
---|---|
int |
add1()
add1 method returns deptno + 1. |
double |
getBudget()
This Remote method gets the budget CMP attribute for a Dept. |
java.lang.Integer |
getDeptno()
This Remote method gets the deptno CMP attribute for a Dept. |
java.lang.String |
getName()
This Remote method gets the name CMP attribute for a Dept. |
void |
setBudget(double budget)
This Remote method sets the budget CMP attribute for a Dept. |
void |
setName(java.lang.String name)
This Remote method sets the name CMP attribute for a Dept. |
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
java.lang.Integer getDeptno() throws java.rmi.RemoteException
java.rmi.RemoteException
- Signals that a Remote exception can occur.java.lang.String getName() throws java.rmi.RemoteException
java.rmi.RemoteException
- Signals that a Remote exception can occur.void setName(java.lang.String name) throws java.rmi.RemoteException
name
- java.lang.String
java.rmi.RemoteException
- Signals that a Remote exception can occur.double getBudget() throws java.rmi.RemoteException
java.rmi.RemoteException
- Signals that a Remote exception can occur.void setBudget(double budget) throws java.rmi.RemoteException
budget
- double
java.rmi.RemoteException
- Signals that a Remote exception can occur.int add1() throws java.rmi.RemoteException
java.rmi.RemoteException
- Signals that a Remote exception can occur.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |