Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

br.usp.ime.xpusp.om
Class Discipline  view Discipline download Discipline.java

java.lang.Object
  extended byBaseObject
      extended bybr.usp.ime.xpusp.om.BaseDiscipline
          extended bybr.usp.ime.xpusp.om.Discipline
All Implemented Interfaces:
org.apache.turbine.om.Retrievable

public class Discipline
extends BaseDiscipline


Field Summary
static int CREATED_DISCIPLINE
           
 
Fields inherited from class br.usp.ime.xpusp.om.BaseDiscipline
collCourseElectives, collCourseRequireds, collDefaultCapabilitys, collDisciplineInfos, collDoubleDisciplinesRelatedByDisciplineOne, collDoubleDisciplinesRelatedByDisciplineTwo, collElectivePools, collProfessorCapables, collRequiredPools, collStudentElectives, collStudentRequireds
 
Constructor Summary
Discipline()
           
Discipline(java.lang.String code, java.lang.String number, java.lang.String name, int sourceId)
           
 
Method Summary
 java.lang.String getFenixInfoUrl()
           
 java.lang.String getJupiterInfoUrl()
           
 java.lang.String getJupiterOfferingUrl()
           
 void setClassCredits(java.lang.String classCredits)
           
 void setDisciplineType(java.lang.String disciplineType, boolean create)
          Set the type of this discipline by fetching the correct type from the database
 void setSourceId(int sourceId)
           
 void setWorkCredits(java.lang.String workCredits)
           
 
Methods inherited from class br.usp.ime.xpusp.om.BaseDiscipline
addCourseElective, addCourseRequired, addDefaultCapability, addDisciplineInfo, addDoubleDisciplineRelatedByDisciplineOne, addDoubleDisciplineRelatedByDisciplineTwo, addElectivePool, addProfessorCapable, addRequiredPool, addStudentElective, addStudentRequired, copy, getClassCredits, getCode, getCourseElectives, getCourseElectives, getCourseElectivesJoinCourse, getCourseRequireds, getCourseRequireds, getCourseRequiredsJoinCourse, getDefaultCapabilitys, getDefaultCapabilitys, getDefaultCapabilitysJoinDepartment, getDepartment, getDepartmentCode, getDisciplineInfos, getDisciplineInfos, getDisciplineType, getDoubleDisciplinesRelatedByDisciplineOne, getDoubleDisciplinesRelatedByDisciplineOne, getDoubleDisciplinesRelatedByDisciplineOneJoinDisciplineRelatedByDisciplineTwo, getDoubleDisciplinesRelatedByDisciplineTwo, getDoubleDisciplinesRelatedByDisciplineTwo, getDoubleDisciplinesRelatedByDisciplineTwoJoinDisciplineRelatedByDisciplineOne, getElectivePools, getElectivePools, getElectivePoolsJoinPoolResults, getHours, getId, getName, getNumber, getPrimaryKey, getProfessorCapables, getProfessorCapables, getProfessorCapablesJoinProfessor, getQueryKey, getRequiredPools, getRequiredPools, getRequiredPoolsJoinPoolResults, getSource, getSourceId, getStudentElectives, getStudentElectives, getStudentElectivesJoinStudent, getStudentRequireds, getStudentRequireds, getStudentRequiredsJoinStudent, getTypeId, getWorkCredits, initCourseElectives, initCourseRequireds, initDefaultCapabilitys, initDisciplineInfos, initDoubleDisciplinesRelatedByDisciplineOne, initDoubleDisciplinesRelatedByDisciplineTwo, initElectivePools, initProfessorCapables, initRequiredPools, initStudentElectives, initStudentRequireds, save, save, setClassCredits, setCode, setDepartment, setDepartmentCode, setDepartmentKey, setDisciplineType, setDisciplineTypeKey, setHours, setId, setName, setNumber, setPrimaryKey, setQueryKey, setSource, setSourceId, setSourceKey, setTypeId, setWorkCredits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATED_DISCIPLINE

public static final int CREATED_DISCIPLINE
See Also:
Constant Field Values
Constructor Detail

Discipline

public Discipline()

Discipline

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

setSourceId

public void setSourceId(int sourceId)
                 throws java.lang.Exception
Overrides:
setSourceId in class BaseDiscipline

getJupiterInfoUrl

public java.lang.String getJupiterInfoUrl()
                                   throws java.lang.Exception

getFenixInfoUrl

public java.lang.String getFenixInfoUrl()
                                 throws java.lang.Exception

getJupiterOfferingUrl

public java.lang.String getJupiterOfferingUrl()
                                       throws java.lang.Exception

setClassCredits

public void setClassCredits(java.lang.String classCredits)
                     throws java.lang.Exception

setWorkCredits

public void setWorkCredits(java.lang.String workCredits)
                    throws java.lang.Exception

setDisciplineType

public void setDisciplineType(java.lang.String disciplineType,
                              boolean create)
                       throws java.lang.Exception
Set the type of this discipline by fetching the correct type from the database