public abstract class AbstractMethodMapping extends AbstractMapping
IMapping
that is wrapping the runtime representation of a property.isProperty| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMethodMapping(IManagedType parent,
java.lang.reflect.Method method)
Creates a new
AbstractMethodMapping. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.reflect.Method |
getMember()
Returns the Java
Member wrapped by this mapping, which represents a persistent attribute. |
protected java.lang.annotation.Annotation[] |
getMemberAnnotations() |
protected java.lang.reflect.Type |
getMemberGenericType() |
protected java.lang.Class<?> |
getMemberType() |
boolean |
hasAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Determines whether the given annotation is present on this type.
|
buildTypeDeclaration, calculateMappingType, calculateMappingType, compareTo, getMappingType, getName, getParent, getType, getTypeDeclaration, getTypeRepository, hasAnnotation, hasAnnotation, isCollection, isProperty, isRelationship, isTransient, toStringprotected AbstractMethodMapping(IManagedType parent, java.lang.reflect.Method method)
AbstractMethodMapping.parent - The parent of this mappingmethod - The Java Method wrapped by this mappingpublic java.lang.reflect.Method getMember()
Member wrapped by this mapping, which represents a persistent attribute.getMember in class AbstractMappingMemberprotected java.lang.annotation.Annotation[] getMemberAnnotations()
getMemberAnnotations in class AbstractMappingprotected java.lang.reflect.Type getMemberGenericType()
getMemberGenericType in class AbstractMappingprotected java.lang.Class<?> getMemberType()
getMemberType in class AbstractMappingpublic boolean hasAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The class of the annotationtrue if the annotation is defined on this type; false
otherwise