|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hyper9.simdk.codegen.TypeUtils
public class TypeUtils
| Constructor Summary | |
|---|---|
TypeUtils()
|
|
| Method Summary | |
|---|---|
static String |
getComponentType(String typeSimpleName)
Gets the component type of a List type. |
static boolean |
isList(String typeSimpleName)
Gets a flag indicating whether the given simple type name is a List. |
static boolean |
isPrimtiveDataType(String typeSimpleName)
Gets a flag indicating whether or no the given simple type name is one of the Java Framework's primitive types. |
static boolean |
isSimpleDataType(String typeSimpleName)
Gets a flag indicating whether or not the given simple type name is one of the Java Framework's simple data types. |
static boolean |
isTemporalType(String typeSimpleName)
|
static String |
toSimpleDataType(String primitiveTypeSimpleName)
Takes a primitive type simple name and returns the simple type name of its simple data type equivalent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeUtils()
| Method Detail |
|---|
public static String getComponentType(String typeSimpleName)
typeSimpleName - A simple type name that is a List. If a List is not
provided the value of typeSimpleName will be returned as is.
public static boolean isList(String typeSimpleName)
outTypeSimpleName - A simple type name.
public static boolean isSimpleDataType(String typeSimpleName)
typeSimpleName - A simple type name.
public static boolean isPrimtiveDataType(String typeSimpleName)
typeSimpleName - A simple type name.
public static boolean isTemporalType(String typeSimpleName)
public static String toSimpleDataType(String primitiveTypeSimpleName)
primitiveTypeSimpleName - A simple type name of a Java primitive.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||