Module io.github.mmm.property
Class PropertyFactoryLocalDateTime
- java.lang.Object
-
- io.github.mmm.property.factory.AbstractPropertyFactory<LocalDateTime,LocalDateTimeProperty>
-
- io.github.mmm.property.temporal.localdatetime.PropertyFactoryLocalDateTime
-
- All Implemented Interfaces:
PropertyFactory<LocalDateTime,LocalDateTimeProperty>
public class PropertyFactoryLocalDateTime extends AbstractPropertyFactory<LocalDateTime,LocalDateTimeProperty>
This is the implementation ofPropertyFactory
forLocalDateTimeProperty
.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description PropertyFactoryLocalDateTime()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalDateTimeProperty
create(String name, Class<? extends LocalDateTime> valueClass, PropertyMetadata<LocalDateTime> metadata)
Creates a new instance of the property.Class<LocalDateTimeProperty>
getImplementationClass()
Class<? extends ReadableProperty<LocalDateTime>>
getReadableInterface()
Class<LocalDateTime>
getValueClass()
Class<? extends WritableProperty<LocalDateTime>>
getWritableInterface()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.mmm.property.factory.PropertyFactory
isPolymorphic
-
-
-
-
Method Detail
-
getValueClass
public Class<LocalDateTime> getValueClass()
- Returns:
- the
Class
of theproperty value
. May benull
for a generic property.
-
getReadableInterface
public Class<? extends ReadableProperty<LocalDateTime>> getReadableInterface()
- Returns:
- the
Class
reflecting theReadableProperty
interface. May benull
if no dedicated readable interface exists.
-
getWritableInterface
public Class<? extends WritableProperty<LocalDateTime>> getWritableInterface()
- Returns:
- the
Class
reflecting theWritableProperty
interface. May benull
if no dedicated writable interface exists.
-
getImplementationClass
public Class<LocalDateTimeProperty> getImplementationClass()
- Returns:
- the
Class
reflecting theWritableProperty
implementation.
-
create
public LocalDateTimeProperty create(String name, Class<? extends LocalDateTime> valueClass, PropertyMetadata<LocalDateTime> metadata)
Description copied from interface:PropertyFactory
Creates a new instance of the property.- Parameters:
name
- theproperty name
.valueClass
- thevalue class
.metadata
- TODO- Returns:
- the new instance of the property.
-
-