|
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.BaseElectivePool
This class was autogenerated by Torque. You should not use this class directly. It should not even be extended all references should be to ElectivePool
Field Summary | |
private Discipline |
aDiscipline
|
private boolean |
alreadyInSave
|
private PoolResults |
aPoolResults
|
private org.apache.turbine.om.NumberKey |
choice
the value for the choice field |
private org.apache.turbine.om.ComboKey |
comboPK
|
private org.apache.turbine.om.NumberKey |
discipline_id
the value for the discipline_id field |
private org.apache.turbine.om.SimpleKey[] |
pks
|
private org.apache.turbine.om.NumberKey |
pool_id
the value for the pool_id field |
private int |
votes
the value for the votes field |
Fields inherited from class org.apache.turbine.om.BaseObject |
errMsg, is_new, modified, NEW_ID, primaryKey |
Constructor Summary | |
BaseElectivePool()
|
Method Summary | |
ElectivePool |
copy()
Makes a copy of this object. |
org.apache.turbine.om.NumberKey |
getChoice()
Get the Choice |
Discipline |
getDiscipline()
|
org.apache.turbine.om.NumberKey |
getDisciplineId()
Get the DisciplineId |
org.apache.turbine.om.NumberKey |
getPoolId()
Get the PoolId |
PoolResults |
getPoolResults()
|
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. |
int |
getVotes()
Get the Votes |
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 |
setChoice(org.apache.turbine.om.NumberKey v)
Set the value of Choice |
void |
setChoice(java.lang.String v)
Set the value of Choice as a string. |
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 |
setPoolId(org.apache.turbine.om.NumberKey v)
Set the value of PoolId |
void |
setPoolId(java.lang.String v)
Set the value of PoolId as a string. |
void |
setPoolResults(PoolResults v)
Declares an association between this object and a PoolResults object |
void |
setPoolResultsKey(org.apache.turbine.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
void |
setPrimaryKey(org.apache.turbine.om.NumberKey pool_id,
org.apache.turbine.om.NumberKey discipline_id,
org.apache.turbine.om.NumberKey choice)
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 pool_id,
java.lang.String discipline_id,
java.lang.String choice)
Set the PrimaryKey with Strings. |
void |
setQueryKey(java.lang.String key)
set an id that differentiates this object from others of its class. |
void |
setVotes(int v)
Set the value of Votes |
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 pool_id
private org.apache.turbine.om.NumberKey discipline_id
private org.apache.turbine.om.NumberKey choice
private int votes
private Discipline aDiscipline
private PoolResults aPoolResults
private boolean alreadyInSave
private final org.apache.turbine.om.SimpleKey[] pks
private final org.apache.turbine.om.ComboKey comboPK
Constructor Detail |
public BaseElectivePool()
Method Detail |
public org.apache.turbine.om.NumberKey getPoolId()
public void setPoolId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setPoolId(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 org.apache.turbine.om.NumberKey getChoice()
public void setChoice(org.apache.turbine.om.NumberKey v)
public void setChoice(java.lang.String v)
public int getVotes()
public void setVotes(int v)
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())
public void setPoolResults(PoolResults v) throws java.lang.Exception
PoolResults
- vpublic PoolResults getPoolResults() throws java.lang.Exception
public void setPoolResultsKey(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 pool_id, org.apache.turbine.om.NumberKey discipline_id, org.apache.turbine.om.NumberKey choice) throws java.lang.Exception
NumberKey
- pool_idNumberKey
- discipline_idNumberKey
- choicepublic void setPrimaryKey(java.lang.String pool_id, java.lang.String discipline_id, java.lang.String choice) throws java.lang.Exception
String
- pool_idString
- discipline_idString
- choicepublic 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 ElectivePool copy() throws java.lang.Exception
|
XPUSP - Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |