com.ibm.websphere.samples.ejbquery.employeefinderejb
Interface DeptLocal

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface DeptLocal
extends javax.ejb.EJBLocalObject

The Local Interface Business Methods for the Dept CMP Sample.


Method Summary
 int add1()
          This Local method returns deptno + 1
 double getBudget()
          This Local method gets the budget CMP attribute for a Dept.
 java.lang.Integer getDeptno()
          This Local method gets the deptno CMP attribute for a Dept.
 java.lang.String getName()
          This Local method gets the name CMP attribute for a Dept.
 void setBudget(double budget)
          This Local method sets the budget CMP attribute for a Dept.
 void setName(java.lang.String name)
          This Local method sets the name CMP attribute for a Dept.
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getDeptno

java.lang.Integer getDeptno()
This Local method gets the deptno CMP attribute for a Dept.

Returns:
java.lang.Integer

getName

java.lang.String getName()
This Local method gets the name CMP attribute for a Dept.

Returns:
java.lang.String

setName

void setName(java.lang.String name)
This Local method sets the name CMP attribute for a Dept.

Parameters:
name - java.lang.String

getBudget

double getBudget()
This Local method gets the budget CMP attribute for a Dept.

Returns:
double

setBudget

void setBudget(double budget)
This Local method sets the budget CMP attribute for a Dept.

Parameters:
budget - double

add1

int add1()
This Local method returns deptno + 1

Returns:
int