OSID Logo
OSID Specifications
osid package
Version 3.1.0
Interfaceosid.OsidRuleApplicatorQuery
Implementsosid.OsidEnablerQuery
Implemented Byosid.rules.check.InstructionQuery
Description

This is the query interface for searching OsidRuleApplicators. Each method specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchResourceId
Description

Match the Id of the resource.

Parametersosid.id.IdresourceId Id to match
booleanmatch true if for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearResourceIdTerms
Description

Clears all resource Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsResourceQuery
Description

Tests if a ResourceQuery is available.

Returnboolean true if a resource query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetResourceQuery
Description

Gets the query for the resource. Each retrieval performs a boolean OR.

Parametersbooleanmatch true if for a positive match, false for a negative match
Returnosid.resource.ResourceQuery the resource query
ErrorsUNIMPLEMENTED supportsResourceQuery() is false
Complianceoptional This method must be implemented if supportsResourceQuery() is true.
MethodmatchAnyResource
Description

Match any associated resource.

Parametersbooleanmatch true to match any resource, false to match no resources
Compliancemandatory This method must be implemented.
MethodclearResourceTerms
Description

Clears all resource terms.

Compliancemandatory This method must be implemented.