com.mysema.query.codegen
Class ClassTypeModel
java.lang.Object
com.mysema.query.codegen.AbstractTypeModel
com.mysema.query.codegen.ClassTypeModel
- All Implemented Interfaces:
- TypeModel
@Immutable
public class ClassTypeModel
- extends AbstractTypeModel
ClassTypeModel is a minimal implementation of the TypeModel interface
- Author:
- tiwe
ClassTypeModel
public ClassTypeModel(TypeCategory typeCategory,
Class<?> clazz)
ClassTypeModel
public ClassTypeModel(TypeCategory typeCategory,
Class<?> clazz,
@Nullable
Class<?> primitiveClass)
as
public TypeModel 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:
getLocalGenericName
public <T extends Appendable> T getLocalGenericName(TypeModel context,
T builder,
boolean asArgType)
throws IOException
- Returns:
-
- Throws:
IOException
getLocalRawName
public <T extends Appendable> T getLocalRawName(TypeModel context,
T builder)
throws IOException
- Returns:
-
- Throws:
IOException
getPackageName
public String getPackageName()
- Returns:
getParameter
public TypeModel getParameter(int i)
- Returns:
getParameterCount
public int getParameterCount()
- Returns:
getPrimitiveName
public String getPrimitiveName()
- Returns:
getSelfOrValueType
public TypeModel 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.