Class AbstractConferralQueryInspector
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.recognition.conferral.spi.AbstractConferralQueryInspector
- All Implemented Interfaces:
Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector, ConferralQueryInspector
- Direct Known Subclasses:
ConferralQueryUninspector
public abstract class AbstractConferralQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements ConferralQueryInspector
A query inspector template for conferrals.
-
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 newAbstractConferralQueryInspector. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddConferralQueryInspectorRecord(ConferralQueryInspectorRecord conferralQueryInspectorRecord, Type conferralRecordType) Adds a record to this conferral query.IdTerm[]Gets the academyIdterms.Gets the academy terms.IdTerm[]Gets the awardIdterms.Gets the award terms.getConferralQueryInspectorRecord(Type conferralRecordType) Gets the record corresponding to the given conferral query inspector recordType.IdTerm[]Gets the convocationIdterms.Gets the convocation terms.IdTerm[]Gets the recipientIdterms.Gets the recipient terms.IdTerm[]Gets the referenceIdterms.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
-
AbstractConferralQueryInspector
public AbstractConferralQueryInspector()Constructs a newAbstractConferralQueryInspector.
-
-
Method Details
-
getAwardIdTerms
Gets the awardIdterms.- Specified by:
getAwardIdTermsin interfaceConferralQueryInspector- Returns:
- the award
Idterms
-
getAwardTerms
Gets the award terms.- Specified by:
getAwardTermsin interfaceConferralQueryInspector- Returns:
- the award terms
-
getRecipientIdTerms
Gets the recipientIdterms.- Specified by:
getRecipientIdTermsin interfaceConferralQueryInspector- Returns:
- the recipient
Idterms
-
getRecipientTerms
Gets the recipient terms.- Specified by:
getRecipientTermsin interfaceConferralQueryInspector- Returns:
- the recipient terms
-
getReferenceIdTerms
Gets the referenceIdterms.- Specified by:
getReferenceIdTermsin interfaceConferralQueryInspector- Returns:
- the reference
Idterms
-
getConvocationIdTerms
Gets the convocationIdterms.- Specified by:
getConvocationIdTermsin interfaceConferralQueryInspector- Returns:
- the convocation
Idterms
-
getConvocationTerms
Gets the convocation terms.- Specified by:
getConvocationTermsin interfaceConferralQueryInspector- Returns:
- the convocation terms
-
getAcademyIdTerms
Gets the academyIdterms.- Specified by:
getAcademyIdTermsin interfaceConferralQueryInspector- Returns:
- the academy
Idterms
-
getAcademyTerms
Gets the academy terms.- Specified by:
getAcademyTermsin interfaceConferralQueryInspector- Returns:
- the academy terms
-
getConferralQueryInspectorRecord
@OSID public ConferralQueryInspectorRecord getConferralQueryInspectorRecord(Type conferralRecordType) throws OperationFailedException Gets the record corresponding to the given conferral query inspector recordType.This method must be used to retrieve a conferral implementing the requested record.- Specified by:
getConferralQueryInspectorRecordin interfaceConferralQueryInspector- Parameters:
conferralRecordType- a conferral record type- Returns:
- the conferral query inspsector record
- Throws:
NullArgumentException-conferralRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(conferralRecordType)isfalse
-
addConferralQueryInspectorRecord
protected void addConferralQueryInspectorRecord(ConferralQueryInspectorRecord conferralQueryInspectorRecord, Type conferralRecordType) Adds a record to this conferral query.- Parameters:
conferralQueryInspectorRecord- conferral query inspector recordconferralRecordType- conferral record type- Throws:
NullArgumentException-recordisnull
-