|
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.Object org.eclipse.persistence.jpa.jpql.tools.spi.java.AbstractMapping org.eclipse.persistence.jpa.jpql.tools.spi.java.AbstractMethodMapping org.eclipse.persistence.jpa.jpql.tools.spi.java.EclipseLinkPropertyMapping
public class EclipseLinkPropertyMapping
The concrete implementation of IMapping
that is wrapping the runtime representation of an EclipseLink mapping that is represented by a
property.
Constructor Summary | |
---|---|
EclipseLinkPropertyMapping(IManagedType parent,
java.lang.reflect.Method method)
Creates a new EclipseLinkPropertyMapping . |
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.AbstractMethodMapping |
---|
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 EclipseLinkPropertyMapping(IManagedType parent, java.lang.reflect.Method method)
EclipseLinkPropertyMapping
.
parent
- The parent of this mappingmethod
- The Java Method
wrapped by this mappingMethod Detail |
---|
protected int calculateMappingType(java.lang.annotation.Annotation[] annotations)
calculateMappingType
in class AbstractMapping
annotations
- 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 IMapping
isCollection
in class AbstractMapping
true
if this IMapping
is a collection mapping;
false
otherwisepublic boolean isRelationship()
IMapping
is a relationship type mapping.
isRelationship
in interface IMapping
isRelationship
in class AbstractMapping
true
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 |