public interface ModelQueryInspector extends OsidObjectQueryInspector
The query inspectors provide a means of accessing the match terms of a
query. These interfaces are used to examine the actual query terms used in
a search or that may be used to create a smart catalog. Query inspectors
may be converted to OsidQuery
interfaces for reuse or
modification in the search sessions.
Modifier and Type | Method and Description |
---|---|
StringTerm[] |
getArchetypeTerms()
Gets the archetype query terms.
|
IdTerm[] |
getManufacturerIdTerms()
Gets the manufacturer
Id query terms. |
ResourceQueryInspector[] |
getManufacturerTerms()
Gets the manufacturer query terms.
|
ModelQueryInspectorRecord |
getModelQueryInspectorRecord(Type modelRecordType)
Gets the model query inspector record corresponding to the given
Model record Type. |
StringTerm[] |
getNumberTerms()
Gets the model number query terms.
|
IdTerm[] |
getWarehouseIdTerms()
Gets the warehouse
Id query terms. |
WarehouseQueryInspector[] |
getWarehouseTerms()
Gets the warehouse query terms.
|
getCommentIdTerms, getCommentTerms, getCreditIdTerms, getCreditTerms, getDescriptionTerms, getDisplayNameTerms, getGenusTypeTerms, getJournalEntryIdTerms, getJournalEntryTerms, getParentGenusTypeTerms, getRelationshipIdTerms, getRelationshipPeerIdTerms, getRelationshipTerms, getStateIdTerms, getStateTerms, getStatisticTerms, getSubjectIdTerms, getSubjectRelevancyTerms, getSubjectTerms
getIdTerms
getRecordTypeTerms
getRecordTypes, hasRecordType
getAnyTerms, getKeywordTerms
IdTerm[] getManufacturerIdTerms()
Id
query terms. Id
query termsmandatory
- This method must be implemented. ResourceQueryInspector[] getManufacturerTerms()
mandatory
- This method must be implemented. StringTerm[] getArchetypeTerms()
mandatory
- This method must be implemented. StringTerm[] getNumberTerms()
mandatory
- This method must be implemented. IdTerm[] getWarehouseIdTerms()
Id
query terms. Id
query termsmandatory
- This method must be implemented. WarehouseQueryInspector[] getWarehouseTerms()
mandatory
- This method must be implemented. ModelQueryInspectorRecord getModelQueryInspectorRecord(Type modelRecordType) throws OperationFailedException
Model
record Type.
Multiple record
retrievals produce a nested OR
term.modelRecordType
- a model record typeNullArgumentException
- modelRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(modelRecordType)
is false
mandatory
- This method must be implemented.