Class BaseCCD
java.lang.Object
org.apache.tapestry5.internal.beanvalidator.BaseCCD
- All Implemented Interfaces:
ClientConstraintDescriptor
Describes a single client-side constraint.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the annotation describing the constraint declaration.Attribute names of the constraint annotation to be passed (along with their values) to the JavaScript validator function as anJSONObject
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.tapestry5.beanvalidator.ClientConstraintDescriptor
applyClientValidation
-
Constructor Details
-
BaseCCD
Creates aBaseCCD
.- Parameters:
annotationClass
- Type of the constraint annotationattributes
- Attribute names of the constraint annotation to be passed (along with their values) to the JavaScript validator function as anJSONObject
.
-
-
Method Details
-
getAnnotationClass
Returns the annotation describing the constraint declaration.- Specified by:
getAnnotationClass
in interfaceClientConstraintDescriptor
-
getAttributes
Attribute names of the constraint annotation to be passed (along with their values) to the JavaScript validator function as anJSONObject
.- Specified by:
getAttributes
in interfaceClientConstraintDescriptor
-