public interface OsidTemporalForm extends OsidForm
This form is used to create and update temporals.
| Modifier and Type | Method and Description |
|---|---|
void |
clearEndDate()
Clears the end date.
|
void |
clearStartDate()
Clears the start date.
|
Metadata |
getEndDateMetadata()
Gets the metadata for an end date.
|
Metadata |
getStartDateMetadata()
Gets the metadata for a start date.
|
void |
setEndDate(DateTime date)
Sets the end date.
|
void |
setStartDate(DateTime date)
Sets the start date.
|
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocalegetId, isCurrentMetadata getStartDateMetadata()
mandatory - This method must be implemented. void setStartDate(DateTime date)
date - the new dateInvalidArgumentException - date is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - date is
null mandatory - This method must be implemented. void clearStartDate()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getEndDateMetadata()
mandatory - This method must be implemented. void setEndDate(DateTime date)
date - the new dateInvalidArgumentException - date is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - date is
null mandatory - This method must be implemented. void clearEndDate()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented.