- java.lang.Object
-
- io.github.mmm.property.AbstractPropertyMetadata<V>
-
- io.github.mmm.property.PropertyMetadataNone<V>
-
- Type Parameters:
V
- type of theproperty value
.
- All Implemented Interfaces:
PropertyMetadata<V>
public final class PropertyMetadataNone<V> extends AbstractPropertyMetadata<V>
Implementation ofPropertyMetadata
that is entirely empty.- Since:
- 1.0.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <V> PropertyMetadataNone<V>
get()
PropertyMetadata<V>
withValidator(Validator<? super V> validator)
-
Methods inherited from class io.github.mmm.property.AbstractPropertyMetadata
asMap, get, getExpression, getKeyCount, getKeys, getValidator, getValueType
-
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.PropertyMetadata
get, get, getMarshalling, hasKeys, isTransient
-
-
-
-
Method Detail
-
withValidator
public PropertyMetadata<V> withValidator(Validator<? super V> validator)
- Parameters:
validator
- the newValidator
.- Returns:
- a new instance of
PropertyMetadata
with the givenValidator
used forPropertyMetadata.getValidator()
.
-
get
public static <V> PropertyMetadataNone<V> get()
- Type Parameters:
V
- type of theproperty value
.- Returns:
- the singleton instance of this class.
-
-