@Named public class PropertyFactoryLocalDateTime extends AbstractPropertyFactory<LocalDateTime,LocalDateTimeProperty>
PropertyFactory
for LocalDateTimeProperty
.Constructor and Description |
---|
PropertyFactoryLocalDateTime() |
Modifier and Type | Method and Description |
---|---|
LocalDateTimeProperty |
create(String name,
GenericType<? extends LocalDateTime> valueType,
Bean bean,
AbstractValidator<? super LocalDateTime> validator)
Creates a new instance of the property.
|
Class<LocalDateTimeProperty> |
getImplementationClass() |
Class<? extends ReadableProperty<LocalDateTime>> |
getReadableInterface() |
Class<LocalDateTime> |
getValueClass() |
Class<? extends WritableProperty<LocalDateTime>> |
getWritableInterface() |
public Class<LocalDateTime> getValueClass()
Class
of the property value
. May be null
for
GenericProperty
.public Class<? extends ReadableProperty<LocalDateTime>> getReadableInterface()
Class
reflecting the ReadableProperty
interface.public Class<? extends WritableProperty<LocalDateTime>> getWritableInterface()
Class
reflecting the WritableProperty
interface.public Class<LocalDateTimeProperty> getImplementationClass()
Class
reflecting the WritableProperty
implementation.public LocalDateTimeProperty create(String name, GenericType<? extends LocalDateTime> valueType, Bean bean, AbstractValidator<? super LocalDateTime> validator)
PropertyFactory
name
- the property name
.valueType
- is the GenericType
of the value. Only needed for generic properties such as
GenericProperty
or
ListProperty
. Can be null
if the generic value type is
already bound and should be ignored then.bean
- the property bean
.validator
- the validator
used for validation
.
May be null
.Copyright © 2001–2016 mmm-Team. All rights reserved.