|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Local interface for the Course bean.
The Local Interface represents one entity; in this case a Course
.
The idea is that you use the Home Interface to obtain references to whatever entities you're interested in. Each entity that you get from the Home Interface (using its create or finder methods) is then represented by its Local Interface.
Method Summary | |
int |
getId()
Returns the ID of this course (CMP field). |
java.lang.String |
getName()
Get the ID of the course (CMP field). |
java.util.Collection |
getStudentList()
Returns a Collection of all Students who are currently
enrolled in this Course (CMR field). |
boolean |
isFull()
Returns true if the course is full and no more students can enroll in it. |
Methods inherited from interface javax.ejb.EJBLocalObject |
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
Method Detail |
public int getId()
public java.lang.String getName()
public java.util.Collection getStudentList()
Collection
of all Students who are currently
enrolled in this Course (CMR field).public boolean isFull()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |