net.karneim.pojobuilder.model
Class TypeM

java.lang.Object
  extended by net.karneim.pojobuilder.model.TypeM

public class TypeM
extends Object


Field Summary
static TypeM BOOLEAN_TYPE
           
static TypeM BYTE_TYPE
           
static TypeM CHAR_TYPE
           
static TypeM DOUBLE_TYPE
           
static TypeM FLOAT_TYPE
           
static TypeM INT_TYPE
           
static TypeM LONG_TYPE
           
static TypeM OBJECT
           
static TypeM SHORT_TYPE
           
static TypeM VOID_TYPE
           
 
Constructor Summary
TypeM(String aQualifiedName)
           
 
Method Summary
 void addToImportTypes(Set<String> result)
           
 boolean equals(Object obj)
           
static TypeM get(String typename)
           
 String getDefaultValue()
           
 String getGenericTypeSimpleName()
           
 String getGenericTypeSimpleNameWithBounds()
           
 String getPackage()
           
 String getQualifiedName()
           
 String getSimpleName()
           
 List<TypeParameterM> getTypeParameters()
           
 int hashCode()
           
 boolean isGeneric()
           
 boolean isObject()
           
 boolean isPrimitive()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

BOOLEAN_TYPE

public static final TypeM BOOLEAN_TYPE

CHAR_TYPE

public static final TypeM CHAR_TYPE

BYTE_TYPE

public static final TypeM BYTE_TYPE

SHORT_TYPE

public static final TypeM SHORT_TYPE

INT_TYPE

public static final TypeM INT_TYPE

LONG_TYPE

public static final TypeM LONG_TYPE

FLOAT_TYPE

public static final TypeM FLOAT_TYPE

DOUBLE_TYPE

public static final TypeM DOUBLE_TYPE

VOID_TYPE

public static final TypeM VOID_TYPE

OBJECT

public static TypeM OBJECT
Constructor Detail

TypeM

public TypeM(String aQualifiedName)
Method Detail

getTypeParameters

public List<TypeParameterM> getTypeParameters()

getQualifiedName

public String getQualifiedName()

getSimpleName

public String getSimpleName()

getGenericTypeSimpleName

public String getGenericTypeSimpleName()

getGenericTypeSimpleNameWithBounds

public String getGenericTypeSimpleNameWithBounds()

isGeneric

public boolean isGeneric()

getPackage

public String getPackage()

isPrimitive

public boolean isPrimitive()

isObject

public boolean isObject()

addToImportTypes

public void addToImportTypes(Set<String> result)

getDefaultValue

public String getDefaultValue()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

get

public static TypeM get(String typename)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.