|
EclipseLink 2.5.0, build 'v20130425-368d603' 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.tools.spi.java.AbstractMapping
org.eclipse.persistence.jpa.jpql.tools.spi.java.AbstractFieldMapping
org.eclipse.persistence.jpa.jpql.tools.spi.java.EclipseLinkFieldMapping
public class EclipseLinkFieldMapping
The concrete implementation of IMapping
that is wrapping the runtime representation of an EclipseLink mapping that is represented by a
persistent attribute.
| Constructor Summary | |
|---|---|
EclipseLinkFieldMapping(IManagedType parent,
java.lang.reflect.Field field)
Creates a new EclipseLinkFieldMapping. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.spi.java.AbstractFieldMapping |
|---|
getMember, getMemberAnnotations, getMemberGenericType, getMemberType, hasAnnotation |
| Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.spi.java.AbstractMapping |
|---|
buildTypeDeclaration, calculateMappingType, compareTo, getMappingType, getName, getParent, getType, getTypeDeclaration, getTypeRepository, hasAnnotation, hasAnnotation, isProperty, isTransient, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EclipseLinkFieldMapping(IManagedType parent,
java.lang.reflect.Field field)
EclipseLinkFieldMapping.
parent - The parent of this mappingfield - The Java field wrapped by this mapping| Method Detail |
|---|
protected int calculateMappingType(java.lang.annotation.Annotation[] annotations)
calculateMappingType in class AbstractMappingannotations - The Annotations that are present on the member
persistence.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
|
EclipseLink 2.5.0, build 'v20130425-368d603' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||