Class AbstractDocetQueryInspector
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.syllabus.docet.spi.AbstractDocetQueryInspector
- All Implemented Interfaces:
DocetQueryInspector, Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector
- Direct Known Subclasses:
DocetQueryUninspector
public abstract class AbstractDocetQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements DocetQueryInspector
A query inspector template for docets.
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDocetQueryInspectorRecord(DocetQueryInspectorRecord docetQueryInspectorRecord, Type docetRecordType) Adds a record to this docet query.IdTerm[]Gets the activity unitIdterms.Gets the activity unit terms.IdTerm[]Gets the assetIdquery terms.Gets the asset query terms.IdTerm[]Gets the assetIdquery terms.Gets the asset query terms.IdTerm[]Gets the course catalogIdterms.Gets the course catalog terms.getDocetQueryInspectorRecord(Type docetRecordType) Gets the record corresponding to the given docet query inspector recordType.Gets the duration query terms.Gets the in class query terms.IdTerm[]Gets the objectiveIdquery terms.Gets the objective query terms.IdTerm[]Gets the moduleIdterms.Gets the module 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
-
AbstractDocetQueryInspector
public AbstractDocetQueryInspector()Constructs a newAbstractDocetQueryInspector.
-
-
Method Details
-
getModuleIdTerms
Gets the moduleIdterms.- Specified by:
getModuleIdTermsin interfaceDocetQueryInspector- Returns:
- the module
Idterms
-
getModuleTerms
Gets the module terms.- Specified by:
getModuleTermsin interfaceDocetQueryInspector- Returns:
- the module terms
-
getActivityUnitIdTerms
Gets the activity unitIdterms.- Specified by:
getActivityUnitIdTermsin interfaceDocetQueryInspector- Returns:
- the activity unit
Idterms
-
getActivityUnitTerms
Gets the activity unit terms.- Specified by:
getActivityUnitTermsin interfaceDocetQueryInspector- Returns:
- the activity unit terms
-
getLearningObjectiveIdTerms
Gets the objectiveIdquery terms.- Specified by:
getLearningObjectiveIdTermsin interfaceDocetQueryInspector- Returns:
- the objective
Idterms
-
getLearningObjectiveTerms
Gets the objective query terms.- Specified by:
getLearningObjectiveTermsin interfaceDocetQueryInspector- Returns:
- the objective terms
-
getInClassTerms
Gets the in class query terms.- Specified by:
getInClassTermsin interfaceDocetQueryInspector- Returns:
- the in class query terms
-
getDurationTerms
Gets the duration query terms.- Specified by:
getDurationTermsin interfaceDocetQueryInspector- Returns:
- the duration query terms
-
getAssetIdTerms
Gets the assetIdquery terms.- Specified by:
getAssetIdTermsin interfaceDocetQueryInspector- Returns:
- the asset
Idterms
-
getAssetTerms
Gets the asset query terms.- Specified by:
getAssetTermsin interfaceDocetQueryInspector- Returns:
- the asset terms
-
getAssessmentIdTerms
Gets the assetIdquery terms.- Specified by:
getAssessmentIdTermsin interfaceDocetQueryInspector- Returns:
- the asset
Idterms
-
getAssessmentTerms
Gets the asset query terms.- Specified by:
getAssessmentTermsin interfaceDocetQueryInspector- Returns:
- the asset terms
-
getCourseCatalogIdTerms
Gets the course catalogIdterms.- Specified by:
getCourseCatalogIdTermsin interfaceDocetQueryInspector- Returns:
- the course catalog
Idterms
-
getCourseCatalogTerms
Gets the course catalog terms.- Specified by:
getCourseCatalogTermsin interfaceDocetQueryInspector- Returns:
- the course catalog terms
-
getDocetQueryInspectorRecord
@OSID public DocetQueryInspectorRecord getDocetQueryInspectorRecord(Type docetRecordType) throws OperationFailedException Gets the record corresponding to the given docet query inspector recordType.This method must be used to retrieve a docet implementing the requested record.- Specified by:
getDocetQueryInspectorRecordin interfaceDocetQueryInspector- Parameters:
docetRecordType- a docet record type- Returns:
- the docet query inspsector record
- Throws:
NullArgumentException-docetRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(docetRecordType)isfalse
-
addDocetQueryInspectorRecord
protected void addDocetQueryInspectorRecord(DocetQueryInspectorRecord docetQueryInspectorRecord, Type docetRecordType) Adds a record to this docet query.- Parameters:
docetQueryInspectorRecord- docet query inspector recorddocetRecordType- docet record type- Throws:
NullArgumentException-recordisnull
-