|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jpt.jpa.eclipselink.core.jpql.spi.EclipseLinkDynamicMapping
public class EclipseLinkDynamicMapping
The abstract implementation of a IMapping that supports a dynamic mapping.
Provisional API: This interface is part of an interim API that is still under development and
expected to change significantly before reaching stability. It is available at this early stage
to solicit feedback from pioneering adopters on the understanding that any code that uses this
API will almost certainly be broken (repeatedly) as the API evolves.
| Constructor Summary | |
|---|---|
EclipseLinkDynamicMapping(EclipseLinkDynamicManagedType parent,
EclipseLinkMapping delegate)
Creates a new EclipseLinkDynamicMapping. |
|
| Method Summary | |
|---|---|
protected ITypeDeclaration[] |
buildGenericTypeDeclarations()
Creates the list of type declarations that represents the generics of
the type. |
protected IType |
buildType()
Creates the right IType and make sure it checks for dynamic type. |
protected ITypeDeclaration |
buildTypeDeclaration()
Creates the right ITypeDeclaration and make sure it checks for dynamic type. |
int |
compareTo(IMapping mapping)
|
PersistentAttribute |
getAttribute()
Returns the mapping's attribute (typically its parent node in the containment hierarchy). |
int |
getMappingType()
|
String |
getName()
|
IManagedType |
getParent()
|
IType |
getType()
|
ITypeDeclaration |
getTypeDeclaration()
|
String |
getTypeName()
Returns the type name of the persistent attribute. |
protected JpaTypeRepository |
getTypeRepository()
Returns the type repository for the application. |
boolean |
hasAnnotation(Class<? extends Annotation> annotationType)
|
boolean |
isCollection()
|
boolean |
isProperty()
|
boolean |
isRelationship()
|
boolean |
isTransient()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EclipseLinkDynamicMapping(EclipseLinkDynamicManagedType parent,
EclipseLinkMapping delegate)
EclipseLinkDynamicMapping.
parent - The parent of this mappingdelegate - The default implementation of IMapping| Method Detail |
|---|
protected ITypeDeclaration[] buildGenericTypeDeclarations()
type declarations that represents the generics of
the type.
type declarations or an empty list if the type is
not parameterizedprotected IType buildType()
IType and make sure it checks for dynamic type.
IType of this dynamic mappingprotected ITypeDeclaration buildTypeDeclaration()
ITypeDeclaration and make sure it checks for dynamic type.
ITypeDeclaration of this dynamic mappingpublic int compareTo(IMapping mapping)
public PersistentAttribute getAttribute()
PersistentAttributepublic int getMappingType()
public String getName()
public IManagedType getParent()
public IType getType()
public ITypeDeclaration getTypeDeclaration()
public String getTypeName()
protected JpaTypeRepository getTypeRepository()
ITypespublic boolean hasAnnotation(Class<? extends Annotation> annotationType)
public boolean isCollection()
public boolean isProperty()
public boolean isRelationship()
public boolean isTransient()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||