Package | Description |
---|---|
net.sf.mmm.util.bean.api |
Provides the API for generic java beans defined as simple interface.
|
net.sf.mmm.util.bean.impl | |
net.sf.mmm.util.property.api |
Provides the API for generic and powerful properties.
|
net.sf.mmm.util.property.api.factory | |
net.sf.mmm.util.property.api.lang | |
net.sf.mmm.util.property.api.link | |
net.sf.mmm.util.property.api.math | |
net.sf.mmm.util.property.api.time | |
net.sf.mmm.util.property.api.util | |
net.sf.mmm.util.property.impl.factory | |
net.sf.mmm.util.validation.base |
Contains the base-implementations of the
validation API . |
net.sf.mmm.util.validation.base.collection | |
net.sf.mmm.util.validation.base.text | |
net.sf.mmm.util.validation.base.time |
Modifier and Type | Method and Description |
---|---|
<V,PROPERTY extends WritableProperty<V>> |
BeanAccess.addPropertyValidator(WritableProperty<?> property,
AbstractValidator<? super V> validator)
|
Modifier and Type | Method and Description |
---|---|
<V,PROPERTY extends WritableProperty<V>> |
BeanAccess.addPropertyValidators(WritableProperty<?> property,
Collection<AbstractValidator<? super V>> validators)
|
Modifier and Type | Method and Description |
---|---|
<V,PROPERTY extends WritableProperty<V>> |
BeanAccessPrototype.addPropertyValidator(WritableProperty<?> property,
AbstractValidator<? super V> validator) |
<V,PROPERTY extends WritableProperty<V>> |
BeanAccessInstance.addPropertyValidator(WritableProperty<?> property,
AbstractValidator<? super V> validator) |
private static <V> void |
BeanAccessPrototype.addValidator(AbstractValidator<? super V> currentValidator,
Collection<AbstractValidator<? super V>> validatorsToAdd,
AbstractValidator<? super V> validator) |
private static <V> void |
BeanAccessPrototype.addValidator(AbstractValidator<? super V> currentValidator,
Collection<AbstractValidator<? super V>> validatorsToAdd,
AbstractValidator<? super V> validator) |
Modifier and Type | Method and Description |
---|---|
<V,PROPERTY extends WritableProperty<V>> |
BeanAccessPrototype.addPropertyValidators(WritableProperty<?> property,
Collection<AbstractValidator<? super V>> validators) |
<V,PROPERTY extends WritableProperty<V>> |
BeanAccessInstance.addPropertyValidators(WritableProperty<?> property,
Collection<AbstractValidator<? super V>> validators) |
private static <V> void |
BeanAccessPrototype.addValidator(AbstractValidator<? super V> currentValidator,
Collection<AbstractValidator<? super V>> validatorsToAdd,
AbstractValidator<? super V> validator) |
Modifier and Type | Field and Description |
---|---|
private AbstractValidator<? super V> |
AbstractProperty.validator |
Modifier and Type | Method and Description |
---|---|
AbstractValidator<? super V> |
AbstractProperty.getValidator() |
Modifier and Type | Method and Description |
---|---|
AbstractProperty<V> |
AbstractProperty.copy(AbstractValidator<? super V> newValidator)
Creates a new empty instance of this property with the given new parameters.
|
AbstractProperty<V> |
AbstractProperty.copy(Bean newBean,
AbstractValidator<? super V> newValidator)
Creates a new empty instance of this property with the given new parameters.
|
AbstractProperty<V> |
AbstractProperty.copy(String newName,
Bean newBean,
AbstractValidator<? super V> newValidator)
Creates a new empty instance of this property with the given new parameters.
|
Constructor and Description |
---|
AbstractContainerProperty(String name,
GenericType<? extends V> type,
Bean bean,
AbstractValidator<? super V> validator)
The constructor.
|
AbstractProperty(String name,
Bean bean,
AbstractValidator<? super V> validator)
The constructor.
|
AbstractRegularProperty(String name,
Bean bean,
AbstractValidator<? super V> validator)
The constructor.
|
AbstractValueProperty(String name,
Bean bean,
AbstractValidator<? super V> validator)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
<V,PROPERTY extends ReadableProperty<V>> |
PropertyFactoryManager.create(Class<PROPERTY> propertyType,
GenericType<V> valueType,
boolean polymorphic,
String name,
Bean bean,
AbstractValidator<? super V> validator) |
P |
PropertyFactory.create(String name,
GenericType<? extends V> valueType,
Bean bean,
AbstractValidator<? super V> validator)
Creates a new instance of the property.
|
Constructor and Description |
---|
BooleanProperty(String name,
Bean bean,
AbstractValidator<? super Boolean> validator)
The constructor.
|
GenericProperty(String name,
GenericType<V> type,
Bean bean,
AbstractValidator<? super V> validator)
The constructor.
|
StringListProperty(String name,
Bean bean,
AbstractValidator<? super String> validator)
The constructor.
|
StringProperty(String name,
Bean bean,
AbstractValidator<? super String> validator)
The constructor.
|
Constructor and Description |
---|
LinkListProperty(String name,
GenericType<javafx.collections.ObservableList<Link<E>>> type,
Bean bean,
AbstractValidator<? super javafx.collections.ObservableList<Link<E>>> validator)
The constructor.
|
LinkProperty(String name,
GenericType<Link<E>> type,
Bean bean,
AbstractValidator<? super Link<E>> validator)
The constructor.
|
Constructor and Description |
---|
BigDecimalProperty(String name,
Bean bean,
AbstractValidator<? super Number> validator)
The constructor.
|
ByteProperty(String name,
Bean bean,
AbstractValidator<? super Number> validator)
The constructor.
|
DoubleProperty(String name,
Bean bean,
AbstractValidator<? super Number> validator)
The constructor.
|
FloatProperty(String name,
Bean bean,
AbstractValidator<? super Number> validator)
The constructor.
|
IntegerProperty(String name,
Bean bean,
AbstractValidator<? super Number> validator)
The constructor.
|
LongProperty(String name,
Bean bean,
AbstractValidator<? super Number> validator)
The constructor.
|
NumberProperty(String name,
Bean bean,
AbstractValidator<? super Number> validator)
The constructor.
|
ShortProperty(String name,
Bean bean,
AbstractValidator<? super Number> validator)
The constructor.
|
Constructor and Description |
---|
DurationInSecondsProperty(String name,
Bean bean,
AbstractValidator<? super Number> validator)
The constructor.
|
InstantProperty(String name,
Bean bean,
AbstractValidator<? super Instant> validator)
The constructor.
|
LocalDateProperty(String name,
Bean bean,
AbstractValidator<? super LocalDate> validator)
The constructor.
|
LocalDateTimeProperty(String name,
Bean bean,
AbstractValidator<? super LocalDateTime> validator)
The constructor.
|
Constructor and Description |
---|
ListProperty(String name,
GenericType<? extends javafx.collections.ObservableList<E>> type,
Bean bean,
AbstractValidator<? super javafx.collections.ObservableList<E>> validator)
The constructor.
|
MapProperty(String name,
GenericType<? extends javafx.collections.ObservableMap<K,V>> type,
Bean bean,
AbstractValidator<? super javafx.collections.ObservableMap<K,V>> validator)
The constructor.
|
SetProperty(String name,
GenericType<? extends javafx.collections.ObservableSet<E>> type,
Bean bean,
AbstractValidator<? super javafx.collections.ObservableSet<E>> validator)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
<V,PROPERTY extends ReadableProperty<V>> |
PropertyFactoryManagerImpl.create(Class<PROPERTY> propertyType,
GenericType<V> valueType,
boolean polymorphic,
String name,
Bean bean,
AbstractValidator<? super V> validator) |
BooleanProperty |
PropertyFactoryBoolean.create(String name,
GenericType<? extends Boolean> valueType,
Bean bean,
AbstractValidator<? super Boolean> validator) |
InstantProperty |
PropertyFactoryInstant.create(String name,
GenericType<? extends Instant> valueType,
Bean bean,
AbstractValidator<? super Instant> validator) |
LinkProperty<E> |
PropertyFactoryLink.create(String name,
GenericType<? extends Link<E>> valueType,
Bean bean,
AbstractValidator<? super Link<E>> validator) |
LocalDateProperty |
PropertyFactoryLocalDate.create(String name,
GenericType<? extends LocalDate> valueType,
Bean bean,
AbstractValidator<? super LocalDate> validator) |
LocalDateTimeProperty |
PropertyFactoryLocalDateTime.create(String name,
GenericType<? extends LocalDateTime> valueType,
Bean bean,
AbstractValidator<? super LocalDateTime> validator) |
ShortProperty |
PropertyFactoryShort.create(String name,
GenericType<? extends Number> valueType,
Bean bean,
AbstractValidator<? super Number> validator) |
LongProperty |
PropertyFactoryLong.create(String name,
GenericType<? extends Number> valueType,
Bean bean,
AbstractValidator<? super Number> validator) |
IntegerProperty |
PropertyFactoryInteger.create(String name,
GenericType<? extends Number> valueType,
Bean bean,
AbstractValidator<? super Number> validator) |
FloatProperty |
PropertyFactoryFloat.create(String name,
GenericType<? extends Number> valueType,
Bean bean,
AbstractValidator<? super Number> validator) |
DoubleProperty |
PropertyFactoryDouble.create(String name,
GenericType<? extends Number> valueType,
Bean bean,
AbstractValidator<? super Number> validator) |
ByteProperty |
PropertyFactoryByte.create(String name,
GenericType<? extends Number> valueType,
Bean bean,
AbstractValidator<? super Number> validator) |
ListProperty<E> |
PropertyFactoryList.create(String name,
GenericType<? extends javafx.collections.ObservableList<E>> valueType,
Bean bean,
AbstractValidator<? super javafx.collections.ObservableList<E>> validator) |
MapProperty<K,V> |
PropertyFactoryMap.create(String name,
GenericType<? extends javafx.collections.ObservableMap<K,V>> valueType,
Bean bean,
AbstractValidator<? super javafx.collections.ObservableMap<K,V>> validator) |
SetProperty<E> |
PropertyFactorySet.create(String name,
GenericType<? extends javafx.collections.ObservableSet<E>> valueType,
Bean bean,
AbstractValidator<? super javafx.collections.ObservableSet<E>> validator) |
StringProperty |
PropertyFactoryString.create(String name,
GenericType<? extends String> valueType,
Bean bean,
AbstractValidator<? super String> validator) |
GenericProperty<V> |
PropertyFactoryGeneric.create(String name,
GenericType<? extends V> valueType,
Bean bean,
AbstractValidator<? super V> validator) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractValidatorRange<V,R>
This is the abstract implementation of a
ValueValidator validating that a
given value is contained in a given Range . |
class |
AbstractValueValidator<V>
This is the abstract base implementation of
ValueValidator . |
class |
ComposedValidator<V>
This is an implementation of
ValueValidator that is composed out of a set of individual
validators given at construction . |
class |
ValidatorArrayLength
|
class |
ValidatorCompare<V extends Comparable<V>>
This is a
ValueValidator that validates that
a value satisfies a given CompareOperator -operation for given
value to compare to. |
class |
ValidatorDateFuture
This is a
ValueValidator that
validates that a date lies in the
future. |
class |
ValidatorDatePast
This is a
ValueValidator that
validates that a date lies in the
past. |
class |
ValidatorJsr303<V>
This is an implementation of
ValueValidator that adapts to
javax.validation (JSR 303). |
class |
ValidatorMandatory
This is a
ValueValidator that validates that a mandatory value is filled. |
class |
ValidatorNone
This is an implementation of
ValueValidator that always validates
successfully. |
class |
ValidatorRange<V>
This is a
ValueValidator that validates that a given value is within a
specific Range . |
Modifier and Type | Field and Description |
---|---|
private AbstractValidator<? super V>[] |
ComposedValidator.validators
The child validators.
|
Modifier and Type | Field and Description |
---|---|
private List<AbstractValidator<? super V>> |
ObjectValidatorBuilder.validators |
Modifier and Type | Method and Description |
---|---|
AbstractValidator<V> |
AbstractValidator.append(AbstractValidator<? super V>... validators) |
AbstractValidator<? super V> |
ObjectValidatorBuilder.build() |
static <VALUE> AbstractValidator<VALUE> |
ValidatorNone.getInstance() |
AbstractValidator<?> |
ComposedValueValidator.getValidator(int index)
Gets the
ValueValidator at the given index . |
AbstractValidator<? super V> |
ComposedValidator.getValidator(int index)
Gets the
ValueValidator at the given index . |
AbstractValidator<?> |
ValidatorBuilder.newValidator(Class<?> pojoType,
String property)
|
AbstractValidator<?> |
AbstractValidatorBuilder.newValidator(Class<?> pojoType,
String property) |
AbstractValidator<?> |
ValidatorBuilderNone.newValidator(Class<?> pojoType,
String property,
Class<?> propertyType) |
AbstractValidator<?> |
ValidatorBuilderJsr303.newValidator(Class<?> pojoType,
String property,
Class<?> propertyType) |
AbstractValidator<?> |
ValidatorBuilder.newValidator(Class<?> pojoType,
String property,
Class<?> propertyType)
|
<T> AbstractValidator<T> |
ValidatorBuilder.newValidator(Class<?> pojoType,
TypedProperty<T> property)
|
<T> AbstractValidator<T> |
AbstractValidatorBuilder.newValidator(Class<?> pojoType,
TypedProperty<T> property) |
<T> AbstractValidator<T> |
ValidatorBuilderNone.newValidator(Class<?> pojoType,
TypedProperty<T> property,
Class<T> propertyType) |
<T> AbstractValidator<T> |
ValidatorBuilderJsr303.newValidator(Class<?> pojoType,
TypedProperty<T> property,
Class<T> propertyType) |
<T> AbstractValidator<T> |
ValidatorBuilder.newValidator(Class<?> pojoType,
TypedProperty<T> property,
Class<T> propertyType)
|
<V> AbstractValidator<V> |
ValidatorBuilderNone.newValidator(Class<V> pojoType) |
<V> AbstractValidator<V> |
ValidatorBuilderJsr303.newValidator(Class<V> pojoType) |
<V> AbstractValidator<V> |
ValidatorBuilder.newValidator(Class<V> pojoType)
Creates a new instance of
ValueValidator validating the specified
Pojo . |
Modifier and Type | Method and Description |
---|---|
protected <T> List<AbstractValidator<? super T>> |
ObjectValidatorBuilder.getValidators(ObjectValidatorBuilder<T,?,?> builder) |
Modifier and Type | Method and Description |
---|---|
SELF |
ObjectValidatorBuilder.add(AbstractValidator<? super V> validator) |
ComposedValidator<V> |
ComposedValidator.append(AbstractValidator<? super V>... additionalValidators) |
AbstractValidator<V> |
AbstractValidator.append(AbstractValidator<? super V>... validators) |
boolean |
ComposedValidator.contains(AbstractValidator<?> validator) |
boolean |
AbstractValidator.contains(AbstractValidator<?> validator) |
Constructor and Description |
---|
ComposedValidator(AbstractValidator<? super V>... validators)
The constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
ValidatorCollectionElements<E>
|
class |
ValidatorCollectionSize
This is a
ValueValidator validating that the
size of a given Collection is within a predefined Range . |
class |
ValidatorMapKeys<K>
|
class |
ValidatorMapSize
|
class |
ValidatorMapValues<V>
|
Modifier and Type | Field and Description |
---|---|
private AbstractValidator<? super V>[] |
ValidatorMapValues.validators
The child validators.
|
private AbstractValidator<? super K>[] |
ValidatorMapKeys.validators
The child validators.
|
private AbstractValidator<? super E>[] |
ValidatorCollectionElements.validators
The child validators.
|
Modifier and Type | Method and Description |
---|---|
AbstractValidator<? super M> |
AbstractMapValidatorBuilder.build() |
AbstractValidator<? super V> |
AbstractCollectionValidatorBuilder.build() |
AbstractValidator<?> |
ValidatorMapValues.getValidator(int index) |
AbstractValidator<?> |
ValidatorMapKeys.getValidator(int index) |
AbstractValidator<?> |
ValidatorCollectionElements.getValidator(int index) |
Constructor and Description |
---|
ValidatorCollectionElements(AbstractValidator<? super E>... validators)
The constructor.
|
ValidatorMapKeys(AbstractValidator<? super K>... validators)
The constructor.
|
ValidatorMapValues(AbstractValidator<? super V>... validators)
The constructor.
|
Constructor and Description |
---|
ValidatorCollectionElements(List<AbstractValidator<? super E>> validators)
The constructor.
|
ValidatorMapKeys(List<AbstractValidator<? super K>> validators)
The constructor.
|
ValidatorMapValues(List<AbstractValidator<? super V>> validators)
The constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
ValidatorPattern
|
Copyright © 2001–2016 mmm-Team. All rights reserved.