Top Description Methods
org.hibernate.validator.constraints

public @Interface ConstraintComposition

extends Annotation
Annotations
@Documented
@Target:ANNOTATION_TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Documented, .Retention, .Target

Boolean operator that is applied to all constraints of a composing constraint annotation.

A composed constraint annotation can define a boolean combination of the constraints composing it, by using @ConstraintComposition.

Authors
Dag Hovland, Federico Mancini

Method Summary

Modifier and TypeMethod and Description
public CompositionType

Returns:

the CompositionType value
value
()

The value of this element specifies the boolean operator, namely disjunction (OR), negation of the conjunction (ALL_FALSE), or, the default, simple conjunction (AND).

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public CompositionType value()

The value of this element specifies the boolean operator, namely disjunction (OR), negation of the conjunction (ALL_FALSE), or, the default, simple conjunction (AND).

Returns:CompositionType

the CompositionType value