com.mysema.query.codegen
Interface Type

All Known Implementing Classes:
AbstractType, ClassType, EntityType, SimpleType, TypeAdapter, TypeExtends, TypeSuper

public interface Type

Type represents Java types

Author:
tiwe

Method Summary
 void appendLocalGenericName(Type context, Appendable builder, boolean asArgType)
           
 void appendLocalRawName(Type context, Appendable builder)
           
 Type as(TypeCategory category)
           
 Type asArrayType()
           
 TypeCategory getCategory()
           
 String getFullName()
           
 String getLocalGenericName(Type context, boolean asArgType)
           
 String getLocalRawName(Type context)
           
 String getPackageName()
           
 Type getParameter(int i)
           
 int getParameterCount()
           
 String getPrimitiveName()
           
 Type getSelfOrValueType()
           
 String getSimpleName()
           
 boolean hasEntityFields()
           
 boolean isFinal()
           
 boolean isPrimitive()
           
 String toString()
           
 

Method Detail

appendLocalGenericName

void appendLocalGenericName(Type context,
                            Appendable builder,
                            boolean asArgType)
                            throws IOException
Parameters:
context -
builder -
asArgType -
Throws:
IOException

appendLocalRawName

void appendLocalRawName(Type context,
                        Appendable builder)
                        throws IOException
Parameters:
context -
builder -
Throws:
IOException

as

Type as(TypeCategory category)
Parameters:
category -
Returns:

asArrayType

Type asArrayType()
Returns:

getCategory

TypeCategory getCategory()
Returns:

getFullName

String getFullName()
Returns:

getLocalGenericName

String getLocalGenericName(Type context,
                           boolean asArgType)
Parameters:
context -
asArgType -
Returns:

getLocalRawName

String getLocalRawName(Type context)
Parameters:
context -
Returns:

getPackageName

String getPackageName()
Returns:

getParameter

@Nullable
Type getParameter(int i)
Parameters:
i -
Returns:

getParameterCount

int getParameterCount()
Returns:

getPrimitiveName

@Nullable
String getPrimitiveName()
Returns:

getSelfOrValueType

Type getSelfOrValueType()
Returns:

getSimpleName

String getSimpleName()
Returns:

hasEntityFields

boolean hasEntityFields()
Returns:

isFinal

boolean isFinal()
Returns:

isPrimitive

boolean isPrimitive()
Returns:

toString

String toString()
Overrides:
toString in class Object
Returns:


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.