Interface Constrainable
-
- All Known Subinterfaces:
Callable,Field,Getter,JavaBeanAnnotatedConstrainable,Property
- All Known Implementing Classes:
JavaBeanConstructor,JavaBeanExecutable,JavaBeanField,JavaBeanGetter,JavaBeanMethod
public interface ConstrainableAn element on which it is possible to define constraints (e.g. a JavaBean property, a JavaBean method, a JSON property).- Author:
- Marko Bekhta
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <T> Tas(Class<T> clazz)ConstrainedElement.ConstrainedElementKindgetConstrainedElementKind()Class<?>getDeclaringClass()StringgetName()TypegetType()TypegetTypeForValidatorResolution()
-
-
-
Method Detail
-
getName
String getName()
-
getDeclaringClass
Class<?> getDeclaringClass()
-
getTypeForValidatorResolution
Type getTypeForValidatorResolution()
-
getType
Type getType()
-
getConstrainedElementKind
ConstrainedElement.ConstrainedElementKind getConstrainedElementKind()
-
as
default <T> T as(Class<T> clazz)
-
-