|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.jpa.jpql.spi.java.AbstractMapping
org.eclipse.persistence.jpa.jpql.spi.java.AbstractMethodMapping
public abstract class AbstractMethodMapping
The abstract implementation of IMapping
that is wrapping the runtime representation of a property.
Constructor Summary | |
---|---|
protected |
AbstractMethodMapping(IManagedType parent,
java.lang.reflect.Method method)
Creates a new AbstractMethodMapping . |
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.persistence.jpa.jpql.spi.java.AbstractMapping |
---|
buildTypeDeclaration, calculateMappingType, calculateMappingType, compareTo, getMappingType, getName, getParent, getType, getTypeDeclaration, getTypeRepository, hasAnnotation, hasAnnotation, isCollection, isProperty, isRelationship, isTransient, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected AbstractMethodMapping(IManagedType parent, java.lang.reflect.Method method)
AbstractMethodMapping
.
parent
- The parent of this mappingmethod
- The Java Method
wrapped by this mappingMethod Detail |
---|
public java.lang.reflect.Method getMember()
Member
wrapped by this mapping, which represents a persistent attribute.
getMember
in class AbstractMapping
Member
protected java.lang.annotation.Annotation[] getMemberAnnotations()
getMemberAnnotations
in class AbstractMapping
protected java.lang.reflect.Type getMemberGenericType()
getMemberGenericType
in class AbstractMapping
protected java.lang.Class<?> getMemberType()
getMemberType
in class AbstractMapping
public boolean hasAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType
- The class of the annotation
true
if the annotation is defined on this type; false
otherwise
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |