public abstract class BaseCCD extends java.lang.Object implements ClientConstraintDescriptor
| Constructor and Description |
|---|
BaseCCD(java.lang.Class annotationClass,
java.lang.String... attributes)
Creates a
BaseCCD. |
| Modifier and Type | Method and 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 an
JSONObject. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyClientValidationpublic BaseCCD(java.lang.Class annotationClass, java.lang.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 java.lang.Class getAnnotationClass()
getAnnotationClass in interface ClientConstraintDescriptorpublic java.util.Set<java.lang.String> getAttributes()
JSONObject.getAttributes in interface ClientConstraintDescriptor${project.version} - Copyright © 2003-2015 The Apache Software Foundation.