Interface ProgramEntry
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject, OsidRelationship, Temporal
A ProgramEntry represents an academic record entry for a
Program . The fields in the ProgramEntry may be for the entire
enrollment through the academic career or specific to an academic
Term .
A ProgramEntry is also an OsidRelationship between the
student and Program . The effectiveness of the
OsidRelationship describes the effectiveness of the academic record entry
itself, not the student's enrollment in the Program . A
ProgramEntry may be superseded with a manual update or forced entry and
the temporal nature of the relationship provides a history of changes to
the academic record.
-
Method Summary
Modifier and TypeMethodDescriptionGets the date in which the student was admitted.Gets the date the student completed the program.Gets the reporting time period in which the student completed the program.Gets theIdof the completionTerm.Gets theGradeSystem.Gets theIdof theGradeSystem.Gets the number of credits earned in this program or earned within the included term.Gets theIdsof theEnrollments.Gets theEnrollments.Gets the date the student entered the program.Gets the reporting time period the student entered the program.Gets theIdof the entranceTerm.Gets the date the student is expected to complete the program.Gets the reporting time period the student is expected to complete the program.Gets theIdof the expected completionTerm.getGPA()Gets the cumulative GPA in this porgram or within the included term.Gets theGradeSystem.Gets theIdof theGradeSystem.getLevel()Gets an indicator of the student's level or class year in the program.Gets theIdof theGradeindicating the student's level.Gets the parent program entry.Gets theIdof the parent program entry.Gets theProgram.getProgramEntryRecord(Type programEntryRecordType) Gets the program entry record corresponding to the givenProgramEntryrecordType.Gets theIdof theProgram.Gets an indicator of the student's standing in the program.Gets theIdof theGradeindicating the student's standing.Gets theStudent.Gets theIdof theStudent.getTerm()Gets theTerm.Gets theIdof theTerm.Gets the date the student withdrew from the program.Gets the reporting time period in which the student withdrew from the program.Gets theIdof the withdrawTerm.booleanTests ifEnrollmentsare available.booleanhasGPA()Tests if a cumulative GPA in this program of the GPA for the included term.booleanTests if the student withdrew from the program.booleanTests if the student is active in the program.booleanTests if the program has been completed.booleanTests if the student is enrolled in the program.booleanTests if the student is expected to complete the program at a known time.booleanTests if this entry is a progression entry applying to a single term.booleanTests if the matriculation status for this program entry is known.booleanTests if the student has taken a leave of absence.booleanisPartOf()Tests if this program entry is part of anotherProgramEntry.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeModifier and TypeMethodDescriptionGets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.Methods inherited from interface OsidRelationship
getEndReason, getEndReasonId, hasEndReasonModifier and TypeMethodDescriptionGets a state indicating why this relationship has ended.Gets a stateIdindicating why this relationship has ended.booleanTests if a reason this relationship came to an end is known.Methods inherited from interface Temporal
getEndDate, getStartDate, isEffectiveModifier and TypeMethodDescriptionGets the end date.Gets the start date.booleanTests if the current date is within the start end end dates inclusive.
-
Method Details
-
getStudentId
Id getStudentId()Gets theIdof theStudent.- Returns:
- the student
Id - Compliance:
mandatory- This method must be implemented.
-
getStudent
Gets theStudent.- Returns:
- the student
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getProgramId
Id getProgramId()Gets theIdof theProgram.- Returns:
- the program
Id - Compliance:
mandatory- This method must be implemented.
-
getProgram
Gets theProgram.- Returns:
- the program
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
isPartOf
boolean isPartOf()Tests if this program entry is part of anotherProgramEntry.- Returns:
trueif this program entry has a parent,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getParentProgramEntryId
Id getParentProgramEntryId()Gets theIdof the parent program entry.- Returns:
- the parent program entry
Id - Throws:
IllegalStateException-isPartOf()isfalse- Compliance:
mandatory- This method must be implemented.
-
getParentProgramEntry
Gets the parent program entry.- Returns:
- the parent program entry
- Throws:
IllegalStateException-isPartOf()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
isMatriculationKnown
boolean isMatriculationKnown()Tests if the matriculation status for this program entry is known.- Returns:
trueif the matriculation status is known,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getEntranceDate
DateTime getEntranceDate()Gets the date the student entered the program.- Returns:
- the entrance date
- Throws:
IllegalStateException-isMatriculationKnown()isfalse- Compliance:
mandatory- This method must be implemented.
-
getEntranceTermId
Id getEntranceTermId()Gets theIdof the entranceTerm.- Returns:
- the entrance term
Id - Throws:
IllegalStateException-isMatriculationKnown()isfalse- Compliance:
mandatory- This method must be implemented.
-
getEntranceTerm
Gets the reporting time period the student entered the program.- Returns:
- the entrance term
- Throws:
IllegalStateException-isMatriculationKnown()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
isExpectedToComplete
boolean isExpectedToComplete()Tests if the student is expected to complete the program at a known time.- Returns:
trueif an expected completion is known,falseotherwise- Throws:
IllegalStateException-isMatriculationKnown()isfalse- Compliance:
mandatory- This method must be implemented.
-
getExpectedCompletionDate
DateTime getExpectedCompletionDate()Gets the date the student is expected to complete the program.- Returns:
- the expected completion date
- Throws:
IllegalStateException-isExpectedToComplete()isfalse- Compliance:
mandatory- This method must be implemented.
-
getExpectedCompletionTermId
Id getExpectedCompletionTermId()Gets theIdof the expected completionTerm.- Returns:
- the expected completion term
Id - Throws:
IllegalStateException-isExpectedToComplete()isfalse- Compliance:
mandatory- This method must be implemented.
-
getExpectedCompletionTerm
Gets the reporting time period the student is expected to complete the program.- Returns:
- the expected completion term
- Throws:
IllegalStateException-isExpectedToComplete()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
isEnrolled
boolean isEnrolled()Tests if the student is enrolled in the program.- Returns:
trueif the student is enrolled,falseotherwise- Throws:
IllegalStateException-isMatriculationKnown()isfalse- Compliance:
mandatory- This method must be implemented.
-
isActivelyEnrolled
boolean isActivelyEnrolled()Tests if the student is active in the program.- Returns:
trueif the student is actively enrolled,falseotherwise- Throws:
IllegalStateException-isEnrolled()isfalseorisOnLeave()istrue- Compliance:
mandatory- This method must be implemented.
-
isOnLeave
boolean isOnLeave()Tests if the student has taken a leave of absence.- Returns:
trueif the student is on leave,falseotherwise- Throws:
IllegalStateException-isEnrolled()isfalse- Compliance:
mandatory- This method must be implemented.
-
hasWithdrawn
boolean hasWithdrawn()Tests if the student withdrew from the program.- Returns:
trueif the student withdrew,falseotherwise- Throws:
IllegalStateException-isMatriculationKnown()isfalseorisEnrolled()istrue- Compliance:
mandatory- This method must be implemented.
-
getWithdrawDate
DateTime getWithdrawDate()Gets the date the student withdrew from the program.- Returns:
- the withdraw date
- Throws:
IllegalStateException-hasWithdrawn()isfalse- Compliance:
mandatory- This method must be implemented.
-
getWithdrawTermId
Id getWithdrawTermId()Gets theIdof the withdrawTerm.- Returns:
- the withdraw term
Id - Throws:
IllegalStateException-hasWithdrawn()isfalse- Compliance:
mandatory- This method must be implemented.
-
getWithdrawTerm
Gets the reporting time period in which the student withdrew from the program.- Returns:
- the withdraw term
- Throws:
IllegalStateException-hasWithdrawn()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
isComplete
boolean isComplete()Tests if the program has been completed. If this entry is for summary information an a past term,isComplete()may betrue.- Returns:
trueif the program has been completed,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCompletionDate
DateTime getCompletionDate()Gets the date the student completed the program.- Returns:
- the completion date
- Throws:
IllegalStateException-isComplete()isfalse- Compliance:
mandatory- This method must be implemented.
-
getCompletionTermId
Id getCompletionTermId()Gets theIdof the completionTerm.- Returns:
- the completion term
Id - Throws:
IllegalStateException-isComplete()isfalse- Compliance:
mandatory- This method must be implemented.
-
getCompletionTerm
Gets the reporting time period in which the student completed the program.- Returns:
- the completion term
- Throws:
IllegalStateException-isComplete()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getLevelId
Id getLevelId()Gets theIdof theGradeindicating the student's level.- Returns:
- the level
Id - Compliance:
mandatory- This method must be implemented.
-
getLevel
Gets an indicator of the student's level or class year in the program.- Returns:
- the level
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getStandingId
Id getStandingId()Gets theIdof theGradeindicating the student's standing.- Returns:
- the standing
Id - Compliance:
mandatory- This method must be implemented.
-
getStanding
Gets an indicator of the student's standing in the program.- Returns:
- the standing
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getAdmissionDate
DateTime getAdmissionDate()Gets the date in which the student was admitted.- Returns:
- the admission date
- Compliance:
mandatory- This method must be implemented.
-
isForTerm
boolean isForTerm()Tests if this entry is a progression entry applying to a single term. A program entry may provide summary information for the entire duration or for a single term. IfisForTerm()isfalse, this entry applies to the entire enrollement period.- Returns:
trueif the program has a term,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getTermId
Id getTermId()Gets theIdof theTerm.- Returns:
- the term
Id - Throws:
IllegalStateException-isForTerm()isfalse- Compliance:
mandatory- This method must be implemented.
-
getTerm
Gets theTerm.- Returns:
- the term
- Throws:
IllegalStateException-isForTerm()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getCreditScaleId
Id getCreditScaleId()Gets theIdof theGradeSystem.- Returns:
- the grade system
Id - Compliance:
mandatory- This method must be implemented.
-
getCreditScale
Gets theGradeSystem.- Returns:
- the grade system
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getCreditsEarned
BigDecimal getCreditsEarned()Gets the number of credits earned in this program or earned within the included term.- Returns:
- the credits earned
- Compliance:
mandatory- This method must be implemented.
-
hasGPA
boolean hasGPA()Tests if a cumulative GPA in this program of the GPA for the included term.- Returns:
trueif a GPA is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getGPAScaleId
Id getGPAScaleId()Gets theIdof theGradeSystem.- Returns:
- the grade system
Id - Throws:
IllegalStateException-hasGPA()isfalse- Compliance:
mandatory- This method must be implemented.
-
getGPAScale
Gets theGradeSystem.- Returns:
- the grade system
- Throws:
IllegalStateException-hasGPA()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getGPA
BigDecimal getGPA()Gets the cumulative GPA in this porgram or within the included term.- Returns:
- the GPA
- Throws:
IllegalStateException-hasGPA()isfalse- Compliance:
mandatory- This method must be implemented.
-
hasEnrollments
boolean hasEnrollments()Tests ifEnrollmentsare available.- Returns:
trueif enrollments are available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getEnrollmentIds
IdList getEnrollmentIds()Gets theIdsof theEnrollments.- Returns:
- the enrollment
Ids - Throws:
IllegalStateException-hasEnrollments()isfalse- Compliance:
mandatory- This method must be implemented.
-
getEnrollments
Gets theEnrollments.- Returns:
- the enrollments
- Throws:
IllegalStateException-hasEnrollments()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getProgramEntryRecord
ProgramEntryRecord getProgramEntryRecord(Type programEntryRecordType) throws OperationFailedException Gets the program entry record corresponding to the givenProgramEntryrecordType. This method is used to retrieve an object implementing the requested record. TheprogramEntryRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(programEntryRecordType)istrue.- Parameters:
programEntryRecordType- the type of program entry record to retrieve- Returns:
- the program entry record
- Throws:
NullArgumentException-programEntryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(programEntryRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-