T
- the bean Typepublic final class GwtBeanDescriptorImpl<T> extends Object implements GwtBeanDescriptor<T>
GwtBeanDescriptor
.
Subclasses are expected to call setDescriptorMap from the constructor.
Modifier and Type | Class and Description |
---|---|
static class |
GwtBeanDescriptorImpl.Builder<T>
Builder for
GwtBeanDescriptor s. |
Modifier and Type | Method and Description |
---|---|
static <T> GwtBeanDescriptorImpl.Builder<T> |
builder(Class<T> clazz) |
javax.validation.metadata.ElementDescriptor.ConstraintFinder |
findConstraints() |
Set<javax.validation.metadata.PropertyDescriptor> |
getConstrainedProperties() |
Set<javax.validation.metadata.ConstraintDescriptor<?>> |
getConstraintDescriptors() |
javax.validation.metadata.PropertyDescriptor |
getConstraintsForProperty(String propertyName) |
Class<?> |
getElementClass() |
boolean |
hasConstraints() |
boolean |
isBeanConstrained() |
void |
setValidationGroupsMetadata(ValidationGroupsMetadata validationGroupsMetadata) |
public static <T> GwtBeanDescriptorImpl.Builder<T> builder(Class<T> clazz)
public javax.validation.metadata.ElementDescriptor.ConstraintFinder findConstraints()
findConstraints
in interface javax.validation.metadata.ElementDescriptor
public Set<javax.validation.metadata.PropertyDescriptor> getConstrainedProperties()
getConstrainedProperties
in interface javax.validation.metadata.BeanDescriptor
public Set<javax.validation.metadata.ConstraintDescriptor<?>> getConstraintDescriptors()
getConstraintDescriptors
in interface javax.validation.metadata.ElementDescriptor
public javax.validation.metadata.PropertyDescriptor getConstraintsForProperty(String propertyName)
getConstraintsForProperty
in interface javax.validation.metadata.BeanDescriptor
public Class<?> getElementClass()
getElementClass
in interface javax.validation.metadata.ElementDescriptor
public boolean hasConstraints()
hasConstraints
in interface javax.validation.metadata.ElementDescriptor
public boolean isBeanConstrained()
isBeanConstrained
in interface javax.validation.metadata.BeanDescriptor
public void setValidationGroupsMetadata(ValidationGroupsMetadata validationGroupsMetadata)
setValidationGroupsMetadata
in interface GwtBeanDescriptor<T>
Copyright © 2018. All rights reserved.