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, waitapplyClientValidationpublic 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 ClientConstraintDescriptorpublic Set<String> getAttributes()
JSONObject.getAttributes in interface ClientConstraintDescriptor5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.