- java.lang.Object
-
- com.speedment.common.codegen.constant.SimpleType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SimpleTypecreate(File file, ClassOrInterface<?> clazz)Creates a newSimpleTypereferencing the specified class in the specified file.static SimpleTypecreate(String typeName)Creates a newSimpleTypewith the specified absolute class name.booleanequals(Object obj)StringgetTypeName()inthashCode()StringtoString()
-
-
-
Method Detail
-
create
public static SimpleType create(String typeName)
Creates a newSimpleTypewith the specified absolute class name.- Parameters:
typeName- the absolute type name- Returns:
- the created simple type
-
create
public static SimpleType create(File file, ClassOrInterface<?> clazz)
Creates a newSimpleTypereferencing the specified class in the specified file. These do not have to exist yet.- Parameters:
file- the file to referenceclazz- the class to reference- Returns:
- the new simple type
-
getTypeName
public String getTypeName()
- Specified by:
getTypeNamein interfaceType
-
-