|
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.BaseProfessorChoice
This class was autogenerated by Torque. You should not use this class directly. It should not even be extended all references should be to ProfessorChoice
Field Summary | |
private boolean |
alreadyInSave
|
private Professor |
aProfessor
|
private ProfessorCapable |
aProfessorCapable
|
private org.apache.turbine.om.NumberKey |
capable_id
the value for the capable_id field |
private org.apache.turbine.om.NumberKey |
professor_id
the value for the professor_id field |
private int |
weight
the value for the weight field |
Fields inherited from class org.apache.turbine.om.BaseObject |
errMsg, is_new, modified, NEW_ID, primaryKey |
Constructor Summary | |
BaseProfessorChoice()
|
Method Summary | |
ProfessorChoice |
copy()
Makes a copy of this object. |
org.apache.turbine.om.NumberKey |
getCapableId()
Get the CapableId |
org.apache.turbine.om.ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others of its class. |
Professor |
getProfessor()
|
ProfessorCapable |
getProfessorCapable()
|
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 |
getWeight()
Get the Weight |
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 |
setCapableId(org.apache.turbine.om.NumberKey v)
Set the value of CapableId |
void |
setCapableId(java.lang.String v)
Set the value of CapableId as a string. |
void |
setPrimaryKey(org.apache.turbine.om.ObjectKey capable_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 |
setProfessorCapable(ProfessorCapable v)
Declares an association between this object and a ProfessorCapable object |
void |
setProfessorCapableKey(org.apache.turbine.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
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 |
setWeight(int v)
Set the value of Weight |
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 capable_id
private org.apache.turbine.om.NumberKey professor_id
private int weight
private Professor aProfessor
private ProfessorCapable aProfessorCapable
private boolean alreadyInSave
Constructor Detail |
public BaseProfessorChoice()
Method Detail |
public org.apache.turbine.om.NumberKey getCapableId()
public void setCapableId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setCapableId(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 getWeight()
public void setWeight(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 setProfessorCapable(ProfessorCapable v) throws java.lang.Exception
ProfessorCapable
- vpublic ProfessorCapable getProfessorCapable() throws java.lang.Exception
public void setProfessorCapableKey(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 capable_id) throws java.lang.Exception
setPrimaryKey
in class org.apache.turbine.om.BaseObject
ObjectKey
- capable_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 ProfessorChoice copy() throws java.lang.Exception
|
XPUSP - Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |