|
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.BasePoolResults
This class was autogenerated by Torque. You should not use this class directly. It should not even be extended all references should be to PoolResults
Field Summary | |
private Course |
aCourse
|
private boolean |
alreadyInSave
|
private Year |
aYear
|
protected java.util.Vector |
collElectivePools
Collection to store aggregation of collElectivePools |
protected java.util.Vector |
collRequiredPools
Collection to store aggregation of collRequiredPools |
private org.apache.turbine.om.NumberKey |
course_id
the value for the course_id field |
private org.apache.turbine.om.NumberKey |
hab_id
the value for the hab_id field |
private org.apache.turbine.util.db.Criteria |
lastElectivePoolsCriteria
The criteria used to select the current contents of collElectivePools |
private org.apache.turbine.util.db.Criteria |
lastRequiredPoolsCriteria
The criteria used to select the current contents of collRequiredPools |
private org.apache.turbine.om.NumberKey |
pool_id
the value for the pool_id field |
private int |
students_course
the value for the students_course field |
private int |
students_pooled
the value for the students_pooled field |
private org.apache.turbine.om.NumberKey |
year_id
the value for the year_id field |
Fields inherited from class org.apache.turbine.om.BaseObject |
errMsg, is_new, modified, NEW_ID, primaryKey |
Constructor Summary | |
BasePoolResults()
|
Method Summary | |
void |
addElectivePool(ElectivePool l)
Method called to associate a ElectivePool object to this object through the ElectivePool foreign key attribute |
void |
addRequiredPool(RequiredPool l)
Method called to associate a RequiredPool object to this object through the RequiredPool foreign key attribute |
PoolResults |
copy()
Makes a copy of this object. |
Course |
getCourse()
|
org.apache.turbine.om.NumberKey |
getCourseId()
Get the CourseId |
java.util.Vector |
getElectivePools()
If this collection has already been initialized, returns the collection. |
java.util.Vector |
getElectivePools(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 |
getElectivePoolsJoinDiscipline(org.apache.turbine.util.db.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
org.apache.turbine.om.NumberKey |
getHabId()
Get the HabId |
org.apache.turbine.om.NumberKey |
getPoolId()
Get the PoolId |
org.apache.turbine.om.ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others of its class. |
java.lang.String |
getQueryKey()
get an id that differentiates this object from others of its class. |
java.util.Vector |
getRequiredPools()
If this collection has already been initialized, returns the collection. |
java.util.Vector |
getRequiredPools(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 |
getRequiredPoolsJoinDiscipline(org.apache.turbine.util.db.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
int |
getStudentsCourse()
Get the StudentsCourse |
int |
getStudentsPooled()
Get the StudentsPooled |
Year |
getYear()
|
org.apache.turbine.om.NumberKey |
getYearId()
Get the YearId |
protected void |
initElectivePools()
Temporary storage of collElectivePools to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
protected void |
initRequiredPools()
Temporary storage of collRequiredPools 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 |
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 |
setPoolId(org.apache.turbine.om.NumberKey v)
Set the value of PoolId |
void |
setPoolId(java.lang.String v)
Set the value of PoolId as a string. |
void |
setPrimaryKey(org.apache.turbine.om.ObjectKey pool_id)
Set the PrimaryKey using ObjectKey. |
void |
setPrimaryKey(java.lang.String key)
Set the PrimaryKey using a String. |
void |
setQueryKey(java.lang.String key)
set an id that differentiates this object from others of its class. |
void |
setStudentsCourse(int v)
Set the value of StudentsCourse |
void |
setStudentsPooled(int v)
Set the value of StudentsPooled |
void |
setYear(Year v)
Declares an association between this object and a Year object |
void |
setYearId(org.apache.turbine.om.NumberKey v)
Set the value of YearId |
void |
setYearId(java.lang.String v)
Set the value of YearId as a string. |
void |
setYearKey(org.apache.turbine.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
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 pool_id
private org.apache.turbine.om.NumberKey year_id
private org.apache.turbine.om.NumberKey course_id
private org.apache.turbine.om.NumberKey hab_id
private int students_pooled
private int students_course
private Year aYear
private Course aCourse
protected java.util.Vector collRequiredPools
private org.apache.turbine.util.db.Criteria lastRequiredPoolsCriteria
protected java.util.Vector collElectivePools
private org.apache.turbine.util.db.Criteria lastElectivePoolsCriteria
private boolean alreadyInSave
Constructor Detail |
public BasePoolResults()
Method Detail |
public org.apache.turbine.om.NumberKey getPoolId()
public void setPoolId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setPoolId(java.lang.String v) throws java.lang.Exception
public org.apache.turbine.om.NumberKey getYearId()
public void setYearId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setYearId(java.lang.String v) throws java.lang.Exception
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 getStudentsPooled()
public void setStudentsPooled(int v)
public int getStudentsCourse()
public void setStudentsCourse(int v)
public void setYear(Year v) throws java.lang.Exception
Year
- vpublic Year getYear() throws java.lang.Exception
public void setYearKey(org.apache.turbine.om.ObjectKey key) throws java.lang.Exception
bar.setFooKey(foo.getPrimaryKey())
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
pool_results and course.
If for some reason this is impossible, this method should be
overridden in PoolResults
.protected void initRequiredPools()
public void addRequiredPool(RequiredPool l) throws java.lang.Exception
RequiredPool
- lpublic java.util.Vector getRequiredPools() throws java.lang.Exception
public java.util.Vector getRequiredPools(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getRequiredPoolsJoinDiscipline(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected void initElectivePools()
public void addElectivePool(ElectivePool l) throws java.lang.Exception
ElectivePool
- lpublic java.util.Vector getElectivePools() throws java.lang.Exception
public java.util.Vector getElectivePools(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getElectivePoolsJoinDiscipline(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 pool_id) throws java.lang.Exception
setPrimaryKey
in class org.apache.turbine.om.BaseObject
ObjectKey
- pool_idpublic 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 PoolResults copy() throws java.lang.Exception
|
XPUSP - Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |