Package io.jans.orm.reflect.property
Interface PropertyAnnotationResolver
- All Known Implementing Classes:
BasicPropertyAnnotationResolver
public interface PropertyAnnotationResolver
Defines a strategy for accessing class and propery annotations.
- Author:
- Yuriy Movchan Date: 10.08.2010
-
Method Summary
Modifier and TypeMethodDescriptiongetClassAnnotations(Class<?> theClass, Class<?>... allowedAnnotations) Get list of class annotationsgetPropertiesAnnotations(Class<?> theClass, Class<?>... allowedAnnotations) Get map of properties annotationsgetPropertyAnnotations(Class<?> theClass, String propertyName, Class<?>... allowedAnnotations) Get list of property annotations
-
Method Details
-
getClassAnnotations
Get list of class annotations -
getPropertyAnnotations
List<Annotation> getPropertyAnnotations(Class<?> theClass, String propertyName, Class<?>... allowedAnnotations) throws PropertyNotFoundException Get list of property annotations- Throws:
PropertyNotFoundException
-
getPropertiesAnnotations
Map<String,List<Annotation>> getPropertiesAnnotations(Class<?> theClass, Class<?>... allowedAnnotations) Get map of properties annotations
-