OSID Logo
OSID Specifications
sequencing package
Version 3.1.0
Interfaceosid.sequencing.Chain
Implementsosid.OsidObject
Used Byosid.sequencing.ChainAdminSession
osid.sequencing.ChainList
osid.sequencing.ChainLookupSession
Description

An Chain is a chain resource. A chain is inactive if the input is disabled.

MethodisFifo
Description

Tests if elements are appended to the end of the chain.

Returnboolean true if elements are appended to the end of the chain, false if elements are added to the top of the chain
Compliancemandatory This method must be implemented.
MethodgetChainRecord
Description

Gets the chain record corresponding to the given Chain record Type.This method is used to retrieve an object implementing the requested record. The chainRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(chainRecordType) is true.

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