Module io.github.mmm.property
Class PropertyFactoryList<E>
java.lang.Object
io.github.mmm.property.factory.AbstractPropertyFactory<List<E>,ListProperty<E>>
io.github.mmm.property.container.list.PropertyFactoryList<E>
- Type Parameters:
E
- type of thecontained elements
.
- All Implemented Interfaces:
PropertyFactory<List<E>,
ListProperty<E>>
This is the implementation of
PropertyFactory
for ListProperty
.- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new instance of the property.Class<? extends ReadableProperty<List<E>>>
Class<? extends WritableProperty<List<E>>>
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
-
Constructor Details
-
PropertyFactoryList
public PropertyFactoryList()
-
-
Method Details
-
getValueClass
- Returns:
- the
Class
of theproperty value
. May benull
for a generic property.
-
getReadableInterface
- Returns:
- the
Class
reflecting theReadableProperty
interface. May benull
if no dedicated readable interface exists.
-
getWritableInterface
- Returns:
- the
Class
reflecting theWritableProperty
interface. May benull
if no dedicated writable interface exists.
-
getImplementationClass
- Returns:
- the
Class
reflecting theWritableProperty
implementation.
-
create
public ListProperty<E> create(String name, Class<? extends List<E>> valueClass, PropertyMetadata<List<E>> metadata) Description copied from interface:PropertyFactory
Creates a new instance of the property.- Parameters:
name
- theproperty name
.valueClass
- thevalue class
.metadata
- TODO- Returns:
- the new instance of the property.
-