com.mysema.query.codegen
Class TypeAdapter
java.lang.Object
com.mysema.query.codegen.TypeAdapter
- All Implemented Interfaces:
- Type
- Direct Known Subclasses:
- EntityType, TypeExtends, TypeSuper
public class TypeAdapter
- extends Object
- implements Type
TypeAdapter is a basic adapter implementation for the Type interface
- Author:
- tiwe
TypeAdapter
public TypeAdapter(Type type)
appendLocalGenericName
public void appendLocalGenericName(Type context,
Appendable builder,
boolean asArgType)
throws IOException
- Specified by:
appendLocalGenericName in interface Type
- Throws:
IOException
appendLocalRawName
public void appendLocalRawName(Type context,
Appendable builder)
throws IOException
- Specified by:
appendLocalRawName in interface Type
- Throws:
IOException
as
public Type as(TypeCategory category)
- Specified by:
as in interface Type
asArrayType
public Type asArrayType()
- Specified by:
asArrayType in interface Type
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
getCategory
public TypeCategory getCategory()
- Specified by:
getCategory in interface Type
getFullName
public String getFullName()
- Specified by:
getFullName in interface Type
getLocalGenericName
public String getLocalGenericName(Type context,
boolean asArgType)
- Specified by:
getLocalGenericName in interface Type
getLocalRawName
public String getLocalRawName(Type context)
- Specified by:
getLocalRawName in interface Type
getPackageName
public String getPackageName()
- Specified by:
getPackageName in interface Type
getParameter
public Type getParameter(int i)
- Specified by:
getParameter in interface Type
getParameterCount
public int getParameterCount()
- Specified by:
getParameterCount in interface Type
getPrimitiveName
public String getPrimitiveName()
- Specified by:
getPrimitiveName in interface Type
getSelfOrValueType
public Type getSelfOrValueType()
- Specified by:
getSelfOrValueType in interface Type
getSimpleName
public String getSimpleName()
- Specified by:
getSimpleName in interface Type
getType
protected Type getType()
hasEntityFields
public boolean hasEntityFields()
- Specified by:
hasEntityFields in interface Type
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
isFinal
public boolean isFinal()
- Specified by:
isFinal in interface Type
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitive in interface Type
toString
public String toString()
- Specified by:
toString in interface Type- Overrides:
toString in class Object
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.