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 Class
based 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()
as
public Type as(TypeCategory category)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
getCategory
public TypeCategory getCategory()
getFullName
public String getFullName()
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()
getParameter
public Type getParameter(int i)
getParameterCount
public int getParameterCount()
getPrimitiveName
public String getPrimitiveName()
getSelfOrValueType
public Type getSelfOrValueType()
getSimpleName
public String getSimpleName()
hasEntityFields
public boolean hasEntityFields()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
isFinal
public boolean isFinal()
isPrimitive
public boolean isPrimitive()
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.