com.mysema.query.codegen
Class SimpleType
java.lang.Object
com.mysema.query.codegen.AbstractType
com.mysema.query.codegen.SimpleType
- All Implemented Interfaces:
- Type
@Immutable
public final class SimpleType
- extends AbstractType
SimpleType represents a java type
- Author:
- tiwe
SimpleType
public SimpleType(TypeCategory typeCategory,
String name,
String packageName,
String simpleName,
boolean finalClass,
Type... parameters)
as
public SimpleType as(TypeCategory category)
- Returns:
asArrayType
public Type asArrayType()
- 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:
toString
public String toString()
- Specified by:
toString
in interface Type
- Overrides:
toString
in class Object
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.