@Named public class PropertyFactoryLocalDate extends AbstractPropertyFactory<LocalDate,LocalDateProperty>
PropertyFactory
for LocalDateProperty
.Constructor and Description |
---|
PropertyFactoryLocalDate() |
Modifier and Type | Method and Description |
---|---|
LocalDateProperty |
create(String name,
GenericType<? extends LocalDate> valueType,
Bean bean,
AbstractValidator<? super LocalDate> validator)
Creates a new instance of the property.
|
Class<LocalDateProperty> |
getImplementationClass() |
Class<? extends ReadableProperty<LocalDate>> |
getReadableInterface() |
Class<LocalDate> |
getValueClass() |
Class<? extends WritableProperty<LocalDate>> |
getWritableInterface() |
public Class<LocalDate> getValueClass()
Class
of the property value
. May be null
for
GenericProperty
.public Class<? extends ReadableProperty<LocalDate>> getReadableInterface()
Class
reflecting the ReadableProperty
interface.public Class<? extends WritableProperty<LocalDate>> getWritableInterface()
Class
reflecting the WritableProperty
interface.public Class<LocalDateProperty> getImplementationClass()
Class
reflecting the WritableProperty
implementation.public LocalDateProperty create(String name, GenericType<? extends LocalDate> valueType, Bean bean, AbstractValidator<? super LocalDate> 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.