OSID Logo
OSID Specifications
recipe package
Version 3.1.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
Compliancemandatory This method must be implemented.
MethodgetUnitTypeTerms
Description

Gets the unit type query terms.

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

Gets the stock query terms.

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

Gets the stock query terms.

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

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

Parametersosid.type.TypeingredientRecordType an ingredient record type
Returnosid.recipe.records.IngredientQueryInspectorRecord the ingredient query inspector record
ErrorsNULL_ARGUMENT ingredientRecordType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED hasRecordType(ingredientRecordType) is false
Compliancemandatory This method must be implemented.