Interface CredentialEntry
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject, OsidRelationship, Temporal
A CredentialEntry represents an academic record entry for a
credential.
-
Method Summary
Modifier and TypeMethodDescriptionGets the date the credential was abandoned.Gets the abandonTerm.Gets theIdof the abandonTerm.Gets the date the credential was awarded.Gets the awardTerm.Gets theIdof the awardTerm.Gets theCredential.getCredentialEntryRecord(Type credentialEntryRecordType) Gets the credential entry record corresponding to the givenCredentialEntryrecordType.Gets theIdof theCredential.Gets the award date.Gets the expected completion date.Gets the expected completionTerm.Gets theIdof the expected completionTerm.Gets theProgram.Gets theIdof theProgram.Gets the start date of the matriculation.Gets the startTerm.Gets theIdof the startTerm.Gets theStudent.Gets theIdof theStudent.booleanTests if a program is associated with this credential.booleanTests if the pursuit of the credential has been abandoned.booleanTests if the credential is being actively pursued.booleanTests if the credential has been awarded.booleanTests if an expected completion is known.booleanTests if the matriculation status for this credential entry is known.booleanisPaused()Tests if the pursuit of the credential is paused.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, isEffectiveModifier and TypeMethodDescriptionGets the end 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.
-
getCredentialId
Id getCredentialId()Gets theIdof theCredential.- Returns:
- the credential
Id - Compliance:
mandatory- This method must be implemented.
-
getCredential
Gets theCredential.- Returns:
- the credential
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
isMatriculationKnown
boolean isMatriculationKnown()Tests if the matriculation status for this credential entry is known.- Returns:
trueif the matriculation status is known,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getStartDate
DateTime getStartDate()Gets the start date of the matriculation.- Specified by:
getStartDatein interfaceTemporal- Returns:
- the start date
- Throws:
IllegalStateException-isMatriculationKnown()isfalse- Compliance:
mandatory- This method must be implemented.
-
getStartTermId
Id getStartTermId()Gets theIdof the startTerm.- Returns:
- the start term
Id - Throws:
IllegalStateException-isMatriculationKnown()isfalse- Compliance:
mandatory- This method must be implemented.
-
getStartTerm
Gets the startTerm.- Returns:
- the start term
- Throws:
IllegalStateException-isMatriculationKnown()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
isExpectedToComplete
boolean isExpectedToComplete()Tests if an expected completion is known.- Returns:
trueif an expected completion is known,falseotherwise- Throws:
IllegalStateException-isMatriculationKnown()isfalse- Compliance:
mandatory- This method must be implemented.
-
getExpectedCompletionDate
DateTime getExpectedCompletionDate()Gets the expected completion date.- 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 expected completionTerm.- Returns:
- the expected completion term
- Throws:
IllegalStateException-isExpectedToComplete()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
isActivelyPursuing
boolean isActivelyPursuing()Tests if the credential is being actively pursued.- Returns:
trueif the credential is being actively pursued,falseotherwise- Throws:
IllegalStateException-isMatriculationKnown()isfalse- Compliance:
mandatory- This method must be implemented.
-
isPaused
boolean isPaused()Tests if the pursuit of the credential is paused.- Returns:
trueif the pursuit of the credential is paused,falseotherwise- Throws:
IllegalStateException-isMatriculationKnown()isfalse- Compliance:
mandatory- This method must be implemented.
-
isAbandoned
boolean isAbandoned()Tests if the pursuit of the credential has been abandoned.- Returns:
trueif the pursuit of the credential has been abandoned,falseotherwise- Throws:
IllegalStateException-isMatriculationKnown()isfalse- Compliance:
mandatory- This method must be implemented.
-
getAbandonDate
DateTime getAbandonDate()Gets the date the credential was abandoned.- Returns:
- the abandon date
- Throws:
IllegalStateException-isAbandoned()isfalse- Compliance:
mandatory- This method must be implemented.
-
getAbandonTermId
Id getAbandonTermId()Gets theIdof the abandonTerm.- Returns:
- the abandon term
Id - Throws:
IllegalStateException-isAbandoned()isfalse- Compliance:
mandatory- This method must be implemented.
-
getAbandonTerm
Gets the abandonTerm.- Returns:
- the abandon term
- Throws:
IllegalStateException-isAbandoned()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
isAwarded
boolean isAwarded()Tests if the credential has been awarded.- Returns:
trueif the credential has been awarded,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAwardDate
DateTime getAwardDate()Gets the date the credential was awarded.- Returns:
- the award date
- Throws:
IllegalStateException-isAwarded()isfalse- Compliance:
mandatory- This method must be implemented.
-
getAwardTermId
Id getAwardTermId()Gets theIdof the awardTerm.- Returns:
- the award term
Id - Throws:
IllegalStateException-isAwarded()isfalse- Compliance:
mandatory- This method must be implemented.
-
getAwardTerm
Gets the awardTerm.- Returns:
- the award term
- Throws:
IllegalStateException-isAwarded()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getDateAwarded
DateTime getDateAwarded()Gets the award date.- Returns:
- the date awarded
- Compliance:
mandatory- This method must be implemented.
-
hasProgram
boolean hasProgram()Tests if a program is associated with this credential.- Returns:
trueif a program is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getProgramId
Id getProgramId()Gets theIdof theProgram.- Returns:
- the program
Id - Throws:
IllegalStateException-hasProgram()isfalse- Compliance:
mandatory- This method must be implemented.
-
getProgram
Gets theProgram.- Returns:
- the program
- Throws:
IllegalStateException-hasProgram()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getCredentialEntryRecord
CredentialEntryRecord getCredentialEntryRecord(Type credentialEntryRecordType) throws OperationFailedException Gets the credential entry record corresponding to the givenCredentialEntryrecordType. This method is used to retrieve an object implementing the requested record. ThecredentialEntryRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(credentialEntryRecordType)istrue.- Parameters:
credentialEntryRecordType- the type of credential entry record to retrieve- Returns:
- the credential entry record
- Throws:
NullArgumentException-credentialEntryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(credentialEntryRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-