Package net.karneim.pojobuilder.model
Class PrimitiveTypeM
- java.lang.Object
-
- net.karneim.pojobuilder.model.TypeM
-
- net.karneim.pojobuilder.model.PrimitiveTypeM
-
public class PrimitiveTypeM extends TypeM
-
-
Constructor Summary
Constructors Constructor Description PrimitiveTypeM(java.lang.Class<?> type, java.lang.Class<?> boxType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeMgetBoxType()java.lang.Class<?>getType()booleanisPrimitive()-
Methods inherited from class net.karneim.pojobuilder.model.TypeM
addToImportTypes, equals, getGenericType, getGenericTypeDefinition, getName, getPackageName, getSimpleName, getSimpleNames, getTypeParameters, hashCode, isArrayType, isGeneric, isInPackage, isTypeVariable, toString, withTypeParameter
-
-
-
-
Field Detail
-
VOID
public static final TypeM VOID
-
DOUBLE
public static final TypeM DOUBLE
-
FLOAT
public static final TypeM FLOAT
-
LONG
public static final TypeM LONG
-
INT
public static final TypeM INT
-
SHORT
public static final TypeM SHORT
-
BYTE
public static final TypeM BYTE
-
CHAR
public static final TypeM CHAR
-
BOOLEAN
public static final TypeM BOOLEAN
-
-
Method Detail
-
getType
public java.lang.Class<?> getType()
- Returns:
- the value of
type
-
isPrimitive
public boolean isPrimitive()
- Overrides:
isPrimitivein classTypeM
-
-