public class BeanDescriptorImpl extends ElementDescriptorImpl implements BeanDescriptor
ElementDescriptor.ConstraintFinder, ElementDescriptor.Kind| Constructor and Description |
|---|
BeanDescriptorImpl(Type beanClass,
Set<ConstraintDescriptorImpl<?>> classLevelConstraints,
Map<String,PropertyDescriptor> constrainedProperties,
Map<String,MethodDescriptor> constrainedMethods,
Map<String,ConstructorDescriptor> constrainedConstructors,
boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence) |
| Modifier and Type | Method and Description |
|---|---|
Set<ConstructorDescriptor> |
getConstrainedConstructors() |
Set<MethodDescriptor> |
getConstrainedMethods() |
Set<PropertyDescriptor> |
getConstrainedProperties() |
ConstructorDescriptor |
getConstraintsForConstructor(Class<?>... parameterTypes) |
MethodDescriptor |
getConstraintsForMethod(String methodName,
Class<?>... parameterTypes) |
PropertyDescriptor |
getConstraintsForProperty(String propertyName) |
ElementDescriptor.Kind |
getKind() |
boolean |
isBeanConstrained() |
String |
toString() |
as, findConstraints, getConstraintDescriptors, getElementClass, hasConstraintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitas, findConstraints, getConstraintDescriptors, getElementClass, hasConstraintspublic BeanDescriptorImpl(Type beanClass, Set<ConstraintDescriptorImpl<?>> classLevelConstraints, Map<String,PropertyDescriptor> constrainedProperties, Map<String,MethodDescriptor> constrainedMethods, Map<String,ConstructorDescriptor> constrainedConstructors, boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence)
public final boolean isBeanConstrained()
isBeanConstrained in interface BeanDescriptorpublic final PropertyDescriptor getConstraintsForProperty(String propertyName)
getConstraintsForProperty in interface BeanDescriptorpublic final Set<PropertyDescriptor> getConstrainedProperties()
getConstrainedProperties in interface BeanDescriptorpublic ConstructorDescriptor getConstraintsForConstructor(Class<?>... parameterTypes)
getConstraintsForConstructor in interface BeanDescriptorpublic Set<ConstructorDescriptor> getConstrainedConstructors()
getConstrainedConstructors in interface BeanDescriptorpublic Set<MethodDescriptor> getConstrainedMethods()
getConstrainedMethods in interface BeanDescriptorpublic MethodDescriptor getConstraintsForMethod(String methodName, Class<?>... parameterTypes)
getConstraintsForMethod in interface BeanDescriptorpublic ElementDescriptor.Kind getKind()
getKind in interface ElementDescriptorgetKind in class ElementDescriptorImplCopyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved