Deprecated
as a consequence of PropertyConstraintMappingContext being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private final ConstraintLocation | |
| private final T | |
| private final TypeConstraintMappingContextImpl | typeContext
Deprecated
as a consequence of
TypeConstraintMappingContextImpl being deprecated.
|
| Access | Constructor and Description |
|---|---|
| protected | AbstractPropertyConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, T property, ConstraintLocation location)
Deprecated
as a consequence of
TypeConstraintMappingContextImpl being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract ConstrainedElement | |
| public ConstructorConstraintMappingContext | constructor(Class<?>...
The constructor parameter types. parameterTypes)Implements org. |
| public ContainerElementConstraintMappingContext | containerElementType()
Implements org. |
| public ContainerElementConstraintMappingContext | containerElementType(int
The index of the type argument to configure. Pass 0 when navigating into an array type. index, int... the nested index(es) in case the container element to configure is a generic type within
another generic type, e.g. nestedIndexes)List<Map<String, String>>, a multi-dimensional array or a combination of
(nested) parameterized and array types.Implements org. |
| public PropertyConstraintMappingContext | field(String
The field name that represents a property on which to apply the following constraints. property)Implements org.
Deprecated
as a consequence of
Selects a field to which the next operations shall apply.
PropertyConstraintMappingContext being deprecated.
|
| protected ConstraintDescriptorImpl. | getConstraintType()
Implements abstract org. |
| protected T | |
| public PropertyConstraintMappingContext | getter(String
The getter property name (using the Java Bean notation, e.g. property)name to address getName())
that represents a property on which to apply the following constraints.Implements org.
Deprecated
as a consequence of
Selects a getter to which the next operations shall apply.
PropertyConstraintMappingContext being deprecated.
|
| protected AbstractPropertyConstraintMappingContextImpl | getThis()
Implements abstract org.
Deprecated
as a consequence of
Returns this object, narrowed down to the specific sub-type.
AbstractPropertyConstraintMappingContextImpl being deprecated.
|
| public PropertyConstraintMappingContext | ignoreAnnotations()
Implements org.
Deprecated
as a consequence of
PropertyConstraintMappingContext being deprecated.
|
| public PropertyConstraintMappingContext | ignoreAnnotations(boolean
Whether to ignore annotation-based constraints or not. ignoreAnnotations)Implements org.
Deprecated
as a consequence of
Specifies whether annotations at the given element should be ignored or not, overriding any setting given for
parent elements.
PropertyConstraintMappingContext being deprecated.
|
| public MethodConstraintMappingContext | method(String
The method name. name, Class<?>... The method parameter types. parameterTypes)Implements org. |
| public PropertyConstraintMappingContext | property(String
The property on which to apply the following constraints (Java Bean notation). property, ElementType The access type (field/property). elementType)Implements org.
Deprecated
as a consequence of
Selects a property to which the next operations shall apply.
PropertyConstraintMappingContext being deprecated.
|
| location | back to summary |
|---|---|
| private final ConstraintLocation location | |
| property | back to summary |
|---|---|
| private final T property | |
| typeContext | back to summary |
|---|---|
| private final TypeConstraintMappingContextImpl<?> typeContext
Deprecated as a consequence of | |
| AbstractPropertyConstraintMappingContextImpl | back to summary |
|---|---|
| protected AbstractPropertyConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, T property, ConstraintLocation location)
Deprecated as a consequence of | |
| build | back to summary |
|---|---|
| pack-priv abstract ConstrainedElement build(ConstraintCreationContext constraintCreationContext) | |
| constructor | back to summary |
|---|---|
| public ConstructorConstraintMappingContext constructor(Class<?>... parameterTypes) Implements org. Doc from org. Selects a constructor to which the next operations shall apply. Until this method is called constraints apply on class level. After calling this method constraints apply to the specified constructor. A given constructor may only be configured once.
| |
| containerElementType | back to summary |
|---|---|
| public ContainerElementConstraintMappingContext containerElementType() Implements org. Doc from org. Selects the single type argument of the current element's generic type as the target for the next operations. Selects the component type if the current element is of an array type.
| |
| containerElementType | back to summary |
|---|---|
| public ContainerElementConstraintMappingContext containerElementType(int index, int... nestedIndexes) Implements org. Doc from org. Selects the single type argument of the current element's generic type as the target for the next operations. Selects the component type if the current element is of an array type.
| |
| field | back to summary |
|---|---|
| public PropertyConstraintMappingContext field(String property) Implements org. Doc from org. Deprecated as a consequence of Selects a field to which the next operations shall apply. Until this method is called constraints apply on class level. After calling this method constraints apply on the specified field property. A given field may only be configured once.
| |
| getConstraintType | back to summary |
|---|---|
| protected ConstraintDescriptorImpl. Implements abstract org. Doc from org. Returns the type of constraints hosted on the element configured by this creational context.
| |
| getProperty | back to summary |
|---|---|
| protected T getProperty() | |
| getter | back to summary |
|---|---|
| public PropertyConstraintMappingContext getter(String property) Implements org. Doc from org. Deprecated as a consequence of Selects a getter to which the next operations shall apply. Until this method is called constraints apply on class level. After calling this method constraints apply on the specified getter property. A given getter may only be configured once.
| |
| getThis | back to summary |
|---|---|
| protected AbstractPropertyConstraintMappingContextImpl Implements abstract org. Doc from org. Deprecated as a consequence of Returns this object, narrowed down to the specific sub-type.
| |
| ignoreAnnotations | back to summary |
|---|---|
| public PropertyConstraintMappingContext ignoreAnnotations() Implements org. Deprecated as a consequence of
| |
| ignoreAnnotations | back to summary |
|---|---|
| public PropertyConstraintMappingContext ignoreAnnotations(boolean ignoreAnnotations) Implements org. Doc from org. Deprecated as a consequence of Specifies whether annotations at the given element should be ignored or not, overriding any setting given for parent elements. E.g. the setting given for a method parameter overrides the setting given for the method declaring that parameter.
| |
| method | back to summary |
|---|---|
| public MethodConstraintMappingContext method(String name, Class<?>... parameterTypes) Implements org. Doc from org. Selects a method to which the next operations shall apply. Until this method is called constraints apply on class level. After calling this method constraints apply to the specified method. A given method may only be configured once.
| |
| property | back to summary |
|---|---|
| public PropertyConstraintMappingContext property(String property, ElementType elementType) Implements org. Doc from org. Deprecated as a consequence of Selects a property to which the next operations shall apply. Until this method is called constraints apply on class level. After calling this method constraints apply on the specified property with the given access type. A given property may only be configured once.
| |