|
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.BaseProfessorPeriod
This class was autogenerated by Torque. You should not use this class directly. It should not even be extended all references should be to ProfessorPeriod
Field Summary | |
private boolean |
alreadyInSave
|
private Period |
aPeriod
|
private Professor |
aProfessor
|
private org.apache.turbine.om.ComboKey |
comboPK
|
private org.apache.turbine.om.NumberKey |
period_id
the value for the period_id field |
private org.apache.turbine.om.SimpleKey[] |
pks
|
private org.apache.turbine.om.NumberKey |
professor_id
the value for the professor_id field |
private int |
type
the value for the type field |
Fields inherited from class org.apache.turbine.om.BaseObject |
errMsg, is_new, modified, NEW_ID, primaryKey |
Constructor Summary | |
BaseProfessorPeriod()
|
Method Summary | |
ProfessorPeriod |
copy()
Makes a copy of this object. |
Period |
getPeriod()
|
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. |
Professor |
getProfessor()
|
org.apache.turbine.om.NumberKey |
getProfessorId()
Get the ProfessorId |
java.lang.String |
getQueryKey()
get an id that differentiates this object from others of its class. |
int |
getType()
Get the Type |
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 |
setPeriod(Period v)
Declares an association between this object and a Period object |
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 |
setPeriodKey(org.apache.turbine.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
void |
setPrimaryKey(org.apache.turbine.om.NumberKey period_id,
org.apache.turbine.om.NumberKey professor_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 period_id,
java.lang.String professor_id)
Set the PrimaryKey with Strings. |
void |
setProfessor(Professor v)
Declares an association between this object and a Professor object |
void |
setProfessorId(org.apache.turbine.om.NumberKey v)
Set the value of ProfessorId |
void |
setProfessorId(java.lang.String v)
Set the value of ProfessorId as a string. |
void |
setProfessorKey(org.apache.turbine.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
void |
setQueryKey(java.lang.String key)
set an id that differentiates this object from others of its class. |
void |
setType(int v)
Set the value of Type |
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 org.apache.turbine.om.NumberKey professor_id
private int type
private Professor aProfessor
private Period aPeriod
private boolean alreadyInSave
private final org.apache.turbine.om.SimpleKey[] pks
private final org.apache.turbine.om.ComboKey comboPK
Constructor Detail |
public BaseProfessorPeriod()
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 org.apache.turbine.om.NumberKey getProfessorId()
public void setProfessorId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setProfessorId(java.lang.String v) throws java.lang.Exception
public int getType()
public void setType(int v)
public void setProfessor(Professor v) throws java.lang.Exception
Professor
- vpublic Professor getProfessor() throws java.lang.Exception
public void setProfessorKey(org.apache.turbine.om.ObjectKey key) throws java.lang.Exception
bar.setFooKey(foo.getPrimaryKey())
public void setPeriod(Period v) throws java.lang.Exception
Period
- vpublic Period getPeriod() throws java.lang.Exception
public void setPeriodKey(org.apache.turbine.om.ObjectKey key) throws java.lang.Exception
bar.setFooKey(foo.getPrimaryKey())
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 period_id, org.apache.turbine.om.NumberKey professor_id) throws java.lang.Exception
NumberKey
- period_idNumberKey
- professor_idpublic void setPrimaryKey(java.lang.String period_id, java.lang.String professor_id) throws java.lang.Exception
String
- period_idString
- professor_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 ProfessorPeriod copy() throws java.lang.Exception
|
XPUSP - Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |