Class AbstractAwardEntryQueryInspector
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.awardentry.spi.AbstractAwardEntryQueryInspector
- All Implemented Interfaces:
AwardEntryQueryInspector, Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector
- Direct Known Subclasses:
AwardEntryQueryUninspector
public abstract class AbstractAwardEntryQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements AwardEntryQueryInspector
A query inspector template for award 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 newAbstractAwardEntryQueryInspector. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAwardEntryQueryInspectorRecord(AwardEntryQueryInspectorRecord awardEntryQueryInspectorRecord, Type awardEntryRecordType) Adds a record to this award entry query.IdTerm[]Gets the assessmentIdquery terms.Gets the assessment query terms.getAwardEntryQueryInspectorRecord(Type awardEntryRecordType) Gets the record corresponding to the given award entry query inspector recordType.IdTerm[]Gets the awardIdquery terms.Gets the award query terms.IdTerm[]Gets the course catalogIdquery terms.Gets the course catalog query terms.IdTerm[]Gets the courseIdquery terms.Gets the course query terms.Gets the award date query terms.IdTerm[]Gets the programIdquery terms.Gets the program query terms.IdTerm[]Gets the resourceIdquery terms.Gets the student 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
-
AbstractAwardEntryQueryInspector
public AbstractAwardEntryQueryInspector()Constructs a newAbstractAwardEntryQueryInspector.
-
-
Method Details
-
getStudentIdTerms
Gets the resourceIdquery terms.- Specified by:
getStudentIdTermsin interfaceAwardEntryQueryInspector- Returns:
- the resource
Idquery terms
-
getStudentTerms
Gets the student query terms.- Specified by:
getStudentTermsin interfaceAwardEntryQueryInspector- Returns:
- the resource query terms
-
getAwardIdTerms
Gets the awardIdquery terms.- Specified by:
getAwardIdTermsin interfaceAwardEntryQueryInspector- Returns:
- the award
Idquery terms
-
getAwardTerms
Gets the award query terms.- Specified by:
getAwardTermsin interfaceAwardEntryQueryInspector- Returns:
- the award terms
-
getDateAwardedTerms
Gets the award date query terms.- Specified by:
getDateAwardedTermsin interfaceAwardEntryQueryInspector- Returns:
- the date terms
-
getProgramIdTerms
Gets the programIdquery terms.- Specified by:
getProgramIdTermsin interfaceAwardEntryQueryInspector- Returns:
- the program
Idquery terms
-
getProgramTerms
Gets the program query terms.- Specified by:
getProgramTermsin interfaceAwardEntryQueryInspector- Returns:
- the program terms
-
getCourseIdTerms
Gets the courseIdquery terms.- Specified by:
getCourseIdTermsin interfaceAwardEntryQueryInspector- Returns:
- the course
Idquery terms
-
getCourseTerms
Gets the course query terms.- Specified by:
getCourseTermsin interfaceAwardEntryQueryInspector- Returns:
- the course terms
-
getAssessmentIdTerms
Gets the assessmentIdquery terms.- Specified by:
getAssessmentIdTermsin interfaceAwardEntryQueryInspector- Returns:
- the assessment
Idquery terms
-
getAssessmentTerms
Gets the assessment query terms.- Specified by:
getAssessmentTermsin interfaceAwardEntryQueryInspector- Returns:
- the assessment terms
-
getCourseCatalogIdTerms
Gets the course catalogIdquery terms.- Specified by:
getCourseCatalogIdTermsin interfaceAwardEntryQueryInspector- Returns:
- the course catalog
Idquery terms
-
getCourseCatalogTerms
Gets the course catalog query terms.- Specified by:
getCourseCatalogTermsin interfaceAwardEntryQueryInspector- Returns:
- the course catalog query terms
-
getAwardEntryQueryInspectorRecord
@OSID public AwardEntryQueryInspectorRecord getAwardEntryQueryInspectorRecord(Type awardEntryRecordType) throws OperationFailedException Gets the record corresponding to the given award entry query inspector recordType.This method must be used to retrieve an award entry implementing the requested record.- Specified by:
getAwardEntryQueryInspectorRecordin interfaceAwardEntryQueryInspector- Parameters:
awardEntryRecordType- an award entry record type- Returns:
- the award entry query inspsector record
- Throws:
NullArgumentException-awardEntryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(awardEntryRecordType)isfalse
-
addAwardEntryQueryInspectorRecord
protected void addAwardEntryQueryInspectorRecord(AwardEntryQueryInspectorRecord awardEntryQueryInspectorRecord, Type awardEntryRecordType) Adds a record to this award entry query.- Parameters:
awardEntryQueryInspectorRecord- award entry query inspector recordawardEntryRecordType- awardEntry record type- Throws:
NullArgumentException-recordisnull
-