|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PropertyConstraint | |
---|---|
de.smartics.properties.api.core.domain | Provides property domain objects and exceptions. |
de.smartics.properties.spi.core.constraint | Provides information about property values constraints. |
de.smartics.properties.spi.core.constraint.jsr303 | Provides wrappers to use JSR-303 constraints for property validation. |
de.smartics.properties.spi.core.constraints | Provides standard constraints. |
de.smartics.properties.spi.core.metadata | Provides helpers to read metadata from property descriptor interfaces. |
Uses of PropertyConstraint in de.smartics.properties.api.core.domain |
---|
Methods in de.smartics.properties.api.core.domain that return types with arguments of type PropertyConstraint | |
---|---|
List<? extends PropertyConstraint<?>> |
PropertyValidationMessageBean.getConstraints() Returns the property constraints that failed to be met. |
List<? extends PropertyConstraint<?>> |
PropertyDescriptor.getConstraints() Returns a list of constraints a value for the property has to meet. |
Method parameters in de.smartics.properties.api.core.domain with type arguments of type PropertyConstraint | |
---|---|
static PropertyValidationException |
PropertyValidationException.invalid(PropertyDescriptor propertyDescriptor, List<? extends PropertyConstraint<?>> constraints, Object value) Creates an instance of the validation exception. |
Constructor parameters in de.smartics.properties.api.core.domain with type arguments of type PropertyConstraint | |
---|---|
PropertyValidationMessageBean(PropertiesCode code, Throwable cause, PropertyDescriptor propertyDescriptor, List<? extends PropertyConstraint<?>> constraints, Object value) Default constructor. |
|
PropertyValidationMessageBean(PropertyDescriptor propertyDescriptor, List<? extends PropertyConstraint<?>> constraints, Object value) Convenience constructor with no message and no root cause. |
|
PropertyValidationMessageBean(Throwable cause, PropertyDescriptor propertyDescriptor, List<? extends PropertyConstraint<?>> constraints, Object value) Convenience constructor with cause. |
Uses of PropertyConstraint in de.smartics.properties.spi.core.constraint |
---|
Classes in de.smartics.properties.spi.core.constraint that implement PropertyConstraint | |
---|---|
class |
AbstractPropertyConstraint<T> Base implementation of the PropertyConstraint interface. |
Uses of PropertyConstraint in de.smartics.properties.spi.core.constraint.jsr303 |
---|
Classes in de.smartics.properties.spi.core.constraint.jsr303 that implement PropertyConstraint | |
---|---|
class |
GenericPropertyConstraint<A extends Annotation,T> Generic wrapper for JSR-303 constraints. |
Uses of PropertyConstraint in de.smartics.properties.spi.core.constraints |
---|
Classes in de.smartics.properties.spi.core.constraints that implement PropertyConstraint | |
---|---|
class |
ListValueConstraint A constraint that requires a value to be a list. |
class |
PropertyRangeConstraint<T> Constraint that requires values to be part of an enumeration. |
Methods in de.smartics.properties.spi.core.constraints that return types with arguments of type PropertyConstraint | |
---|---|
List<? extends PropertyConstraint<?>> |
ListValueConstraint.getElementConstraints() Returns the constraints on the individual elements of the list. |
Constructors in de.smartics.properties.spi.core.constraints with parameters of type PropertyConstraint | |
---|---|
ListValueConstraint(Class<?> elementType, Integer minOccurs, Integer maxOccurs, PropertyConstraint<?> elementConstraints) Convenience constructor using varargs for constraints. |
Constructor parameters in de.smartics.properties.spi.core.constraints with type arguments of type PropertyConstraint | |
---|---|
ListValueConstraint(Class<?> elementType, Integer minOccurs, Integer maxOccurs, List<? extends PropertyConstraint<?>> elementConstraints) Default constructor. |
|
ListValueConstraint(Class<?> elementType, List<? extends PropertyConstraint<?>> elementConstraints) Convenience constructor if there are no constraints on the number of list elements. |
Uses of PropertyConstraint in de.smartics.properties.spi.core.metadata |
---|
Methods in de.smartics.properties.spi.core.metadata that return types with arguments of type PropertyConstraint | |
---|---|
List<? extends PropertyConstraint<?>> |
PropertyMetaData.getConstraints() |
Methods in de.smartics.properties.spi.core.metadata with parameters of type PropertyConstraint | |
---|---|
void |
PropertyMetaData.Builder.add(PropertyConstraint<?> constraint) Adds the given constraint to the list of constraints. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |