br.usp.ime.xpusp.om
Class CourseDiscipline
java.lang.Object
|
+--org.apache.turbine.om.BaseObject
|
+--br.usp.ime.xpusp.om.BaseCourseDiscipline
|
+--br.usp.ime.xpusp.om.CourseDiscipline
- All Implemented Interfaces:
- org.apache.turbine.om.Persistent, org.apache.turbine.om.Retrievable, java.io.Serializable
- public class CourseDiscipline
- extends BaseCourseDiscipline
- implements org.apache.turbine.om.Persistent
The skeleton for this class was autogenerated by Torque.
You should add additional methods to this class to meet the
application requirements. This class will only be generated as
long as it does not already exist in the output directory.
- See Also:
- Serialized Form
Field Summary |
static org.apache.turbine.om.NumberKey |
ELECTIVE
|
static org.apache.turbine.om.NumberKey |
NOT_ELECTIVE
|
static org.apache.turbine.om.NumberKey |
REQUIRED
|
Fields inherited from class org.apache.turbine.om.BaseObject |
errMsg, is_new, modified, NEW_ID, primaryKey |
Methods inherited from class br.usp.ime.xpusp.om.BaseCourseDiscipline |
copy, getCourse, getCourseId, getDiscipline, getDisciplineId, getElective, getHabId, getPrimaryKey, getQueryKey, getSemester, save, save, save, setCourse, setCourseId, setCourseId, setCourseKey, setDiscipline, setDisciplineId, setDisciplineId, setDisciplineKey, setElective, setElective, setHabId, setHabId, setPrimaryKey, setPrimaryKey, setPrimaryKey, setPrimaryKey, setQueryKey, setSemester |
Methods inherited from class org.apache.turbine.om.BaseObject |
, equals, equals, getByName, getByPeerName, getByPosition, getPrimaryKeyAsBigDecimal, getPrimaryKeyAsInt, getPrimaryKeyAsLong, getPrimaryKeyAsString, hashCode, isModified, isNew, resetModified, setModified, setNew, setPrimaryKey, setPrimaryKey, setPrimaryKey |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, registerNatives, toString, wait, wait, wait |
Methods inherited from interface org.apache.turbine.om.Persistent |
getPrimaryKey, isModified, isNew, save, setModified, setNew, setPrimaryKey, setPrimaryKey |
ELECTIVE
public static final org.apache.turbine.om.NumberKey ELECTIVE
NOT_ELECTIVE
public static final org.apache.turbine.om.NumberKey NOT_ELECTIVE
REQUIRED
public static final org.apache.turbine.om.NumberKey REQUIRED
CourseDiscipline
public CourseDiscipline()
CourseDiscipline
public CourseDiscipline(Course course,
Discipline discipline,
int semester,
boolean elective)
throws java.lang.Exception
setElective
public void setElective(boolean elective)
throws java.lang.Exception
isElective
public boolean isElective()
throws java.lang.Exception
exists
public boolean exists()
throws java.lang.Exception