org.apache.bval.jsr303
Class ConstraintFinderImpl

java.lang.Object
  extended by org.apache.bval.jsr303.ConstraintFinderImpl
All Implemented Interfaces:
ElementDescriptor.ConstraintFinder

final class ConstraintFinderImpl
extends Object
implements ElementDescriptor.ConstraintFinder

Description: Implementation of the fluent ElementDescriptor.ConstraintFinder interface.


Constructor Summary
ConstraintFinderImpl(MetaBean metaBean, Set<ConstraintValidation<?>> constraintDescriptors)
          Create a new ConstraintFinderImpl instance.
 
Method Summary
 ElementDescriptor.ConstraintFinder declaredOn(ElementType... elementTypes)
          
 Set<ConstraintDescriptor<?>> getConstraintDescriptors()
          
 boolean hasConstraints()
          
 ElementDescriptor.ConstraintFinder lookingAt(Scope scope)
          
 ElementDescriptor.ConstraintFinder unorderedAndMatchingGroups(Class<?>... groups)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstraintFinderImpl

ConstraintFinderImpl(MetaBean metaBean,
                     Set<ConstraintValidation<?>> constraintDescriptors)
Create a new ConstraintFinderImpl instance.

Parameters:
metaBean -
constraintDescriptors -
Method Detail

unorderedAndMatchingGroups

public ElementDescriptor.ConstraintFinder unorderedAndMatchingGroups(Class<?>... groups)

Specified by:
unorderedAndMatchingGroups in interface ElementDescriptor.ConstraintFinder

lookingAt

public ElementDescriptor.ConstraintFinder lookingAt(Scope scope)

Specified by:
lookingAt in interface ElementDescriptor.ConstraintFinder

declaredOn

public ElementDescriptor.ConstraintFinder declaredOn(ElementType... elementTypes)

Specified by:
declaredOn in interface ElementDescriptor.ConstraintFinder

getConstraintDescriptors

public Set<ConstraintDescriptor<?>> getConstraintDescriptors()

Specified by:
getConstraintDescriptors in interface ElementDescriptor.ConstraintFinder

hasConstraints

public boolean hasConstraints()

Specified by:
hasConstraints in interface ElementDescriptor.ConstraintFinder


Copyright © 2010-2012 Apache Software Foundation. All Rights Reserved.