|
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.BaseCourseDiscipline
This class was autogenerated by Torque. You should not use this class directly. It should not even be extended all references should be to CourseDiscipline
Field Summary | |
private Course |
aCourse
|
private Discipline |
aDiscipline
|
private boolean |
alreadyInSave
|
private org.apache.turbine.om.ComboKey |
comboPK
|
private org.apache.turbine.om.NumberKey |
course_id
the value for the course_id field |
private org.apache.turbine.om.NumberKey |
discipline_id
the value for the discipline_id field |
private org.apache.turbine.om.NumberKey |
elective
the value for the elective field |
private org.apache.turbine.om.NumberKey |
hab_id
the value for the hab_id field |
private org.apache.turbine.om.SimpleKey[] |
pks
|
private int |
semester
the value for the semester field |
Fields inherited from class org.apache.turbine.om.BaseObject |
errMsg, is_new, modified, NEW_ID, primaryKey |
Constructor Summary | |
BaseCourseDiscipline()
|
Method Summary | |
CourseDiscipline |
copy()
Makes a copy of this object. |
Course |
getCourse()
|
org.apache.turbine.om.NumberKey |
getCourseId()
Get the CourseId |
Discipline |
getDiscipline()
|
org.apache.turbine.om.NumberKey |
getDisciplineId()
Get the DisciplineId |
org.apache.turbine.om.NumberKey |
getElective()
Get the Elective |
org.apache.turbine.om.NumberKey |
getHabId()
Get the HabId |
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 |
getSemester()
Get the Semester |
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 |
setCourse(Course v)
Declares an association between this object and a Course object |
void |
setCourseId(org.apache.turbine.om.NumberKey v)
Set the value of CourseId |
void |
setCourseId(java.lang.String v)
Set the value of CourseId as a string. |
void |
setCourseKey(org.apache.turbine.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
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 |
setElective(org.apache.turbine.om.NumberKey v)
Set the value of Elective |
void |
setElective(java.lang.String v)
Set the value of Elective as a string. |
void |
setHabId(org.apache.turbine.om.NumberKey v)
Set the value of HabId |
void |
setHabId(java.lang.String v)
Set the value of HabId as a string. |
void |
setPrimaryKey(org.apache.turbine.om.NumberKey course_id,
org.apache.turbine.om.NumberKey hab_id,
org.apache.turbine.om.NumberKey discipline_id,
org.apache.turbine.om.NumberKey elective)
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 course_id,
java.lang.String hab_id,
java.lang.String discipline_id,
java.lang.String elective)
Set the PrimaryKey with Strings. |
void |
setQueryKey(java.lang.String key)
set an id that differentiates this object from others of its class. |
void |
setSemester(int v)
Set the value of Semester |
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 course_id
private org.apache.turbine.om.NumberKey hab_id
private org.apache.turbine.om.NumberKey discipline_id
private org.apache.turbine.om.NumberKey elective
private int semester
private Course aCourse
private Discipline aDiscipline
private boolean alreadyInSave
private final org.apache.turbine.om.SimpleKey[] pks
private final org.apache.turbine.om.ComboKey comboPK
Constructor Detail |
public BaseCourseDiscipline()
Method Detail |
public org.apache.turbine.om.NumberKey getCourseId()
public void setCourseId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setCourseId(java.lang.String v) throws java.lang.Exception
public org.apache.turbine.om.NumberKey getHabId()
public void setHabId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setHabId(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 getElective()
public void setElective(org.apache.turbine.om.NumberKey v)
public void setElective(java.lang.String v)
public int getSemester()
public void setSemester(int v)
public void setCourse(Course v) throws java.lang.Exception
Course
- vpublic Course getCourse() throws java.lang.Exception
public void setCourseKey(org.apache.turbine.om.ObjectKey key) throws java.lang.Exception
bar.setFooKey(foo.getPrimaryKey())
Note: It is important that the xml schema used to create this class
maintains consistency in the order of related columns between
course_discipline and course.
If for some reason this is impossible, this method should be
overridden in CourseDiscipline
.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 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 course_id, org.apache.turbine.om.NumberKey hab_id, org.apache.turbine.om.NumberKey discipline_id, org.apache.turbine.om.NumberKey elective) throws java.lang.Exception
NumberKey
- course_idNumberKey
- hab_idNumberKey
- discipline_idNumberKey
- electivepublic void setPrimaryKey(java.lang.String course_id, java.lang.String hab_id, java.lang.String discipline_id, java.lang.String elective) throws java.lang.Exception
String
- course_idString
- hab_idString
- discipline_idString
- electivepublic 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 CourseDiscipline copy() throws java.lang.Exception
|
XPUSP - Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |