public interface OsidRuleForm extends OsidObjectForm, OsidOperableForm
This form is used to create and update rules.
| Modifier and Type | Method and Description |
|---|---|
void |
clearRule()
Removes the rule.
|
Metadata |
getRuleMetadata()
Gets the metadata for an associated rule.
|
void |
setRule(Id ruleId)
Sets a rule.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypegetRequiredRecordTypesgetRecordTypes, hasRecordTypegetDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocalegetId, isCurrentclearDisabled, clearEnabled, getDisabledMetadata, getEnabledMetadata, setDisabled, setEnabledMetadata getRuleMetadata()
mandatory - This method must be implemented. void setRule(Id ruleId)
ruleId - the new ruleInvalidArgumentException - ruleId is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - ruleId is
null mandatory - This method must be implemented. void clearRule()
NoAccessException - Metadata.isRequired()
is true or Metadata.isReadOnly()
is true mandatory - This method must be implemented.