|
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.BaseCourse
This class was autogenerated by Torque. You should not use this class directly. It should not even be extended all references should be to Course
Field Summary | |
private Department |
aDepartment
|
private boolean |
alreadyInSave
|
private Source |
aSource
|
private Unit |
aUnit
|
protected java.util.Vector |
collCourseDisciplines
Collection to store aggregation of collCourseDisciplines |
protected java.util.Vector |
collPoolResultss
Collection to store aggregation of collPoolResultss |
protected java.util.Vector |
collStudents
Collection to store aggregation of collStudents |
private org.apache.turbine.om.ComboKey |
comboPK
|
private org.apache.turbine.om.NumberKey |
course_id
the value for the course_id field |
private org.apache.turbine.om.StringKey |
department_code
the value for the department_code field |
private org.apache.turbine.om.NumberKey |
hab_id
the value for the hab_id field |
private org.apache.turbine.util.db.Criteria |
lastCourseDisciplinesCriteria
The criteria used to select the current contents of collCourseDisciplines |
private org.apache.turbine.util.db.Criteria |
lastPoolResultssCriteria
The criteria used to select the current contents of collPoolResultss |
private org.apache.turbine.util.db.Criteria |
lastStudentsCriteria
The criteria used to select the current contents of collStudents |
private java.lang.String |
name
the value for the name field |
private java.lang.String |
period
the value for the period field |
private org.apache.turbine.om.SimpleKey[] |
pks
|
private org.apache.turbine.om.NumberKey |
source_id
the value for the source_id field |
private org.apache.turbine.om.NumberKey |
unit_id
the value for the unit_id field |
Fields inherited from class org.apache.turbine.om.BaseObject |
errMsg, is_new, modified, NEW_ID, primaryKey |
Constructor Summary | |
BaseCourse()
|
Method Summary | |
void |
addCourseDiscipline(CourseDiscipline l)
Method called to associate a CourseDiscipline object to this object through the CourseDiscipline foreign key attribute |
void |
addPoolResults(PoolResults l)
Method called to associate a PoolResults object to this object through the PoolResults foreign key attribute |
void |
addStudent(Student l)
Method called to associate a Student object to this object through the Student foreign key attribute |
Course |
copy()
Makes a copy of this object. |
java.util.Vector |
getCourseDisciplines()
If this collection has already been initialized, returns the collection. |
java.util.Vector |
getCourseDisciplines(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 |
getCourseDisciplinesJoinDiscipline(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 |
getCourseId()
Get the CourseId |
Department |
getDepartment()
|
org.apache.turbine.om.StringKey |
getDepartmentCode()
Get the DepartmentCode |
org.apache.turbine.om.NumberKey |
getHabId()
Get the HabId |
java.lang.String |
getName()
Get the Name |
java.lang.String |
getPeriod()
Get the Period |
java.util.Vector |
getPoolResultss()
If this collection has already been initialized, returns the collection. |
java.util.Vector |
getPoolResultss(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 |
getPoolResultssJoinYear(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.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. |
Source |
getSource()
|
org.apache.turbine.om.NumberKey |
getSourceId()
Get the SourceId |
java.util.Vector |
getStudents()
If this collection has already been initialized, returns the collection. |
java.util.Vector |
getStudents(org.apache.turbine.util.db.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
Unit |
getUnit()
|
org.apache.turbine.om.NumberKey |
getUnitId()
Get the UnitId |
protected void |
initCourseDisciplines()
Temporary storage of collCourseDisciplines to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
protected void |
initPoolResultss()
Temporary storage of collPoolResultss to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
protected void |
initStudents()
Temporary storage of collStudents 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 |
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 |
setDepartment(Department v)
Declares an association between this object and a Department object |
void |
setDepartmentCode(java.lang.String v)
Set the value of DepartmentCode as a string. |
void |
setDepartmentCode(org.apache.turbine.om.StringKey v)
Set the value of DepartmentCode |
void |
setDepartmentKey(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 |
setName(java.lang.String v)
Set the value of Name |
void |
setPeriod(java.lang.String v)
Set the value of Period |
void |
setPrimaryKey(org.apache.turbine.om.NumberKey course_id,
org.apache.turbine.om.NumberKey hab_id)
Set the PrimaryKey using SimpleKeys. |
void |
setPrimaryKey(org.apache.turbine.om.ObjectKey key)
Set the PrimaryKey with an ObjectKey |
void |
setPrimaryKey(java.lang.String key)
Set the PrimaryKey using a String. |
void |
setPrimaryKey(java.lang.String course_id,
java.lang.String hab_id)
Set the PrimaryKey with Strings. |
void |
setQueryKey(java.lang.String key)
set an id that differentiates this object from others of its class. |
void |
setSource(Source v)
Declares an association between this object and a Source object |
void |
setSourceId(org.apache.turbine.om.NumberKey v)
Set the value of SourceId |
void |
setSourceId(java.lang.String v)
Set the value of SourceId as a string. |
void |
setSourceKey(org.apache.turbine.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
void |
setUnit(Unit v)
Declares an association between this object and a Unit object |
void |
setUnitId(org.apache.turbine.om.NumberKey v)
Set the value of UnitId |
void |
setUnitId(java.lang.String v)
Set the value of UnitId as a string. |
void |
setUnitKey(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 course_id
private org.apache.turbine.om.NumberKey hab_id
private org.apache.turbine.om.StringKey department_code
private java.lang.String name
private java.lang.String period
private org.apache.turbine.om.NumberKey unit_id
private org.apache.turbine.om.NumberKey source_id
private Source aSource
private Department aDepartment
private Unit aUnit
protected java.util.Vector collStudents
private org.apache.turbine.util.db.Criteria lastStudentsCriteria
protected java.util.Vector collPoolResultss
private org.apache.turbine.util.db.Criteria lastPoolResultssCriteria
protected java.util.Vector collCourseDisciplines
private org.apache.turbine.util.db.Criteria lastCourseDisciplinesCriteria
private boolean alreadyInSave
private final org.apache.turbine.om.SimpleKey[] pks
private final org.apache.turbine.om.ComboKey comboPK
Constructor Detail |
public BaseCourse()
Method Detail |
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 org.apache.turbine.om.StringKey getDepartmentCode()
public void setDepartmentCode(org.apache.turbine.om.StringKey v) throws java.lang.Exception
public void setDepartmentCode(java.lang.String v) throws java.lang.Exception
public java.lang.String getName()
public void setName(java.lang.String v)
public java.lang.String getPeriod()
public void setPeriod(java.lang.String v)
public org.apache.turbine.om.NumberKey getUnitId()
public void setUnitId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setUnitId(java.lang.String v) throws java.lang.Exception
public org.apache.turbine.om.NumberKey getSourceId()
public void setSourceId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setSourceId(java.lang.String v) throws java.lang.Exception
public void setSource(Source v) throws java.lang.Exception
Source
- vpublic Source getSource() throws java.lang.Exception
public void setSourceKey(org.apache.turbine.om.ObjectKey key) throws java.lang.Exception
bar.setFooKey(foo.getPrimaryKey())
public void setDepartment(Department v) throws java.lang.Exception
Department
- vpublic Department getDepartment() throws java.lang.Exception
public void setDepartmentKey(org.apache.turbine.om.ObjectKey key) throws java.lang.Exception
bar.setFooKey(foo.getPrimaryKey())
public void setUnit(Unit v) throws java.lang.Exception
Unit
- vpublic Unit getUnit() throws java.lang.Exception
public void setUnitKey(org.apache.turbine.om.ObjectKey key) throws java.lang.Exception
bar.setFooKey(foo.getPrimaryKey())
protected void initStudents()
public void addStudent(Student l) throws java.lang.Exception
Student
- lpublic java.util.Vector getStudents() throws java.lang.Exception
public java.util.Vector getStudents(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected void initPoolResultss()
public void addPoolResults(PoolResults l) throws java.lang.Exception
PoolResults
- lpublic java.util.Vector getPoolResultss() throws java.lang.Exception
public java.util.Vector getPoolResultss(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getPoolResultssJoinYear(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected void initCourseDisciplines()
public void addCourseDiscipline(CourseDiscipline l) throws java.lang.Exception
CourseDiscipline
- lpublic java.util.Vector getCourseDisciplines() throws java.lang.Exception
public java.util.Vector getCourseDisciplines(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getCourseDisciplinesJoinDiscipline(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 key) throws java.lang.Exception
setPrimaryKey
in class org.apache.turbine.om.BaseObject
public void setPrimaryKey(org.apache.turbine.om.NumberKey course_id, org.apache.turbine.om.NumberKey hab_id) throws java.lang.Exception
NumberKey
- course_idNumberKey
- hab_idpublic void setPrimaryKey(java.lang.String course_id, java.lang.String hab_id) throws java.lang.Exception
String
- course_idString
- hab_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 Course copy() throws java.lang.Exception
|
XPUSP - Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |