|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
example.cmp.transaction.CourseBean
Implementation class for the Course bean.
Constructor Summary | |
CourseBean()
|
Method Summary | |
abstract int |
getId()
Returns the ID of this course (CMP field). |
abstract int |
getMaxStudentAmount()
returns the maximum amount of students allowed to be enrolled in this course (CMP field). |
abstract java.lang.String |
getName()
Returns the name of this Course (CMP field). |
abstract java.util.Collection |
getStudentList()
Returns a Collection of all Student 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. |
abstract void |
setMaxStudentAmount(int amount)
Sets the maximum amount of students allowed to be enrolled in this course (CMP field). |
abstract void |
setName(java.lang.String val)
SSets the name of this Course (CMP field). |
Constructor Detail |
public CourseBean()
Method Detail |
public abstract int getId()
public abstract java.lang.String getName()
public abstract void setName(java.lang.String val)
public abstract void setMaxStudentAmount(int amount)
public abstract int getMaxStudentAmount()
public abstract java.util.Collection getStudentList()
Collection
of all Student 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 |