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