Class AnnotationMappingReader
java.lang.Object
com.blazebit.persistence.view.impl.metamodel.AnnotationMappingReader
- All Implemented Interfaces:
MappingReader
public class AnnotationMappingReader extends Object implements MappingReader
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Constructor Summary
Constructors Constructor Description AnnotationMappingReader(MetamodelBootContext context)
-
Method Summary
Modifier and Type Method Description static String
extractConstructorName(Constructor<?> c)
MetamodelBootContext
getContext()
static Annotation
getMapping(AnnotatedElement annotatedElement, Constructor<?> constructor, int index, MetamodelBootContext context)
static Annotation
getMapping(String attributeName, AnnotatedElement annotatedElement, boolean implicitMapping)
void
readViewListenerMapping(Class<?> entityViewListenerClass, EntityViewListenerFactory<?> factory)
ViewMapping
readViewMapping(Class<?> entityViewClass)
-
Constructor Details
-
Method Details
-
getContext
- Specified by:
getContext
in interfaceMappingReader
-
readViewListenerMapping
public void readViewListenerMapping(Class<?> entityViewListenerClass, EntityViewListenerFactory<?> factory)- Specified by:
readViewListenerMapping
in interfaceMappingReader
-
readViewMapping
- Specified by:
readViewMapping
in interfaceMappingReader
-
getMapping
public static Annotation getMapping(String attributeName, AnnotatedElement annotatedElement, boolean implicitMapping) -
getMapping
public static Annotation getMapping(AnnotatedElement annotatedElement, Constructor<?> constructor, int index, MetamodelBootContext context) -
extractConstructorName
-