java.lang.Object
BaseObject
br.usp.ime.xpusp.om.BaseDiscipline
br.usp.ime.xpusp.om.Discipline
- All Implemented Interfaces:
- org.apache.turbine.om.Retrievable
- public class Discipline
- extends BaseDiscipline
| Fields inherited from class br.usp.ime.xpusp.om.BaseDiscipline |
collCourseElectives, collCourseRequireds, collDefaultCapabilitys, collDisciplineInfos, collDoubleDisciplinesRelatedByDisciplineOne, collDoubleDisciplinesRelatedByDisciplineTwo, collElectivePools, collProfessorCapables, collRequiredPools, collStudentElectives, collStudentRequireds |
| 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 |
CREATED_DISCIPLINE
public static final int CREATED_DISCIPLINE
- See Also:
- Constant Field Values
Discipline
public Discipline()
Discipline
public Discipline(java.lang.String code,
java.lang.String number,
java.lang.String name,
int sourceId)
throws java.lang.Exception
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