OSID Logo
OSID Specifications
osid package
Version 3.0.0
Release Candidate Preview
Interfaceosid.OsidRuleForm
Implementsosid.OsidObjectForm
osid.OsidOperableForm
Description

This form is used to create and update rules.

MethodgetRuleMetadata
Description

Gets the metadata for an associated rule.

Returnosid.Metadatametadata for the rule
CompliancemandatoryThis method must be implemented.
MethodsetRule
Description

Sets a rule.

Parametersosid.id.IdruleIdthe new rule
ErrorsINVALID_ARGUMENT ruleId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT ruleId is null
CompliancemandatoryThis method must be implemented.
MethodclearRule
Description

Removes the rule.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.