public abstract class BaseCCD extends Object implements ClientConstraintDescriptor
Constructor and Description |
---|
BaseCCD(Class annotationClass,
String... attributes)
Creates a
BaseCCD . |
Modifier and Type | Method and Description |
---|---|
Class |
getAnnotationClass()
Returns the annotation describing the constraint declaration.
|
Set<String> |
getAttributes()
Attribute names of the constraint annotation to be passed (along with their values) to the JavaScript validator
function as an
JSONObject . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyClientValidation
public BaseCCD(Class annotationClass, String... attributes)
BaseCCD
.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 an JSONObject
.public Class getAnnotationClass()
getAnnotationClass
in interface ClientConstraintDescriptor
public Set<String> getAttributes()
JSONObject
.getAttributes
in interface ClientConstraintDescriptor
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.