Module io.github.mmm.property
Class PropertyFactoryMap<K,V>
- java.lang.Object
-
- io.github.mmm.property.factory.AbstractPropertyFactory<Map<K,V>,MapProperty<K,V>>
-
- io.github.mmm.property.container.map.PropertyFactoryMap<K,V>
-
- All Implemented Interfaces:
PropertyFactory<Map<K,V>,MapProperty<K,V>>
public class PropertyFactoryMap<K,V> extends AbstractPropertyFactory<Map<K,V>,MapProperty<K,V>>
This is the implementation ofPropertyFactoryforSetProperty.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description PropertyFactoryMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapProperty<K,V>create(String name, Class<? extends Map<K,V>> valueClass, PropertyMetadata<Map<K,V>> metadata)Creates a new instance of the property.Class<MapProperty<K,V>>getImplementationClass()Class<? extends ReadableProperty<Map<K,V>>>getReadableInterface()Class<? extends Map<K,V>>getValueClass()Class<? extends WritableProperty<Map<K,V>>>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<? extends Map<K,V>> getValueClass()
- Returns:
- the
Classof theproperty value. May benullfor a generic property.
-
getReadableInterface
public Class<? extends ReadableProperty<Map<K,V>>> getReadableInterface()
- Returns:
- the
Classreflecting theReadablePropertyinterface. May benullif no dedicated readable interface exists.
-
getWritableInterface
public Class<? extends WritableProperty<Map<K,V>>> getWritableInterface()
- Returns:
- the
Classreflecting theWritablePropertyinterface. May benullif no dedicated writable interface exists.
-
getImplementationClass
public Class<MapProperty<K,V>> getImplementationClass()
- Returns:
- the
Classreflecting theWritablePropertyimplementation.
-
create
public MapProperty<K,V> create(String name, Class<? extends Map<K,V>> valueClass, PropertyMetadata<Map<K,V>> 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.
-
-