public interface FloorForm extends OsidObjectForm, OsidTemporalForm, OsidSubjugateableForm
This is the form for creating and updating Floors. Like
all OsidForm objects, various data elements may be set here
for use in the create and update methods in the FloorAdminSession.
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 |
|---|---|
void |
clearGrossArea()
Clears the area.
|
void |
clearNumber()
Clears the number.
|
FloorFormRecord |
getFloorFormRecord(Type floorRecordType)
Gets the
FloorFormRecord corresponding to the given
floor record Type. |
Metadata |
getGrossAreaMetadata()
Gets the metadata for the gross area.
|
Metadata |
getNumberMetadata()
Gets the metadata for a number.
|
void |
setGrossArea(java.math.BigDecimal area)
Sets the gross area.
|
void |
setNumber(java.lang.String number)
Sets the building number.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypegetRequiredRecordTypesgetRecordTypes, hasRecordTypegetDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocalegetId, isCurrentclearEndDate, clearStartDate, getEndDateMetadata, getStartDateMetadata, setEndDate, setStartDateMetadata getNumberMetadata()
mandatory - This method must be implemented. void setNumber(java.lang.String number)
number - the new numberInvalidArgumentException - number is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - number is
null mandatory - This method must be implemented. void clearNumber()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getGrossAreaMetadata()
mandatory - This method must be implemented. void setGrossArea(java.math.BigDecimal area)
area - the new areaInvalidArgumentException - area is
invalidNoAccessException - Metadata.isReadOnly()
is true mandatory - This method must be implemented. void clearGrossArea()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. FloorFormRecord getFloorFormRecord(Type floorRecordType) throws OperationFailedException
FloorFormRecord corresponding to the given
floor record Type. floorRecordType - the floor record typeNullArgumentException - floorRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(floorRecordType) is false mandatory - This method must be implemented.