public final class ConstraintFinderImpl extends Object implements javax.validation.metadata.ElementDescriptor.ConstraintFinder
Constructor and Description |
---|
ConstraintFinderImpl(BeanMetadata beanMetadata,
ValidationGroupsMetadata validationGroupsMetadata,
Set<ConstraintDescriptorImpl<?>> constraintDescriptors) |
Modifier and Type | Method and Description |
---|---|
javax.validation.metadata.ElementDescriptor.ConstraintFinder |
declaredOn(ElementType... types) |
Set<javax.validation.metadata.ConstraintDescriptor<?>> |
getConstraintDescriptors() |
boolean |
hasConstraints() |
javax.validation.metadata.ElementDescriptor.ConstraintFinder |
lookingAt(javax.validation.metadata.Scope scope) |
javax.validation.metadata.ElementDescriptor.ConstraintFinder |
unorderedAndMatchingGroups(Class<?>... groups) |
public ConstraintFinderImpl(BeanMetadata beanMetadata, ValidationGroupsMetadata validationGroupsMetadata, Set<ConstraintDescriptorImpl<?>> constraintDescriptors)
public javax.validation.metadata.ElementDescriptor.ConstraintFinder declaredOn(ElementType... types)
declaredOn
in interface javax.validation.metadata.ElementDescriptor.ConstraintFinder
public Set<javax.validation.metadata.ConstraintDescriptor<?>> getConstraintDescriptors()
getConstraintDescriptors
in interface javax.validation.metadata.ElementDescriptor.ConstraintFinder
public boolean hasConstraints()
hasConstraints
in interface javax.validation.metadata.ElementDescriptor.ConstraintFinder
public javax.validation.metadata.ElementDescriptor.ConstraintFinder lookingAt(javax.validation.metadata.Scope scope)
lookingAt
in interface javax.validation.metadata.ElementDescriptor.ConstraintFinder
public javax.validation.metadata.ElementDescriptor.ConstraintFinder unorderedAndMatchingGroups(Class<?>... groups)
unorderedAndMatchingGroups
in interface javax.validation.metadata.ElementDescriptor.ConstraintFinder
Copyright © 2018. All rights reserved.