Class MetaData.DateTimeValue
java.lang.Object
se.conciliate.extensions.documents.MetaData<LocalDateTime>
se.conciliate.extensions.documents.MetaData.DateTimeValue
Represents a date/time value. The meta data type is a
MetaDataType.DateTimeMetaDataType
and the data will be presented as a label. (Currently, MetaData.DateTimeValue
s are
not editable in the user interface.)-
Nested Class Summary
Nested classes/interfaces inherited from class se.conciliate.extensions.documents.MetaData
MetaData.BooleanValue, MetaData.DateTimeValue, MetaData.HiddenValue, MetaData.HtmlValue, MetaData.ImageValue, MetaData.MTSymbolValue, MetaData.NumberValue, MetaData.OptionsValue, MetaData.TextValue, MetaData.UrlValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()
setData
(LocalDateTime date) Returns a string representation of the data.
-
Constructor Details
-
DateTimeValue
-
-
Method Details
-
defaultDescriptor
public static InputDescriptor.DateTimeDescriptor defaultDescriptor(MetaDataType.DateTimeMetaDataType type) -
setData
- Specified by:
setData
in classMetaData<LocalDateTime>
- Parameters:
date
- A new value.- Returns:
- A copy of this meta-data with the given value as the meta-data's data.
-
stringPresentation
Description copied from class:MetaData
Returns a string representation of the data. This will be shown for example in document lists.- Overrides:
stringPresentation
in classMetaData<LocalDateTime>
- Returns:
- a string representation of the data.
-
getType
- Specified by:
getType
in classMetaData<LocalDateTime>
- Returns:
- the type of the data.
-