OSID Logo
OSID Specifications
recipe package
Version 3.0.0
Release Candidate Preview
Interfaceosid.recipe.IngredientQueryInspector
Implementsosid.OsidObjectQueryInspector
osid.OsidSubjugateableQueryInspector
Description

This is the query inspector for examining ingredient queries.

MethodgetQuanityTerms
Description

Gets the quantity query terms.

Returnosid.search.terms.CardinalRangeTerm[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetUnitTypeTerms
Description

Gets the unit type query terms.

Returnosid.search.terms.TypeTerm[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetStockIdTerms
Description

Gets the stock query terms.

Returnosid.search.terms.IdTerm[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetStockTerms
Description

Gets the stock query terms.

Returnosid.inventory.StockQueryInspector[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetIngredientQueryInspectorRecord
Description

Gets the ingredient query inspector record corresponding to the given Ingredient record Type.

Parametersosid.type.TypeingredientRecordTypean ingredient record type
Returnosid.recipe.records.IngredientQueryInspectorRecordthe ingredient query inspector record
ErrorsNULL_ARGUMENT ingredientRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED hasRecordType(ingredientRecordType) is false
CompliancemandatoryThis method must be implemented.