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)
asArrayType
public Type asArrayType()
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()
toString
public String toString()
- Specified by:
toString
in interface Type
- Overrides:
toString
in class Object
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.