Class AbstractResourceRelationshipQueryInspector
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.resource.resourcerelationship.spi.AbstractResourceRelationshipQueryInspector
- All Implemented Interfaces:
Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector, ResourceRelationshipQueryInspector
- Direct Known Subclasses:
ResourceRelationshipQueryUninspector
public abstract class AbstractResourceRelationshipQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements ResourceRelationshipQueryInspector
A query inspector template for resource relationships.
-
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 newAbstractResourceRelationshipQueryInspector. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddResourceRelationshipQueryInspectorRecord(ResourceRelationshipQueryInspectorRecord resourceRelationshipQueryInspectorRecord, Type resourceRelationshipRecordType) Adds a record to this resource relationship query.IdTerm[]Gets the binIdquery terms.Gets the bin query terms.IdTerm[]Gets the Destination resourceIdquery terms.Gets the Destination resource query terms.getResourceRelationshipQueryInspectorRecord(Type resourceRelationshipRecordType) Gets the record corresponding to the given resource relationship query inspector recordType.Gets the same resource query terms.IdTerm[]Gets the source resourceIdquery terms.Gets the source resource 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
-
AbstractResourceRelationshipQueryInspector
public AbstractResourceRelationshipQueryInspector()Constructs a newAbstractResourceRelationshipQueryInspector.
-
-
Method Details
-
getSourceResourceIdTerms
Gets the source resourceIdquery terms.- Specified by:
getSourceResourceIdTermsin interfaceResourceRelationshipQueryInspector- Returns:
- the query terms
-
getSourceResourceTerms
Gets the source resource query terms.- Specified by:
getSourceResourceTermsin interfaceResourceRelationshipQueryInspector- Returns:
- the query terms
-
getDestinationResourceIdTerms
Gets the Destination resourceIdquery terms.- Specified by:
getDestinationResourceIdTermsin interfaceResourceRelationshipQueryInspector- Returns:
- the query terms
-
getDestinationResourceTerms
Gets the Destination resource query terms.- Specified by:
getDestinationResourceTermsin interfaceResourceRelationshipQueryInspector- Returns:
- the query terms
-
getSameResourceTerms
Gets the same resource query terms.- Specified by:
getSameResourceTermsin interfaceResourceRelationshipQueryInspector- Returns:
- the query terms
-
getBinIdTerms
Gets the binIdquery terms.- Specified by:
getBinIdTermsin interfaceResourceRelationshipQueryInspector- Returns:
- the query terms
-
getBinTerms
Gets the bin query terms.- Specified by:
getBinTermsin interfaceResourceRelationshipQueryInspector- Returns:
- the query terms
-
getResourceRelationshipQueryInspectorRecord
@OSID public ResourceRelationshipQueryInspectorRecord getResourceRelationshipQueryInspectorRecord(Type resourceRelationshipRecordType) throws OperationFailedException Gets the record corresponding to the given resource relationship query inspector recordType.This method must be used to retrieve a resource relationship implementing the requested record.- Specified by:
getResourceRelationshipQueryInspectorRecordin interfaceResourceRelationshipQueryInspector- Parameters:
resourceRelationshipRecordType- a resource relationship record type- Returns:
- the resource relationship query inspsector record
- Throws:
NullArgumentException-resourceRelationshipRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(resourceRelationshipRecordType)isfalse
-
addResourceRelationshipQueryInspectorRecord
protected void addResourceRelationshipQueryInspectorRecord(ResourceRelationshipQueryInspectorRecord resourceRelationshipQueryInspectorRecord, Type resourceRelationshipRecordType) Adds a record to this resource relationship query.- Parameters:
resourceRelationshipQueryInspectorRecord- resource relationship query inspector recordresourceRelationshipRecordType- resourceRelationship record type- Throws:
NullArgumentException-recordisnull
-