OSID Logo
OSID Specifications
sequencing package
Version 3.0.0
Release Candidate Preview
Interfaceosid.sequencing.Chain
Implementsosid.OsidObject
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
CompliancemandatoryThis 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.TypechainRecordTypethe type of chain record to retrieve
Returnosid.sequencing.records.ChainRecordthe chain record
ErrorsNULL_ARGUMENT chainRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(chainRecordType) is false
CompliancemandatoryThis method must be implemented.