public interface BeanDescriptor extends ElementDescriptor
ElementDescriptor.ConstraintFinder
Modifier and Type | Method and Description |
---|---|
Set<ConstructorDescriptor> |
getConstrainedConstructors() |
Set<MethodDescriptor> |
getConstrainedMethods(MethodType methodType,
MethodType... methodTypes) |
Set<PropertyDescriptor> |
getConstrainedProperties() |
ConstructorDescriptor |
getConstraintsForConstructor(Class<?>... parameterTypes) |
MethodDescriptor |
getConstraintsForMethod(String methodName,
Class<?>... parameterTypes) |
PropertyDescriptor |
getConstraintsForProperty(String propertyName) |
boolean |
isBeanConstrained() |
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
boolean isBeanConstrained()
PropertyDescriptor getConstraintsForProperty(String propertyName)
Set<PropertyDescriptor> getConstrainedProperties()
MethodDescriptor getConstraintsForMethod(String methodName, Class<?>... parameterTypes)
Set<MethodDescriptor> getConstrainedMethods(MethodType methodType, MethodType... methodTypes)
ConstructorDescriptor getConstraintsForConstructor(Class<?>... parameterTypes)
Set<ConstructorDescriptor> getConstrainedConstructors()
Copyright © 2017. All rights reserved.