|
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.Object org.eclipse.persistence.jpa.jpql.spi.java.AbstractMapping org.eclipse.persistence.jpa.jpql.spi.java.AbstractFieldMapping
public abstract class AbstractFieldMapping
The abstract implementation of IMapping
that is wrapping the runtime representation of a persistent field.
Constructor Summary | |
---|---|
protected |
AbstractFieldMapping(IManagedType parent,
java.lang.reflect.Field field)
Creates a new AbstractFieldMapping . |
Method Summary | |
---|---|
java.lang.reflect.Field |
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 AbstractFieldMapping(IManagedType parent, java.lang.reflect.Field field)
AbstractFieldMapping
.
parent
- The parent of this mappingfield
- The Java Field
wrapped by this mappingMethod Detail |
---|
public java.lang.reflect.Field 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 |