org.apache.bval.jsr303
Class AppendValidationToMeta

java.lang.Object
  extended by org.apache.bval.jsr303.BaseAppendValidation
      extended by 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.


Constructor Summary
AppendValidationToMeta(FeaturesCapable meta)
          Create a new AppendValidationToMeta instance.
 
Method Summary
<T extends Annotation>
void
performAppend(ConstraintValidation<T> validation)
          Performs the actual "appending" operation to the underlying data structure that holds the validations.
 
Methods inherited from class org.apache.bval.jsr303.BaseAppendValidation
append, postProcessValidation, preProcessValidation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppendValidationToMeta

public AppendValidationToMeta(FeaturesCapable meta)
Create a new AppendValidationToMeta instance.

Parameters:
meta -
Method Detail

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-2014 The Apache Software Foundation. All Rights Reserved.