Interface MeterForm
- All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, Suppliable
- All Known Subinterfaces:
MeterBatchForm
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.
Like all OsidForms, MeterForm is stateful and must not
be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptiongetMeterFormRecord(Type meterRecordType) Gets theMeterFormRecordcorresponding to the givenMeterrecordType.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidExtensibleForm
getRequiredRecordTypesMethods inherited from interface OsidForm
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocaleMethods inherited from interface OsidObjectForm
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
-
Method Details
-
getMeterFormRecord
Gets theMeterFormRecordcorresponding to the givenMeterrecordType.- Parameters:
meterRecordType- the meter record type- Returns:
- the meter form record
- Throws:
NullArgumentException-meterRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(meterRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-