XPUSP - Home

br.usp.ime.xpusp.om
Class Department

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

public class Department
extends BaseDepartment
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.BaseDepartment
alreadyInSave, aSource, aUnit, code, collCourses, collDefaultCapabilitys, collDisciplines, collProfessors, collXpuspUsers, collYears, lastCoursesCriteria, lastDefaultCapabilitysCriteria, lastDisciplinesCriteria, lastProfessorsCriteria, lastXpuspUsersCriteria, lastYearsCriteria, name, second_code, source_id, unit_id
 
Fields inherited from class org.apache.turbine.om.BaseObject
errMsg, is_new, modified, NEW_ID, primaryKey
 
Constructor Summary
Department()
           
Department(java.lang.String code, java.lang.String name, int sourceId)
           
 
Method Summary
 java.lang.String getJupiterDisciplinesUrl()
           
 int getNrDisciplines()
           
 void setSourceId(int sourceId)
           
 
Methods inherited from class br.usp.ime.xpusp.om.BaseDepartment
addCourse, addDefaultCapability, addDiscipline, addProfessor, addXpuspUser, addYear, copy, getCode, getCourses, getCourses, getCoursesJoinSource, getCoursesJoinUnit, getDefaultCapabilitys, getDefaultCapabilitys, getDefaultCapabilitysJoinDiscipline, getDisciplines, getDisciplines, getDisciplinesJoinDisciplineType, getDisciplinesJoinSource, getName, getPrimaryKey, getProfessors, getProfessors, getQueryKey, getSecondCode, getSource, getSourceId, getUnit, getUnitId, getXpuspUsers, getXpuspUsers, getXpuspUsersJoinProfessor, getYears, getYears, initCourses, initDefaultCapabilitys, initDisciplines, initProfessors, initXpuspUsers, initYears, save, save, save, setCode, setCode, setName, setPrimaryKey, setPrimaryKey, setQueryKey, setSecondCode, 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

Department

public Department()

Department

public Department(java.lang.String code,
                  java.lang.String name,
                  int sourceId)
           throws java.lang.Exception
Method Detail

setSourceId

public void setSourceId(int sourceId)
                 throws java.lang.Exception

getJupiterDisciplinesUrl

public java.lang.String getJupiterDisciplinesUrl()
                                          throws java.lang.Exception
Returns:
this department's disciplines URL in jupiter system

getNrDisciplines

public int getNrDisciplines()
                     throws java.lang.Exception

XPUSP - Home