org.apache.bval.jsr303
Class AppendValidationToMeta
java.lang.Object
org.apache.bval.jsr303.BaseAppendValidation
org.apache.bval.jsr303.AppendValidationToMeta
- All Implemented Interfaces:
- AppendValidation
public class AppendValidationToMeta
- extends BaseAppendValidation
Description: adapt any FeaturesCapable
from the core meta-model to the AppendValidation
interface.
Method Summary |
|
performAppend(ConstraintValidation<T> validation)
Performs the actual "appending" operation to the underlying data
structure that holds the validations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppendValidationToMeta
public AppendValidationToMeta(FeaturesCapable meta)
- Create a new AppendValidationToMeta instance.
- Parameters:
meta
-
performAppend
public <T extends Annotation> void performAppend(ConstraintValidation<T> validation)
- Performs the actual "appending" operation to the underlying data
structure that holds the validations. Implementations shouldn't try to do
more than that in this step.
- Specified by:
performAppend
in class BaseAppendValidation
- Type Parameters:
T
- The type of the validation.- Parameters:
validation
- The validation to be appended.
Copyright © 2010-2012 Apache Software Foundation. All Rights Reserved.