public class MetaConstraint<T,A extends Annotation> extends Object
Constructor and Description |
---|
MetaConstraint(Class<T> beanClass,
Member member,
A annotation)
Create a new MetaConstraint instance.
|
Modifier and Type | Method and Description |
---|---|
AccessStrategy |
getAccessStrategy()
Get the access strategy used for the associated property.
|
A |
getAnnotation()
Get the annotation that defines this constraint.
|
Class<T> |
getBeanClass()
Get the bean class of this constraint.
|
Member |
getMember()
Get the member to which this constraint applies.
|
public MetaConstraint(Class<T> beanClass, Member member, A annotation)
beanClass
- The class in which the constraint is defined onmember
- The member on which the constraint is defined on, null
if it is a class constraint}annotation
- public Member getMember()
public A getAnnotation()
public AccessStrategy getAccessStrategy()
AccessStrategy
Copyright © 2010–2016 The Apache Software Foundation. All rights reserved.