XPUSP - Home

br.usp.ime.xpusp.om
Class Course

java.lang.Object
  |
  +--org.apache.turbine.om.BaseObject
        |
        +--br.usp.ime.xpusp.om.BaseCourse
              |
              +--br.usp.ime.xpusp.om.Course
All Implemented Interfaces:
org.apache.turbine.om.Persistent, org.apache.turbine.om.Retrievable, java.io.Serializable

public class Course
extends BaseCourse
implements org.apache.turbine.om.Persistent

The skeleton for this class was autogenerated by Torque on: [Mon Feb 18 12:45:16 GMT-03:00 2002] 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

Fields inherited from class br.usp.ime.xpusp.om.BaseCourse
aDepartment, alreadyInSave, aSource, aUnit, collCourseDisciplines, collPoolResultss, collStudents, comboPK, course_id, department_code, hab_id, lastCourseDisciplinesCriteria, lastPoolResultssCriteria, lastStudentsCriteria, name, period, pks, source_id, unit_id
 
Fields inherited from class org.apache.turbine.om.BaseObject
errMsg, is_new, modified, NEW_ID, primaryKey
 
Constructor Summary
Course()
           
Course(java.lang.String courseId, java.lang.String habId, java.lang.String name, java.lang.String period, int sourceId)
           
Course(java.lang.String courseId, java.lang.String habId, java.lang.String name, java.lang.String period, int sourceId, java.lang.String dptCode)
           
 
Method Summary
 java.util.Vector getCourseRequireds()
           
 java.lang.String getFenixAvaliableDisciplinesUrl()
           
 java.lang.String getFenixInfoUrl()
           
 java.lang.String getJupiterInfoUrl()
           
 
Methods inherited from class br.usp.ime.xpusp.om.BaseCourse
addCourseDiscipline, addPoolResults, addStudent, copy, getCourseDisciplines, getCourseDisciplines, getCourseDisciplinesJoinDiscipline, getCourseId, getDepartment, getDepartmentCode, getHabId, getName, getPeriod, getPoolResultss, getPoolResultss, getPoolResultssJoinYear, getPrimaryKey, getQueryKey, getSource, getSourceId, getStudents, getStudents, getUnit, getUnitId, initCourseDisciplines, initPoolResultss, initStudents, save, save, save, setCourseId, setCourseId, setDepartment, setDepartmentCode, setDepartmentCode, setDepartmentKey, setHabId, setHabId, setName, setPeriod, setPrimaryKey, setPrimaryKey, setPrimaryKey, setPrimaryKey, setQueryKey, setSource, setSourceId, setSourceId, setSourceKey, setUnit, setUnitId, setUnitId, setUnitKey
 
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
 

Constructor Detail

Course

public Course()

Course

public Course(java.lang.String courseId,
              java.lang.String habId,
              java.lang.String name,
              java.lang.String period,
              int sourceId)
       throws java.lang.Exception

Course

public Course(java.lang.String courseId,
              java.lang.String habId,
              java.lang.String name,
              java.lang.String period,
              int sourceId,
              java.lang.String dptCode)
       throws java.lang.Exception
Method Detail

getCourseRequireds

public java.util.Vector getCourseRequireds()
                                    throws java.lang.Exception
Returns:
a vector of coursedisciplines with elective=0

getJupiterInfoUrl

public java.lang.String getJupiterInfoUrl()
                                   throws java.lang.Exception
Returns:
this course's URL in jupiter system or null if it is not present in jupiter (ie getSource() is not JUPITER )

getFenixInfoUrl

public java.lang.String getFenixInfoUrl()
                                 throws java.lang.Exception
Returns:
this course's URL in fenix system or null if it is not present in fenix (ie getSource() is not FENIX )

getFenixAvaliableDisciplinesUrl

public java.lang.String getFenixAvaliableDisciplinesUrl()
                                                 throws java.lang.Exception
Returns:
this course's avaliable discp URL in fenix system or null if it is not present in fenix (ie getSource() is not FENIX )

XPUSP - Home