Module io.github.mmm.entity.bean
Class PropertyFactoryLink<E extends EntityBean>
- java.lang.Object
-
- io.github.mmm.property.factory.AbstractPropertyFactory<Link<E>,LinkProperty<E>>
-
- io.github.mmm.entity.property.link.PropertyFactoryLink<E>
-
- Type Parameters:
E- the generic type of thelinkedSimpleEntityBean.
- All Implemented Interfaces:
PropertyFactory<Link<E>,LinkProperty<E>>
public class PropertyFactoryLink<E extends EntityBean> extends AbstractPropertyFactory<Link<E>,LinkProperty<E>>
Implementation ofPropertyFactoryforLinkProperty.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description PropertyFactoryLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkProperty<E>create(String name, Class<? extends Link<E>> valueClass, PropertyMetadata<Link<E>> metadata)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()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.mmm.property.factory.PropertyFactory
isPolymorphic
-
-
-
-
Method Detail
-
getValueClass
public Class<Link<E>> getValueClass()
- Returns:
- the
Classof theproperty value. May benullfor a generic property.
-
getReadableInterface
public Class<? extends ReadableProperty<Link<E>>> getReadableInterface()
- Returns:
- the
Classreflecting theReadablePropertyinterface. May benullif no dedicated readable interface exists.
-
getWritableInterface
public Class<? extends WritableProperty<Link<E>>> getWritableInterface()
- Returns:
- the
Classreflecting theWritablePropertyinterface. May benullif no dedicated writable interface exists.
-
getImplementationClass
public Class<LinkProperty<E>> getImplementationClass()
- Returns:
- the
Classreflecting theWritablePropertyimplementation.
-
create
public LinkProperty<E> create(String name, Class<? extends Link<E>> valueClass, PropertyMetadata<Link<E>> metadata)
Description copied from interface:PropertyFactoryCreates a new instance of the property.- Parameters:
name- theproperty name.valueClass- thevalue class.metadata- TODO- Returns:
- the new instance of the property.
-
-