OSID Logo
OSID Specifications
rules check package
Version 3.1.0
Interfaceosid.rules.check.InstructionForm
Implementsosid.OsidRelationshipForm
osid.OsidRuleApplicatorForm
Used Byosid.rules.check.InstructionAdminSession
Description

This is the form for creating and updating Instructions. Like all OsidForms, various data elements may be set here for use in the create and update methods in the InstructionAdminSession . For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetMessageMetadata
Description

Gets the metadata for the message.

Returnosid.Metadata metadata for the message
Compliancemandatory This method must be implemented.
MethodsetMessage
Description

Sets the message.

Parametersosid.locale.DisplayTextmessage the new message
ErrorsINVALID_ARGUMENT message is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT message is null
Compliancemandatory This method must be implemented.
MethodclearMessage
Description

Removes the message.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetWarningMetadata
Description

Gets the metadata for the warning flag.

Returnosid.Metadata metadata for the warning flag
Compliancemandatory This method must be implemented.
MethodsetWarning
Description

Sets the warning flag.

Parametersbooleanwarning the new warning flag
ErrorsINVALID_ARGUMENT warning is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearWarning
Description

Removes the warning flag.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetContinueOnFailMetadata
Description

Gets the metadata for the continue-on-fail flag.

Returnosid.Metadata metadata for the continue-on-fail flag
Compliancemandatory This method must be implemented.
MethodsetContinueOnFail
Description

Sets the continue-on-fail flag.

Parametersbooleancof the new continue-on-fail flag
ErrorsINVALID_ARGUMENT cof is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearContinueOnFail
Description

Removes the continue-on-fail flag.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetBreakOnSuccessMetadata
Description

Gets the metadata for the break-on-success.

Returnosid.Metadata metadata for the break-on-success
Compliancemandatory This method must be implemented.
MethodsetBreakOnSuccess
Description

Sets the break-on-success flag.

Parametersbooleancof the new break-on-success flag
ErrorsINVALID_ARGUMENT cof is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearBreakOnSuccess
Description

Removes the break-on-success flag.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetOrderMetadata
Description

Gets the metadata for the order.

Returnosid.Metadata metadata for the order
Compliancemandatory This method must be implemented.
MethodsetOrder
Description

Sets the processing order.

Parametersintegerorder the new order
ErrorsINVALID_ARGUMENT order is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearOrder
Description

Removes the order.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetInstructionFormRecord
Description

Gets the InstructionFormRecord corresponding to the given instruction record Type.

Parametersosid.type.TypeinstructionRecordType an instruction record type
Returnosid.rules.check.records.InstructionFormRecord the instruction form record
ErrorsNULL_ARGUMENT instructionRecordType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED hasRecordType(instructionRecordType) is false
Compliancemandatory This method must be implemented.