Package | Description |
---|---|
org.foxlabs.validation | |
org.foxlabs.validation.metadata |
Modifier and Type | Method and Description |
---|---|
protected <V> V |
Validator.Context.validateProperty(PropertyMetaData<T,V> meta) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPropertyMetaData<T,V>
This class provides base implementation of the
PropertyMetaData
interface. |
protected static class |
BeanMetaData.Property<T,V>
This class provides
PropertyMetaData implementation for
java beans. |
protected static class |
MapMetaData.Property<V>
This class provides
PropertyMetaData implementation for map. |
Modifier and Type | Field and Description |
---|---|
protected Map<String,PropertyMetaData<T,Object>> |
AbstractEntityMetaData.properties
Metadata of all the properties defined on the entity.
|
protected LinkedHashMap<String,PropertyMetaData<T,?>> |
MetaDataBuilder.properties
Metadata of all the properties defined on the entity.
|
Modifier and Type | Method and Description |
---|---|
<V> PropertyMetaData<T,V> |
AbstractEntityMetaData.getPropertyMetaData(String property)
Returns metadata for the specified property.
|
<V> PropertyMetaData<T,V> |
EntityMetaData.getPropertyMetaData(String property)
Returns metadata for the specified property.
|
Modifier and Type | Method and Description |
---|---|
Collection<PropertyMetaData<T,Object>> |
AbstractEntityMetaData.getAllPropertyMetaData()
Returns metadata of all the properties defined on the entity.
|
Collection<PropertyMetaData<T,Object>> |
EntityMetaData.getAllPropertyMetaData()
Returns metadata of all the properties defined on the entity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PropertyFilter.accept(PropertyMetaData<?,?> metadata)
Determines if the specified property should be accepted.
|
boolean |
PropertyFilter.Not.accept(PropertyMetaData<?,?> metadata)
Checks whether the encapsulated filter not accepts the specified
property.
|
boolean |
PropertyFilter.And.accept(PropertyMetaData<?,?> metadata)
Checks whether all of the encapsulated filters accept the specified
property.
|
boolean |
PropertyFilter.Or.accept(PropertyMetaData<?,?> metadata)
Checks whether at least one of the encapsulated filters accepts the
specified property.
|
boolean |
PropertyFilter.NameSet.accept(PropertyMetaData<?,?> metadata)
Determines if set of provided property names contains name of the
specified property.
|
boolean |
PropertyFilter.NameStartsWith.accept(PropertyMetaData<?,?> metadata)
Determines if name of the specified property starts with provided
prefix.
|
boolean |
PropertyFilter.NameEndsWith.accept(PropertyMetaData<?,?> metadata)
Determines if name of the specified property ends with provided
suffix.
|
Constructor and Description |
---|
AbstractEntityMetaData(Constraint<? super T> constraint,
Map<String,? extends PropertyMetaData<T,Object>> properties)
Constructs a new
AbstractEntityMetaData with the specified
entity constraint and properties metadata. |
Copyright © 2011–2020 FoxLabs. All rights reserved.