Package | Description |
---|---|
org.foxlabs.validation.metadata |
Modifier and Type | Class and Description |
---|---|
static class |
MapMetaData.Builder
This class allows to build
MapMetaData instances. |
Modifier and Type | Method and Description |
---|---|
MetaDataBuilder<T> |
MetaDataBuilder.constraint(Constraint<? super T> constraint)
Defines constraint to be used for entity validation.
|
<V> MetaDataBuilder<T> |
MetaDataBuilder.property(String name,
Class<V> type)
Defines a property with the specified name and type.
|
<V> MetaDataBuilder<T> |
MetaDataBuilder.property(String name,
Class<V> type,
Constraint<? super V> constraint)
Defines a property with the specified name, type and constraint.
|
<V> MetaDataBuilder<T> |
MetaDataBuilder.property(String name,
Class<V> type,
Constraint<? super V> constraint,
V defaultValue)
Defines a property with the specified name, type, constraint and
default value.
|
<V> MetaDataBuilder<T> |
MetaDataBuilder.property(String name,
Class<V> type,
V defaultValue)
Defines a property with the specified name, type and default value.
|
<V> MetaDataBuilder<T> |
MetaDataBuilder.property(String name,
Converter<V> converter)
Defines a property with the specified name and converter.
|
<V> MetaDataBuilder<T> |
MetaDataBuilder.property(String name,
Converter<V> converter,
Constraint<? super V> constraint)
Defines a property with the specified name, converter and constraint.
|
abstract <V> MetaDataBuilder<T> |
MetaDataBuilder.property(String name,
Converter<V> converter,
Constraint<? super V> constraint,
V defaultValue)
Defines a property with the specified name, converter, constraint
and default value.
|
<V> MetaDataBuilder<T> |
MetaDataBuilder.property(String name,
Converter<V> converter,
V defaultValue)
Defines a property with the specified name, converter and default
value.
|
Copyright © 2011–2020 FoxLabs. All rights reserved.