public interface MeterForm extends OsidObjectForm
This is the form for creating and updating Meters. Like
all OsidForm objects, various data elements may be set here
for use in the create and update methods in the MeterAdminSession.
For each data element that may be set, metadata may be examined to
provide display hints or data constraints.
| Modifier and Type | Method and Description |
|---|---|
MeterFormRecord |
getMeterFormRecord(Type meterRecordType)
Gets the
MeterFormRecord corresponding to the given
Meter record Type. |
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypegetRequiredRecordTypesgetRecordTypes, hasRecordTypegetDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocalegetId, isCurrentMeterFormRecord getMeterFormRecord(Type meterRecordType) throws OperationFailedException
MeterFormRecord corresponding to the given
Meter record Type. meterRecordType - the meter record typeNullArgumentException - meterRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(meterRecordType) is false mandatory - This method must be implemented.