|
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.BasePeriod
This class was autogenerated by Torque. You should not use this class directly. It should not even be extended all references should be to Period
Field Summary | |
private boolean |
alreadyInSave
|
protected java.util.Vector |
collProfessorPeriods
Collection to store aggregation of collProfessorPeriods |
protected java.util.Vector |
collSchedules
Collection to store aggregation of collSchedules |
private java.util.Date |
end
the value for the end field |
private org.apache.turbine.util.db.Criteria |
lastProfessorPeriodsCriteria
The criteria used to select the current contents of collProfessorPeriods |
private org.apache.turbine.util.db.Criteria |
lastSchedulesCriteria
The criteria used to select the current contents of collSchedules |
private org.apache.turbine.om.NumberKey |
period_id
the value for the period_id field |
private java.util.Date |
start
the value for the start field |
Fields inherited from class org.apache.turbine.om.BaseObject |
errMsg, is_new, modified, NEW_ID, primaryKey |
Constructor Summary | |
BasePeriod()
|
Method Summary | |
void |
addProfessorPeriod(ProfessorPeriod l)
Method called to associate a ProfessorPeriod object to this object through the ProfessorPeriod foreign key attribute |
void |
addSchedule(Schedule l)
Method called to associate a Schedule object to this object through the Schedule foreign key attribute |
Period |
copy()
Makes a copy of this object. |
java.util.Date |
getEnd()
Get the End |
org.apache.turbine.om.NumberKey |
getPeriodId()
Get the PeriodId |
org.apache.turbine.om.ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others of its class. |
java.util.Vector |
getProfessorPeriods()
If this collection has already been initialized, returns the collection. |
java.util.Vector |
getProfessorPeriods(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 |
getProfessorPeriodsJoinProfessor(org.apache.turbine.util.db.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.lang.String |
getQueryKey()
get an id that differentiates this object from others of its class. |
java.util.Vector |
getSchedules()
If this collection has already been initialized, returns the collection. |
java.util.Vector |
getSchedules(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 |
getSchedulesJoinDiscipline(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 |
getSchedulesJoinProfessor(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 |
getSchedulesJoinYear(org.apache.turbine.util.db.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.Date |
getStart()
Get the Start |
protected void |
initProfessorPeriods()
Temporary storage of collProfessorPeriods to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
protected void |
initSchedules()
Temporary storage of collSchedules 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 |
setEnd(java.util.Date v)
Set the value of End |
void |
setPeriodId(org.apache.turbine.om.NumberKey v)
Set the value of PeriodId |
void |
setPeriodId(java.lang.String v)
Set the value of PeriodId as a string. |
void |
setPrimaryKey(org.apache.turbine.om.ObjectKey period_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 |
setStart(java.util.Date v)
Set the value of Start |
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 period_id
private java.util.Date start
private java.util.Date end
protected java.util.Vector collProfessorPeriods
private org.apache.turbine.util.db.Criteria lastProfessorPeriodsCriteria
protected java.util.Vector collSchedules
private org.apache.turbine.util.db.Criteria lastSchedulesCriteria
private boolean alreadyInSave
Constructor Detail |
public BasePeriod()
Method Detail |
public org.apache.turbine.om.NumberKey getPeriodId()
public void setPeriodId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setPeriodId(java.lang.String v) throws java.lang.Exception
public java.util.Date getStart()
public void setStart(java.util.Date v)
public java.util.Date getEnd()
public void setEnd(java.util.Date v)
protected void initProfessorPeriods()
public void addProfessorPeriod(ProfessorPeriod l) throws java.lang.Exception
ProfessorPeriod
- lpublic java.util.Vector getProfessorPeriods() throws java.lang.Exception
public java.util.Vector getProfessorPeriods(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getProfessorPeriodsJoinProfessor(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected void initSchedules()
public void addSchedule(Schedule l) throws java.lang.Exception
Schedule
- lpublic java.util.Vector getSchedules() throws java.lang.Exception
public java.util.Vector getSchedules(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getSchedulesJoinYear(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getSchedulesJoinProfessor(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getSchedulesJoinDiscipline(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 period_id) throws java.lang.Exception
setPrimaryKey
in class org.apache.turbine.om.BaseObject
ObjectKey
- period_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 Period copy() throws java.lang.Exception
|
XPUSP - Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |