- java.lang.Object
-
- io.github.mmm.property.PropertyMetadataFactoryDefault
-
- All Implemented Interfaces:
PropertyMetadataFactory
public class PropertyMetadataFactoryDefault extends Object implements PropertyMetadataFactory
Default implementation ofPropertyMetadataFactory
.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description PropertyMetadataFactoryDefault()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> PropertyMetadata<V>
create(Validator<? super V> validator, Supplier<? extends V> expression, Type valueType, Map<String,Object> map)
-
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.PropertyMetadataFactory
create
-
-
-
-
Method Detail
-
create
public <V> PropertyMetadata<V> create(Validator<? super V> validator, Supplier<? extends V> expression, Type valueType, Map<String,Object> map)
- Specified by:
create
in interfacePropertyMetadataFactory
- Type Parameters:
V
- type of theproperty value
.- Parameters:
validator
- thevalidator
.expression
- theexpression
.valueType
- thevalue type
.map
- themetadata
Map
.- Returns:
- the new
PropertyMetadata
.
-
-