Class AbstractCourseEntryQueryInspector
java.lang.Object
net.okapia.osid.jamocha.spi.AbstractOsidQueryInspector
net.okapia.osid.jamocha.spi.AbstractOsidIdentifiableQueryInspector
net.okapia.osid.jamocha.spi.AbstractOsidObjectQueryInspector
net.okapia.osid.jamocha.spi.AbstractTemporalOsidObjectQueryInspector
net.okapia.osid.jamocha.spi.AbstractOsidRelationshipQueryInspector
net.okapia.osid.jamocha.course.chronicle.courseentry.spi.AbstractCourseEntryQueryInspector
- All Implemented Interfaces:
CourseEntryQueryInspector, Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector
- Direct Known Subclasses:
CourseEntryQueryUninspector
public abstract class AbstractCourseEntryQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements CourseEntryQueryInspector
A query inspector template for course entries.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractTemporalOsidObjectQueryInspector
AbstractTemporalOsidObjectQueryInspector.OsidTemporalQueryInspectorModifier and TypeClassDescriptionprotected classComposed OsidTemporalQueryInspector.Nested classes/interfaces inherited from class AbstractOsidObjectQueryInspector
AbstractOsidObjectQueryInspector.OsidBrowsableQueryInspectorModifier and TypeClassDescriptionprotected classComposed BrowsableQueryInspector. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newAbstractCourseEntryQueryInspector. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCourseEntryQueryInspectorRecord(CourseEntryQueryInspectorRecord courseEntryQueryInspectorRecord, Type courseEntryRecordType) Adds a record to this course entry query.Gets the complete query terms.Gets the course begin date query terms.IdTerm[]Gets the course catalogIdquery terms.Gets the course catalog query terms.Gets the course end date query terms.getCourseEntryQueryInspectorRecord(Type courseEntryRecordType) Gets the record corresponding to the given course entry query inspector recordType.IdTerm[]Gets the courseIdquery terms.Gets the course query terms.IdTerm[]Gets the grade systemIdquery terms.Gets the grade system query terms.Gets the earned credits query terms.IdTerm[]Gets the gradeIdquery terms.Gets the grade query terms.Gets the is-registration-known query terms.IdTerm[]Gets the registrationIdquery terms.Gets the registration query terms.IdTerm[]Gets the grade systemIdquery terms.Gets the grade system query terms.Gets the score query terms.IdTerm[]Gets the resourceIdquery terms.Gets the student query terms.IdTerm[]Gets the termIdquery terms.Gets the term query terms.Methods inherited from class AbstractOsidRelationshipQueryInspector
getEndReasonIdTerms, getEndReasonTermsModifier and TypeMethodDescriptionIdTerm[]Gets the end reaosn stateIdquery terms.Gets the end reason state query terms.Methods inherited from class AbstractTemporalOsidObjectQueryInspector
getDateTerms, getEffectiveTerms, getEndDateTerms, getStartDateTermsModifier and TypeMethodDescriptionGets the date query terms.Gets the effective query terms.Gets the end date query terms.Gets the start date query terms.Methods inherited from class AbstractOsidObjectQueryInspector
addRecordType, getCommentIdTerms, getCommentTerms, getCreditIdTerms, getCreditTerms, getDescriptionTerms, getDisplayNameTerms, getGenusTypeTerms, getJournalEntryIdTerms, getJournalEntryTerms, getParentGenusTypeTerms, getRecordTypes, getRecordTypeTerms, getRelationshipIdTerms, getRelationshipPeerIdTerms, getRelationshipTerms, getStateIdTerms, getStateTerms, getStatisticTerms, getSubjectIdTerms, getSubjectRelevancyTerms, getSubjectTerms, hasRecordTypeModifier and TypeMethodDescriptionprotected voidaddRecordType(Type recordType) Adds a record type.IdTerm[]Gets the commentIdquery terms.Gets the comment query terms.IdTerm[]Gets the creditIdquery terms.Gets the credit query terms.Gets the description query terms.Gets the display name query terms.TypeTerm[]Gets the genus type query terms.IdTerm[]Gets the journal entryIdquery terms.Gets the journal entry query terms.TypeTerm[]Gets the parent genus type query terms.Gets the record types available in this object.TypeTerm[]Gets the record type query terms.IdTerm[]Gets the relationshipIdquery terms.IdTerm[]Gets the relationship peerIdquery terms.Gets the relationship query terms.IdTerm[]Gets the stateIdquery terms.Gets the state query terms.Gets the statistic query terms.IdTerm[]Gets the subjectIdquery terms.Gets the relevancy query terms.Gets the subject query terms.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from class AbstractOsidIdentifiableQueryInspector
getIdTermsMethods inherited from class AbstractOsidQueryInspector
getAnyTerms, getKeywordTermsModifier and TypeMethodDescriptionGets the any query terms.Gets the keyword query terms.
-
Constructor Details
-
AbstractCourseEntryQueryInspector
public AbstractCourseEntryQueryInspector()Constructs a newAbstractCourseEntryQueryInspector.
-
-
Method Details
-
getStudentIdTerms
Gets the resourceIdquery terms.- Specified by:
getStudentIdTermsin interfaceCourseEntryQueryInspector- Returns:
- the resource
Idquery terms
-
getStudentTerms
Gets the student query terms.- Specified by:
getStudentTermsin interfaceCourseEntryQueryInspector- Returns:
- the resource query terms
-
getCourseIdTerms
Gets the courseIdquery terms.- Specified by:
getCourseIdTermsin interfaceCourseEntryQueryInspector- Returns:
- the course
Idquery terms
-
getCourseTerms
Gets the course query terms.- Specified by:
getCourseTermsin interfaceCourseEntryQueryInspector- Returns:
- the course terms
-
getTermIdTerms
Gets the termIdquery terms.- Specified by:
getTermIdTermsin interfaceCourseEntryQueryInspector- Returns:
- the term
Idquery terms
-
getTermTerms
Gets the term query terms.- Specified by:
getTermTermsin interfaceCourseEntryQueryInspector- Returns:
- the term terms
-
getIsRegistrationKnownTerms
Gets the is-registration-known query terms.- Specified by:
getIsRegistrationKnownTermsin interfaceCourseEntryQueryInspector- Returns:
- the is-registration-known terms
-
getCourseBeginDateTerms
Gets the course begin date query terms.- Specified by:
getCourseBeginDateTermsin interfaceCourseEntryQueryInspector- Returns:
- the course begin date query terms
-
getCourseEndDateTerms
Gets the course end date query terms.- Specified by:
getCourseEndDateTermsin interfaceCourseEntryQueryInspector- Returns:
- the course end date query terms
-
getCompleteTerms
Gets the complete query terms.- Specified by:
getCompleteTermsin interfaceCourseEntryQueryInspector- Returns:
- the complete terms
-
getCreditScaleIdTerms
Gets the grade systemIdquery terms.- Specified by:
getCreditScaleIdTermsin interfaceCourseEntryQueryInspector- Returns:
- the grade system
Idquery terms
-
getCreditScaleTerms
Gets the grade system query terms.- Specified by:
getCreditScaleTermsin interfaceCourseEntryQueryInspector- Returns:
- the grade system terms
-
getCreditsEarnedTerms
Gets the earned credits query terms.- Specified by:
getCreditsEarnedTermsin interfaceCourseEntryQueryInspector- Returns:
- the earned credits query terms
-
getGradeIdTerms
Gets the gradeIdquery terms.- Specified by:
getGradeIdTermsin interfaceCourseEntryQueryInspector- Returns:
- the grade
Idquery terms
-
getGradeTerms
Gets the grade query terms.- Specified by:
getGradeTermsin interfaceCourseEntryQueryInspector- Returns:
- the grade terms
-
getScoreScaleIdTerms
Gets the grade systemIdquery terms.- Specified by:
getScoreScaleIdTermsin interfaceCourseEntryQueryInspector- Returns:
- the grade system
Idquery terms
-
getScoreScaleTerms
Gets the grade system query terms.- Specified by:
getScoreScaleTermsin interfaceCourseEntryQueryInspector- Returns:
- the grade system terms
-
getScoreTerms
Gets the score query terms.- Specified by:
getScoreTermsin interfaceCourseEntryQueryInspector- Returns:
- the score query terms
-
getRegistrationIdTerms
Gets the registrationIdquery terms.- Specified by:
getRegistrationIdTermsin interfaceCourseEntryQueryInspector- Returns:
- the registration
Idquery terms
-
getRegistrationTerms
Gets the registration query terms.- Specified by:
getRegistrationTermsin interfaceCourseEntryQueryInspector- Returns:
- the registration query terms
-
getCourseCatalogIdTerms
Gets the course catalogIdquery terms.- Specified by:
getCourseCatalogIdTermsin interfaceCourseEntryQueryInspector- Returns:
- the course catalog
Idquery terms
-
getCourseCatalogTerms
Gets the course catalog query terms.- Specified by:
getCourseCatalogTermsin interfaceCourseEntryQueryInspector- Returns:
- the course catalog query terms
-
getCourseEntryQueryInspectorRecord
@OSID public CourseEntryQueryInspectorRecord getCourseEntryQueryInspectorRecord(Type courseEntryRecordType) throws OperationFailedException Gets the record corresponding to the given course entry query inspector recordType.This method must be used to retrieve a course entry implementing the requested record.- Specified by:
getCourseEntryQueryInspectorRecordin interfaceCourseEntryQueryInspector- Parameters:
courseEntryRecordType- a course entry record type- Returns:
- the course entry query inspsector record
- Throws:
NullArgumentException-courseEntryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(courseEntryRecordType)isfalse
-
addCourseEntryQueryInspectorRecord
protected void addCourseEntryQueryInspectorRecord(CourseEntryQueryInspectorRecord courseEntryQueryInspectorRecord, Type courseEntryRecordType) Adds a record to this course entry query.- Parameters:
courseEntryQueryInspectorRecord- course entry query inspector recordcourseEntryRecordType- courseEntry record type- Throws:
NullArgumentException-recordisnull
-