com.mysema.query.codegen
Class ClassType
java.lang.Object
com.mysema.query.codegen.AbstractType
com.mysema.query.codegen.ClassType
- All Implemented Interfaces:
- Type
@Immutable
public final class ClassType
- extends AbstractType
ClassType is a minimal implementation of the Type interface
- Author:
- tiwe
Methods inherited from interface com.mysema.query.codegen.Type |
toString |
ClassType
public ClassType(TypeCategory typeCategory,
Class<?> clazz,
Type... params)
ClassType
public ClassType(TypeCategory typeCategory,
Class<?> clazz,
@Nullable
Class<?> primitiveClass,
Type... params)
asArrayType
public Type asArrayType()
- Returns:
as
public Type as(TypeCategory category)
- Returns:
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
getCategory
public TypeCategory getCategory()
- Returns:
getFullName
public String getFullName()
- Returns:
appendLocalGenericName
public void appendLocalGenericName(Type context,
Appendable builder,
boolean asArgType)
throws IOException
- Throws:
IOException
appendLocalRawName
public void appendLocalRawName(Type context,
Appendable builder)
throws IOException
- Throws:
IOException
getPackageName
public String getPackageName()
- Returns:
getParameter
public Type getParameter(int i)
- Returns:
getParameterCount
public int getParameterCount()
- Returns:
getPrimitiveName
public String getPrimitiveName()
- Returns:
getSelfOrValueType
public Type getSelfOrValueType()
- Returns:
getSimpleName
public String getSimpleName()
- Returns:
hasEntityFields
public boolean hasEntityFields()
- Returns:
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
isFinal
public boolean isFinal()
- Returns:
isPrimitive
public boolean isPrimitive()
- Returns:
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.