Package | Description |
---|---|
org.hibernate.validator.cfg |
Entry point for the programmatic constraint definition API.
|
org.hibernate.validator.cfg.context |
Contains facet and creational context interfaces forming the API
for programmatic constraint definition.
|
org.hibernate.validator.cfg.defs |
Constraint definition classes for programmatic constraint
definition API.
|
org.hibernate.validator.internal.cfg.context |
Creational context implementations of the API for programmatic
constraint definition.
|
Modifier and Type | Class and Description |
---|---|
class |
ConstraintDef<C extends ConstraintDef<C,A>,A extends Annotation>
Base class for all constraint definition types.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericConstraintDef<A extends Annotation>
A
ConstraintDef class which can be used to configure any constraint
type. |
Constructor and Description |
---|
ConstraintDef(ConstraintDef<?,A> original) |
Modifier and Type | Method and Description |
---|---|
C |
Constrainable.constraint(ConstraintDef<?,?> definition)
Adds a new constraint.
|
Modifier and Type | Class and Description |
---|---|
class |
AssertFalseDef |
class |
AssertTrueDef |
class |
CreditCardNumberDef |
class |
DecimalMaxDef |
class |
DecimalMinDef |
class |
DigitsDef |
class |
EmailDef |
class |
FutureDef |
class |
LengthDef |
class |
MaxDef |
class |
MinDef |
class |
NotBlankDef |
class |
NotEmptyDef |
class |
NotNullDef |
class |
NullDef |
class |
PastDef |
class |
PatternDef |
class |
RangeDef |
class |
ScriptAssertDef |
class |
SizeDef |
class |
URLDef |
Modifier and Type | Method and Description |
---|---|
ConstraintDef<?,A> |
ConfiguredConstraint.getConstraint() |
Modifier and Type | Method and Description |
---|---|
TypeConstraintMappingContext<C> |
TypeConstraintMappingContextImpl.constraint(ConstraintDef<?,?> definition) |
PropertyConstraintMappingContext |
PropertyConstraintMappingContextImpl.constraint(ConstraintDef<?,?> definition) |
static <A extends Annotation> |
ConfiguredConstraint.forParameter(ConstraintDef<?,A> constraint,
Method method,
int parameterIndex) |
static <A extends Annotation> |
ConfiguredConstraint.forReturnValue(ConstraintDef<?,A> constraint,
Method method) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.