org.apache.myfaces.extensions.validator.core.validation
Annotation Type ConstraintSource


@Target(value={TYPE,FIELD,METHOD})
@Retention(value=RUNTIME)
@Documented
public @interface ConstraintSource

Annotation that specifies the class that needs to be used as source for the ExtVal constraints.
If needed, this annotation can be replaced by a customer defined one if one likes to have independence of ExtVal in model classes, see constraintSourceAnnotation in ExtValCoreConfiguration.

Since:
r4
Author:
Gerhard Petracek

Required Element Summary
 Class value
          Class that needs to be used as source for constraints.
 

Element Detail

value

public abstract Class value
Class that needs to be used as source for constraints.

Returns:
Class that needs to be used as source for constraints.


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.