public class EclipseLinkFieldMapping extends AbstractFieldMapping
IMapping
that is wrapping the runtime representation of an EclipseLink mapping that is represented by a
persistent attribute.isProperty| Constructor and Description |
|---|
EclipseLinkFieldMapping(IManagedType parent,
java.lang.reflect.Field field)
Creates a new
EclipseLinkFieldMapping. |
| Modifier and Type | Method and Description |
|---|---|
protected int |
calculateMappingType(java.lang.annotation.Annotation[] annotations)
Calculates the type of the mapping represented by this external form.
|
boolean |
isCollection()
Determines whether this
IMapping is a collection type mapping. |
boolean |
isRelationship()
Determines whether this
IMapping is a relationship type mapping. |
getMember, getMemberAnnotations, getMemberGenericType, getMemberType, hasAnnotationbuildTypeDeclaration, calculateMappingType, compareTo, getMappingType, getName, getParent, getType, getTypeDeclaration, getTypeRepository, hasAnnotation, hasAnnotation, isProperty, isTransient, toStringpublic EclipseLinkFieldMapping(IManagedType parent, java.lang.reflect.Field field)
EclipseLinkFieldMapping.parent - The parent of this mappingfield - The Java field wrapped by this mappingprotected int calculateMappingType(java.lang.annotation.Annotation[] annotations)
calculateMappingType in class AbstractMappingannotations - The Annotations that are present on the memberpersistence.jpa.jpql.spi.IMappingType IMappingType when the provider is generic JPApublic boolean isCollection()
IMapping is a collection type mapping.isCollection in interface IMappingisCollection in class AbstractMappingtrue if this IMapping is a collection mapping;
false otherwisepublic boolean isRelationship()
IMapping is a relationship type mapping.isRelationship in interface IMappingisRelationship in class AbstractMappingtrue if this IMapping is a relationship mapping;
false otherwise