public final class PropertyDescriptorImpl extends Object implements javax.validation.metadata.PropertyDescriptor
Constructor and Description |
---|
PropertyDescriptorImpl(String name,
Class<?> elementClass,
boolean cascaded,
BeanMetadata parentBeanMetadata,
ConstraintDescriptorImpl<?>... descriptors) |
PropertyDescriptorImpl(String name,
Class<?> elementClass,
boolean cascaded,
BeanMetadata parentBeanMetadata,
ValidationGroupsMetadata validationGroupsMetadata,
ConstraintDescriptorImpl<?>... descriptors) |
Modifier and Type | Method and Description |
---|---|
javax.validation.metadata.ElementDescriptor.ConstraintFinder |
findConstraints() |
Set<javax.validation.metadata.ConstraintDescriptor<?>> |
getConstraintDescriptors() |
Class<?> |
getElementClass() |
String |
getPropertyName() |
boolean |
hasConstraints() |
boolean |
isCascaded() |
void |
setValidationGroupsMetadata(ValidationGroupsMetadata validationGroupsMetadata) |
PropertyDescriptorImpl |
shallowCopy() |
public PropertyDescriptorImpl(String name, Class<?> elementClass, boolean cascaded, BeanMetadata parentBeanMetadata, ConstraintDescriptorImpl<?>... descriptors)
public PropertyDescriptorImpl(String name, Class<?> elementClass, boolean cascaded, BeanMetadata parentBeanMetadata, ValidationGroupsMetadata validationGroupsMetadata, ConstraintDescriptorImpl<?>... descriptors)
public javax.validation.metadata.ElementDescriptor.ConstraintFinder findConstraints()
findConstraints
in interface javax.validation.metadata.ElementDescriptor
public Set<javax.validation.metadata.ConstraintDescriptor<?>> getConstraintDescriptors()
getConstraintDescriptors
in interface javax.validation.metadata.ElementDescriptor
public Class<?> getElementClass()
getElementClass
in interface javax.validation.metadata.ElementDescriptor
public String getPropertyName()
getPropertyName
in interface javax.validation.metadata.PropertyDescriptor
public boolean hasConstraints()
hasConstraints
in interface javax.validation.metadata.ElementDescriptor
public boolean isCascaded()
isCascaded
in interface javax.validation.metadata.PropertyDescriptor
public void setValidationGroupsMetadata(ValidationGroupsMetadata validationGroupsMetadata)
public PropertyDescriptorImpl shallowCopy()
Copyright © 2018. All rights reserved.