- java.lang.Object
-
- io.github.mmm.bean.impl.BeanPropertyMetadataFactory
-
- All Implemented Interfaces:
PropertyMetadataFactory
public class BeanPropertyMetadataFactory extends Object implements PropertyMetadataFactory
Implementation ofPropertyMetadataFactoryforBeanPropertyMetadata.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description BeanPropertyMetadataFactory()
-
Method Summary
All Methods Static 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)static BeanPropertyMetadataFactoryget()-
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:
createin interfacePropertyMetadataFactory- Type Parameters:
V- type of theproperty value.- Parameters:
validator- thevalidator.expression- theexpression.valueType- thevalue type.map- themetadataMap.- Returns:
- the new
PropertyMetadata.
-
get
public static BeanPropertyMetadataFactory get()
- Returns:
- the singleton instance of this
BeanPropertyMetadataFactory.
-
-