|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
example.cmp.transaction.StudentBean
Implementation class for the Student bean.
StudentBean is abstract since it's taking advantage of container-managed persistence. Resin-CMP will create the implementation of the abstract methods.
StudentBean also takes advantage of the AbstractEntityBean implementation. AbstractEntityBean is just a stub EntityBean implementation with default methods to make life a little more sane for simple beans.
Constructor Summary | |
StudentBean()
|
Method Summary | |
abstract java.util.Collection |
getCourseList()
Returns a Collection of all Courses that the student is
currently enrolled in (CMR field). |
abstract java.lang.String |
getGender()
Returns the gender of the student (CMP field). |
abstract int |
getId()
Returns the student ID (which is also the primary key) of this student (CMP field). |
abstract java.lang.String |
getName()
Returns the name of the student (CMP field). |
abstract java.lang.String |
getPassword()
Returns the password associated with this student. |
abstract void |
setGender(java.lang.String gender)
Sets the gender of the student (CMP field). |
abstract void |
setId(int id)
Sets the student ID (which is also the primary key) of this student (CMP field). |
abstract void |
setName(java.lang.String name)
Sets the name of the student. |
Constructor Detail |
public StudentBean()
Method Detail |
public abstract int getId()
public abstract void setId(int id)
public abstract java.lang.String getName()
public abstract void setName(java.lang.String name)
public abstract java.lang.String getGender()
public abstract java.lang.String getPassword()
public abstract void setGender(java.lang.String gender)
public abstract java.util.Collection getCourseList()
Collection
of all Courses that the student is
currently enrolled in (CMR field).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |