Class BaseCCD
- java.lang.Object
-
- org.apache.tapestry5.internal.beanvalidator.BaseCCD
-
- All Implemented Interfaces:
ClientConstraintDescriptor
public abstract class BaseCCD extends java.lang.Object implements ClientConstraintDescriptor
Describes a single client-side constraint.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class
getAnnotationClass()
Returns the annotation describing the constraint declaration.java.util.Set<java.lang.String>
getAttributes()
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 Detail
-
BaseCCD
public BaseCCD(java.lang.Class annotationClass, java.lang.String... attributes)
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 Detail
-
getAnnotationClass
public java.lang.Class getAnnotationClass()
Returns the annotation describing the constraint declaration.- Specified by:
getAnnotationClass
in interfaceClientConstraintDescriptor
-
getAttributes
public java.util.Set<java.lang.String> 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
-
-