public class EclipseLinkPropertyMapping extends AbstractMethodMapping
IMapping
that is wrapping the runtime representation of an EclipseLink mapping that is represented by a
property.isProperty
Constructor and Description |
---|
EclipseLinkPropertyMapping(IManagedType parent,
java.lang.reflect.Method method)
Creates a new
EclipseLinkPropertyMapping . |
Modifier and Type | Method and Description |
---|---|
boolean |
isCollection()
Determines whether this
IMapping is a collection type mapping. |
boolean |
isRelationship()
Determines whether this
IMapping is a relationship type mapping. |
getMember, hasAnnotation
compareTo, getMappingType, getName, getParent, getType, getTypeDeclaration, isProperty, isTransient, toString
public EclipseLinkPropertyMapping(IManagedType parent, java.lang.reflect.Method method)
EclipseLinkPropertyMapping
.parent
- The parent of this mappingmethod
- The Java Method
wrapped by this mappingpublic 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
otherwiseEclipseLink 2.4.2, "build v20130514-5956486" API Reference