Class AbstractCommitmentQueryInspector
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.calendaring.commitment.spi.AbstractCommitmentQueryInspector
- All Implemented Interfaces:
CommitmentQueryInspector, Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector
- Direct Known Subclasses:
CommitmentQueryUninspector
public abstract class AbstractCommitmentQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements CommitmentQueryInspector
A query inspector template for commitments.
-
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 newAbstractCommitmentQueryInspector. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCommitmentQueryInspectorRecord(CommitmentQueryInspectorRecord commitmentQueryInspectorRecord, Type commitmentRecordType) Adds a record to this commitment query.IdTerm[]Gets the calendarIdterms.Gets the calendar terms.getCommitmentQueryInspectorRecord(Type commitmentRecordType) Gets the record corresponding to the given commitment query inspector recordType.IdTerm[]Gets the eventIdterms.Gets the event terms.IdTerm[]Gets the resourceIdterms.Gets the resource 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
-
AbstractCommitmentQueryInspector
public AbstractCommitmentQueryInspector()Constructs a newAbstractCommitmentQueryInspector.
-
-
Method Details
-
getEventIdTerms
Gets the eventIdterms.- Specified by:
getEventIdTermsin interfaceCommitmentQueryInspector- Returns:
- the event
Idterms
-
getEventTerms
Gets the event terms.- Specified by:
getEventTermsin interfaceCommitmentQueryInspector- Returns:
- the event terms
-
getResourceIdTerms
Gets the resourceIdterms.- Specified by:
getResourceIdTermsin interfaceCommitmentQueryInspector- Returns:
- the resource
Idterms
-
getResourceTerms
Gets the resource terms.- Specified by:
getResourceTermsin interfaceCommitmentQueryInspector- Returns:
- the resource terms
-
getCalendarIdTerms
Gets the calendarIdterms.- Specified by:
getCalendarIdTermsin interfaceCommitmentQueryInspector- Returns:
- the calendar
Idterms
-
getCalendarTerms
Gets the calendar terms.- Specified by:
getCalendarTermsin interfaceCommitmentQueryInspector- Returns:
- the calendar terms
-
getCommitmentQueryInspectorRecord
@OSID public CommitmentQueryInspectorRecord getCommitmentQueryInspectorRecord(Type commitmentRecordType) throws OperationFailedException Gets the record corresponding to the given commitment query inspector recordType.This method must be used to retrieve a commitment implementing the requested record.- Specified by:
getCommitmentQueryInspectorRecordin interfaceCommitmentQueryInspector- Parameters:
commitmentRecordType- a commitment record type- Returns:
- the commitment query inspsector record
- Throws:
NullArgumentException-commitmentRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(commitmentRecordType)isfalse
-
addCommitmentQueryInspectorRecord
protected void addCommitmentQueryInspectorRecord(CommitmentQueryInspectorRecord commitmentQueryInspectorRecord, Type commitmentRecordType) Adds a record to this commitment query.- Parameters:
commitmentQueryInspectorRecord- commitment query inspector recordcommitmentRecordType- commitment record type- Throws:
NullArgumentException-recordisnull
-