|
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.BaseProfessorCapable
This class was autogenerated by Torque. You should not use this class directly. It should not even be extended all references should be to ProfessorCapable
Field Summary | |
private Discipline |
aDiscipline
|
private boolean |
alreadyInSave
|
private Professor |
aProfessor
|
protected java.util.Vector |
collProfessorChoices
Collection to store aggregation of collProfessorChoices |
private org.apache.turbine.om.NumberKey |
discipline_id
the value for the discipline_id field |
private org.apache.turbine.om.NumberKey |
id
the value for the id field |
private org.apache.turbine.util.db.Criteria |
lastProfessorChoicesCriteria
The criteria used to select the current contents of collProfessorChoices |
private int |
nr_students
the value for the nr_students field |
private org.apache.turbine.om.NumberKey |
professor_id
the value for the professor_id field |
Fields inherited from class org.apache.turbine.om.BaseObject |
errMsg, is_new, modified, NEW_ID, primaryKey |
Constructor Summary | |
BaseProfessorCapable()
|
Method Summary | |
void |
addProfessorChoice(ProfessorChoice l)
Method called to associate a ProfessorChoice object to this object through the ProfessorChoice foreign key attribute |
ProfessorCapable |
copy()
Makes a copy of this object. |
Discipline |
getDiscipline()
|
org.apache.turbine.om.NumberKey |
getDisciplineId()
Get the DisciplineId |
org.apache.turbine.om.NumberKey |
getId()
Get the Id |
int |
getNrStudents()
Get the NrStudents |
org.apache.turbine.om.ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others of its class. |
Professor |
getProfessor()
|
java.util.Vector |
getProfessorChoices()
If this collection has already been initialized, returns the collection. |
java.util.Vector |
getProfessorChoices(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 |
getProfessorChoicesJoinProfessor(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 |
getProfessorId()
Get the ProfessorId |
java.lang.String |
getQueryKey()
get an id that differentiates this object from others of its class. |
protected void |
initProfessorChoices()
Temporary storage of collProfessorChoices 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 |
setDiscipline(Discipline v)
Declares an association between this object and a Discipline object |
void |
setDisciplineId(org.apache.turbine.om.NumberKey v)
Set the value of DisciplineId |
void |
setDisciplineId(java.lang.String v)
Set the value of DisciplineId as a string. |
void |
setDisciplineKey(org.apache.turbine.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
void |
setId(org.apache.turbine.om.NumberKey v)
Set the value of Id |
void |
setId(java.lang.String v)
Set the value of Id as a string. |
void |
setNrStudents(int v)
Set the value of NrStudents |
void |
setPrimaryKey(org.apache.turbine.om.ObjectKey id)
Set the PrimaryKey using ObjectKey. |
void |
setPrimaryKey(java.lang.String key)
Set the PrimaryKey using a String. |
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. |
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 id
private org.apache.turbine.om.NumberKey professor_id
private org.apache.turbine.om.NumberKey discipline_id
private int nr_students
private Professor aProfessor
private Discipline aDiscipline
protected java.util.Vector collProfessorChoices
private org.apache.turbine.util.db.Criteria lastProfessorChoicesCriteria
private boolean alreadyInSave
Constructor Detail |
public BaseProfessorCapable()
Method Detail |
public org.apache.turbine.om.NumberKey getId()
public void setId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setId(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 org.apache.turbine.om.NumberKey getDisciplineId()
public void setDisciplineId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setDisciplineId(java.lang.String v) throws java.lang.Exception
public int getNrStudents()
public void setNrStudents(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 setDiscipline(Discipline v) throws java.lang.Exception
Discipline
- vpublic Discipline getDiscipline() throws java.lang.Exception
public void setDisciplineKey(org.apache.turbine.om.ObjectKey key) throws java.lang.Exception
bar.setFooKey(foo.getPrimaryKey())
protected void initProfessorChoices()
public void addProfessorChoice(ProfessorChoice l) throws java.lang.Exception
ProfessorChoice
- lpublic java.util.Vector getProfessorChoices() throws java.lang.Exception
public java.util.Vector getProfessorChoices(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getProfessorChoicesJoinProfessor(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 id) throws java.lang.Exception
setPrimaryKey
in class org.apache.turbine.om.BaseObject
ObjectKey
- 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 ProfessorCapable copy() throws java.lang.Exception
|
XPUSP - Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |