Interface | osid.OsidRuleForm | ||
---|---|---|---|
Implements | osid.OsidObjectForm | ||
osid.OsidOperableForm | |||
Description |
This form is used to create and update rules. | ||
Method | getRuleMetadata | ||
Description |
Gets the metadata for an associated rule. | ||
Return | osid.Metadata | metadata for the rule | |
Compliance | mandatory | This method must be implemented. | |
Method | setRule | ||
Description |
Sets a rule. | ||
Parameters | osid.id.Id | ruleId | the new rule |
Errors | INVALID_ARGUMENT | ruleId is invalid | |
NO_ACCESS | Metadata.isReadOnly() is true | ||
NULL_ARGUMENT | ruleId is null | ||
Compliance | mandatory | This method must be implemented. | |
Method | clearRule | ||
Description |
Removes the rule. | ||
Errors | NO_ACCESS | Metadata.isRequired() is true or
Metadata.isReadOnly() is true | |
Compliance | mandatory | This method must be implemented. |