public interface DeviceForm extends OsidObjectForm
This is the form for creating and updating Devices.
Like
all OsidForm
objects, various data elements may be set here
for use in the create and update methods in the DeviceAdminSession.
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 |
---|---|
DeviceFormRecord |
getDeviceFormRecord(Type deviceRecordType)
Gets the
DeviceFormRecord corresponding to the given
device record Type. |
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
DeviceFormRecord getDeviceFormRecord(Type deviceRecordType) throws OperationFailedException
DeviceFormRecord
corresponding to the given
device record Type.
deviceRecordType
- a device record typeNullArgumentException
- deviceRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(deviceRecordType)
is false
mandatory
- This method must be implemented.