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