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