OSID Logo
OSID Specifications
sequencing package
Version 3.1.0
Interfaceosid.sequencing.ChainQuery
Implementsosid.OsidObjectQuery
Used Byosid.sequencing.AntimatroidQuery
osid.sequencing.ChainQuerySession
osid.sequencing.ChainSearchSession
osid.sequencing.ChainSmartAntimatroidSession
Description

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

MethodmatchFifo
Description

Matches fifo chains.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearFifoTerms
Description

Clears the fifo query terms.

Compliancemandatory This method must be implemented.
MethodmatchElement
Description

Sets the element Id for this query.

Parametersosid.id.IdelementId the element Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT elementId is null
Compliancemandatory This method must be implemented.
MethodmatchAnyElement
Description

Matches chains with any element.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearElementTerms
Description

Clears the element query terms.

Compliancemandatory This method must be implemented.
MethodmatchAntimatroidId
Description

Sets the action group Id for this query to match sequencinglers assigned to action groups.

Parametersosid.id.IdactionGroupId the action group Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT actionGroupId is null
Compliancemandatory This method must be implemented.
MethodclearAntimatroidIdTerms
Description

Clears the antimatroid Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAntimatroidQuery
Description

Tests if an AntimatroidQuery is available.

Returnboolean true if an antimatroid query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAntimatroidQuery
Description

Gets the query for an antimatroid. Multiple retrievals produce a nested OR term.

Returnosid.sequencing.AntimatroidQuery the antimatroid query
ErrorsUNIMPLEMENTED supportsAntimatroidQuery() is false
Complianceoptional This method must be implemented if supportsAntimatroidQuery() is true.
MethodclearAntimatroidTerms
Description

Clears the antimatroid query terms.

Compliancemandatory This method must be implemented.
MethodgetChainQueryRecord
Description

Gets the query record corresponding to the given Chain record Type.Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypechainRecordType a chain record type
Returnosid.sequencing.records.ChainQueryRecord the chain query record
ErrorsNULL_ARGUMENT chainRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(chainRecordType) is false
Compliancemandatory This method must be implemented.