|
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.core.jpql.spi.JpaMapping
public abstract class JpaMapping
The concrete implementation of IMapping that is wrapping the design-time representation
of a 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.
| Nested Class Summary | |
|---|---|
protected class |
JpaMapping.TypeDeclarationTransformer
|
| Constructor Summary | |
|---|---|
protected |
JpaMapping(IManagedType parent,
AttributeMapping mapping)
Creates a new JpaMapping. |
| Method Summary | |
|---|---|
protected ITypeDeclaration[] |
buildGenericTypeDeclarations()
|
protected Iterable<ITypeDeclaration> |
buildGenericTypeDeclarations(JavaResourceAttribute resource)
|
protected IType |
buildType(boolean resolveRelationshipType)
|
protected ITypeDeclaration |
buildTypeDeclaration()
|
protected int |
calculateMappingType()
Calculates the type of the persistent attribute represented by this external form. |
int |
compareTo(IMapping mapping)
|
protected AttributeMapping |
getMapping()
Returns the design-time mapping object. |
int |
getMappingType()
|
String |
getName()
|
IManagedType |
getParent()
|
IType |
getType()
|
ITypeDeclaration |
getTypeDeclaration()
|
protected ITypeRepository |
getTypeRepository()
Returns the type repository for the application. |
boolean |
hasAnnotation(Class<? extends Annotation> annotationType)
|
boolean |
isCollection()
|
boolean |
isProperty()
|
boolean |
isRelationship()
|
boolean |
isTransient()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected JpaMapping(IManagedType parent,
AttributeMapping mapping)
JpaMapping.
parent - The parent of this mappingmapping - The design-time AttributeMapping wrapped by this class| Method Detail |
|---|
protected ITypeDeclaration[] buildGenericTypeDeclarations()
protected Iterable<ITypeDeclaration> buildGenericTypeDeclarations(JavaResourceAttribute resource)
protected IType buildType(boolean resolveRelationshipType)
protected ITypeDeclaration buildTypeDeclaration()
protected int calculateMappingType()
persistence.jpa.jpql.spi.IMappingType IMappingType when the provider is generic JPApublic int compareTo(IMapping mapping)
protected AttributeMapping getMapping()
AttributeMapping wrapped by this JpaMappingpublic int getMappingType()
public String getName()
public IManagedType getParent()
public IType getType()
public ITypeDeclaration getTypeDeclaration()
protected ITypeRepository getTypeRepository()
ITypespublic boolean hasAnnotation(Class<? extends Annotation> annotationType)
public boolean isCollection()
public boolean isProperty()
public boolean isRelationship()
public boolean isTransient()
public String toString()
toString in class Object
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||