Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.jpql.spi
Class JpaTypeDeclaration

java.lang.Object
  extended by org.eclipse.jpt.jpa.core.jpql.spi.JpaTypeDeclaration

public class JpaTypeDeclaration
extends Object

The concrete implementation of ITypeDeclaration that is wrapping the design-time representation of the declaration description of a 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.

Since:
3.0

Constructor Summary
JpaTypeDeclaration(IType type, ITypeDeclaration[] genericTypes)
          Creates a new JpaTypeDeclaration.
JpaTypeDeclaration(IType type, ITypeDeclaration[] genericTypes, int dimensionality)
          Creates a new JpaTypeDeclaration.
 
Method Summary
 int getDimensionality()
          
 IType getType()
          
 ITypeDeclaration[] getTypeParameters()
          
 boolean isArray()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JpaTypeDeclaration

public JpaTypeDeclaration(IType type,
                          ITypeDeclaration[] genericTypes)
Creates a new JpaTypeDeclaration.

Parameters:
type - The external form of the Java type
genericTypes - The generics of the given type or an empty list if the type is not parameterized

JpaTypeDeclaration

public JpaTypeDeclaration(IType type,
                          ITypeDeclaration[] genericTypes,
                          int dimensionality)
Creates a new JpaTypeDeclaration.

Parameters:
type - The external form of the Java type
genericTypes - The generics of the given type or an empty list if the type is not parameterized
dimensionality - The dimensionality of the array or 0 if it's not an array
Method Detail

getDimensionality

public int getDimensionality()


getType

public IType getType()


getTypeParameters

public ITypeDeclaration[] getTypeParameters()


isArray

public boolean isArray()


toString

public String toString()

Overrides:
toString in class Object

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.