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