|
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.JpaType
public class JpaType
The concrete implementation of IType that is
wrapping the design-time representation of a Java type.
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 | |
|---|---|
JpaType(JpaTypeRepository typeRepository,
IType type)
Creates a new JpaType. |
|
| Method Summary | |
|---|---|
protected CompilationUnit |
buildCompilationUnit()
|
protected Collection<IConstructor> |
buildConstructors()
|
protected String[] |
buildEnumConstants()
|
protected ITypeBinding |
buildTypeBinding()
|
protected ITypeDeclaration |
buildTypeDeclaration()
|
Iterable<IConstructor> |
constructors()
|
boolean |
equals(Object object)
|
boolean |
equals(org.eclipse.persistence.jpa.jpql.tools.spi.IType type)
|
String[] |
getEnumConstants()
|
String |
getName()
|
protected ASTNode |
getParent(ASTNode node,
Class<? extends ASTNode> parentClass)
|
protected IType |
getType()
Returns the encapsulated Type, which is the actual type. |
protected ITypeBinding |
getTypeBinding()
|
ITypeDeclaration |
getTypeDeclaration()
|
protected JpaTypeRepository |
getTypeRepository()
Returns the repository that gives access to the application's classes. |
boolean |
hasAnnotation(Class<? extends Annotation> annotationType)
|
int |
hashCode()
|
boolean |
isAssignableTo(org.eclipse.persistence.jpa.jpql.tools.spi.IType otherType)
|
boolean |
isEnum()
|
boolean |
isResolvable()
|
void |
setTypeDeclaration(JpaTypeDeclaration typeDeclaration)
Manually sets the declaration of this IType, which gives the information about type
parameters, dimensionality, etc. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JpaType(JpaTypeRepository typeRepository,
IType type)
JpaType.
typeRepository - The external form of a type repositorytype - The design-time representation of a Java type| Method Detail |
|---|
protected CompilationUnit buildCompilationUnit()
protected Collection<IConstructor> buildConstructors()
protected String[] buildEnumConstants()
protected ITypeBinding buildTypeBinding()
protected ITypeDeclaration buildTypeDeclaration()
public Iterable<IConstructor> constructors()
public boolean equals(Object object)
equals in class Objectpublic boolean equals(org.eclipse.persistence.jpa.jpql.tools.spi.IType type)
equals in class Objectpublic String[] getEnumConstants()
public String getName()
protected ASTNode getParent(ASTNode node,
Class<? extends ASTNode> parentClass)
protected IType getType()
Type, which is the actual type.
protected ITypeBinding getTypeBinding()
public ITypeDeclaration getTypeDeclaration()
protected JpaTypeRepository getTypeRepository()
public boolean hasAnnotation(Class<? extends Annotation> annotationType)
public int hashCode()
hashCode in class Objectpublic boolean isAssignableTo(org.eclipse.persistence.jpa.jpql.tools.spi.IType otherType)
public boolean isEnum()
public boolean isResolvable()
public void setTypeDeclaration(JpaTypeDeclaration typeDeclaration)
IType, which gives the information about type
parameters, dimensionality, etc.
setTypeDeclaration in interface IJpaTypetypeDeclaration - The external form of the type declarationpublic 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 | ||||||||||