OSID Logo
OSID Specifications
recipe package
Version 3.0.0
Interfaceosid.recipe.IngredientQueryInspector
Implementsosid.OsidObjectQueryInspector
osid.OsidSubjugateableQueryInspector
Used Byosid.recipe.DirectionQueryInspector
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_ARGUMENTingredientRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDhasRecordType(ingredientRecordType) is false
CompliancemandatoryThis method must be implemented.