getAttributes

java.util.Map<java.lang.String,java.lang.Object> getAttributes()

Returns a map containing the annotation attribute names as keys and the
annotation attribute values as value.
If this constraint is used as part of a composed constraint, attribute
values are reflecting the overridden attribute of the composing constraint.

Returns:

a map containing the annotation attribute names as keys
and the annotation attribute values as value.

getComposingConstraints

Return a set of composing ConstraintDescriptors where each
descriptor describes a composing constraint. ConstraintDescriptor
instances of composing constraints reflect overridden attribute values in
getAttributes() and getAnnotation().

Returns:

a set of ConstraintDescriptor objects or an empty set
in case there are no composing constraints.