|
XPUSP - Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.turbine.om.BaseObject | +--br.usp.ime.xpusp.om.BaseStudent
This class was autogenerated by Torque. You should not use this class directly. It should not even be extended all references should be to Student
Field Summary | |
private Course |
aCourse
|
private boolean |
alreadyInSave
|
protected java.util.Vector |
collStudentElectives
Collection to store aggregation of collStudentElectives |
protected java.util.Vector |
collStudentRequireds
Collection to store aggregation of collStudentRequireds |
private org.apache.turbine.om.NumberKey |
course_id
the value for the course_id field |
private java.lang.String |
email
the value for the email field |
private org.apache.turbine.om.NumberKey |
hab_id
the value for the hab_id field |
private org.apache.turbine.util.db.Criteria |
lastStudentElectivesCriteria
The criteria used to select the current contents of collStudentElectives |
private org.apache.turbine.util.db.Criteria |
lastStudentRequiredsCriteria
The criteria used to select the current contents of collStudentRequireds |
private java.lang.String |
name
the value for the name field |
private int |
nr_electives
the value for the nr_electives field |
private org.apache.turbine.om.NumberKey |
nr_usp
the value for the nr_usp field |
private java.lang.String |
obs
the value for the obs field |
private int |
probable_graduate
the value for the probable_graduate field |
Fields inherited from class org.apache.turbine.om.BaseObject |
errMsg, is_new, modified, NEW_ID, primaryKey |
Constructor Summary | |
BaseStudent()
|
Method Summary | |
void |
addStudentElective(StudentElective l)
Method called to associate a StudentElective object to this object through the StudentElective foreign key attribute |
void |
addStudentRequired(StudentRequired l)
Method called to associate a StudentRequired object to this object through the StudentRequired foreign key attribute |
Student |
copy()
Makes a copy of this object. |
Course |
getCourse()
|
org.apache.turbine.om.NumberKey |
getCourseId()
Get the CourseId |
java.lang.String |
getEmail()
Get the Email |
org.apache.turbine.om.NumberKey |
getHabId()
Get the HabId |
java.lang.String |
getName()
Get the Name |
int |
getNrElectives()
Get the NrElectives |
org.apache.turbine.om.NumberKey |
getNrUsp()
Get the NrUsp |
java.lang.String |
getObs()
Get the Obs |
org.apache.turbine.om.ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others of its class. |
int |
getProbableGraduate()
Get the ProbableGraduate |
java.lang.String |
getQueryKey()
get an id that differentiates this object from others of its class. |
java.util.Vector |
getStudentElectives()
If this collection has already been initialized, returns the collection. |
java.util.Vector |
getStudentElectives(org.apache.turbine.util.db.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.Vector |
getStudentElectivesJoinDiscipline(org.apache.turbine.util.db.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.Vector |
getStudentRequireds()
If this collection has already been initialized, returns the collection. |
java.util.Vector |
getStudentRequireds(org.apache.turbine.util.db.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.Vector |
getStudentRequiredsJoinDiscipline(org.apache.turbine.util.db.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected void |
initStudentElectives()
Temporary storage of collStudentElectives to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
protected void |
initStudentRequireds()
Temporary storage of collStudentRequireds to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
void |
save()
Stores the object in the database. |
void |
save(org.apache.turbine.util.db.pool.DBConnection dbCon)
Stores the object in the database. |
void |
save(java.lang.String dbName)
Stores the object in the database. |
void |
setCourse(Course v)
Declares an association between this object and a Course object |
void |
setCourseId(org.apache.turbine.om.NumberKey v)
Set the value of CourseId |
void |
setCourseId(java.lang.String v)
Set the value of CourseId as a string. |
void |
setCourseKey(org.apache.turbine.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
void |
setEmail(java.lang.String v)
Set the value of Email |
void |
setHabId(org.apache.turbine.om.NumberKey v)
Set the value of HabId |
void |
setHabId(java.lang.String v)
Set the value of HabId as a string. |
void |
setName(java.lang.String v)
Set the value of Name |
void |
setNrElectives(int v)
Set the value of NrElectives |
void |
setNrUsp(org.apache.turbine.om.NumberKey v)
Set the value of NrUsp |
void |
setNrUsp(java.lang.String v)
Set the value of NrUsp as a string. |
void |
setObs(java.lang.String v)
Set the value of Obs |
void |
setPrimaryKey(org.apache.turbine.om.ObjectKey nr_usp)
Set the PrimaryKey using ObjectKey. |
void |
setPrimaryKey(java.lang.String key)
Set the PrimaryKey using a String. |
void |
setProbableGraduate(int v)
Set the value of ProbableGraduate |
void |
setQueryKey(java.lang.String key)
set an id that differentiates this object from others of its class. |
Methods inherited from class org.apache.turbine.om.BaseObject |
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, registerNatives, toString, wait, wait, wait |
Field Detail |
private org.apache.turbine.om.NumberKey nr_usp
private java.lang.String email
private java.lang.String name
private org.apache.turbine.om.NumberKey course_id
private org.apache.turbine.om.NumberKey hab_id
private int probable_graduate
private java.lang.String obs
private int nr_electives
private Course aCourse
protected java.util.Vector collStudentRequireds
private org.apache.turbine.util.db.Criteria lastStudentRequiredsCriteria
protected java.util.Vector collStudentElectives
private org.apache.turbine.util.db.Criteria lastStudentElectivesCriteria
private boolean alreadyInSave
Constructor Detail |
public BaseStudent()
Method Detail |
public org.apache.turbine.om.NumberKey getNrUsp()
public void setNrUsp(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setNrUsp(java.lang.String v) throws java.lang.Exception
public java.lang.String getEmail()
public void setEmail(java.lang.String v)
public java.lang.String getName()
public void setName(java.lang.String v)
public org.apache.turbine.om.NumberKey getCourseId()
public void setCourseId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setCourseId(java.lang.String v) throws java.lang.Exception
public org.apache.turbine.om.NumberKey getHabId()
public void setHabId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setHabId(java.lang.String v) throws java.lang.Exception
public int getProbableGraduate()
public void setProbableGraduate(int v)
public java.lang.String getObs()
public void setObs(java.lang.String v)
public int getNrElectives()
public void setNrElectives(int v)
public void setCourse(Course v) throws java.lang.Exception
Course
- vpublic Course getCourse() throws java.lang.Exception
public void setCourseKey(org.apache.turbine.om.ObjectKey key) throws java.lang.Exception
bar.setFooKey(foo.getPrimaryKey())
Note: It is important that the xml schema used to create this class
maintains consistency in the order of related columns between
student and course.
If for some reason this is impossible, this method should be
overridden in Student
.protected void initStudentRequireds()
public void addStudentRequired(StudentRequired l) throws java.lang.Exception
StudentRequired
- lpublic java.util.Vector getStudentRequireds() throws java.lang.Exception
public java.util.Vector getStudentRequireds(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getStudentRequiredsJoinDiscipline(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected void initStudentElectives()
public void addStudentElective(StudentElective l) throws java.lang.Exception
StudentElective
- lpublic java.util.Vector getStudentElectives() throws java.lang.Exception
public java.util.Vector getStudentElectives(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getStudentElectivesJoinDiscipline(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
public void save() throws java.lang.Exception
save
in class org.apache.turbine.om.BaseObject
public void save(java.lang.String dbName) throws java.lang.Exception
public void save(org.apache.turbine.util.db.pool.DBConnection dbCon) throws java.lang.Exception
public void setPrimaryKey(org.apache.turbine.om.ObjectKey nr_usp) throws java.lang.Exception
setPrimaryKey
in class org.apache.turbine.om.BaseObject
ObjectKey
- nr_usppublic void setPrimaryKey(java.lang.String key) throws java.lang.Exception
setPrimaryKey
in class org.apache.turbine.om.BaseObject
public org.apache.turbine.om.ObjectKey getPrimaryKey()
getPrimaryKey
in class org.apache.turbine.om.BaseObject
public java.lang.String getQueryKey()
getQueryKey
in interface org.apache.turbine.om.Retrievable
public void setQueryKey(java.lang.String key) throws java.lang.Exception
setQueryKey
in interface org.apache.turbine.om.Retrievable
public Student copy() throws java.lang.Exception
|
XPUSP - Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |