public class PrimitiveOrWrapperType extends TypeSchema
| Modifier and Type | Field and Description |
|---|---|
boolean |
isWrapper
represent if the type is wrapper
for instance, isWrapper for Integer is true and for int is false
|
depth| Constructor and Description |
|---|
PrimitiveOrWrapperType(String type,
String fullTypeName,
boolean isWrapper,
Class<?> clazz) |
PrimitiveOrWrapperType(String type,
String fullTypeName,
Class<?> clazz) |
| Modifier and Type | Method and Description |
|---|---|
PrimitiveOrWrapperType |
copy() |
boolean |
isFloatingPointNumber() |
boolean |
isIntegralNumber() |
boolean |
isNumber() |
static boolean |
isPrimitiveOrTypes(Class<?> clazz) |
static boolean |
isPrimitiveOrTypes(String type) |
getClazz, getDto, getFullTypeName, getFullTypeNameWithGenericType, getType, getTypeNameForInstance, sameType, setOriginalTypepublic final boolean isWrapper
public PrimitiveOrWrapperType(String type, String fullTypeName, boolean isWrapper, Class<?> clazz)
public static boolean isPrimitiveOrTypes(String type)
public static boolean isPrimitiveOrTypes(Class<?> clazz)
public PrimitiveOrWrapperType copy()
copy in class TypeSchemapublic boolean isNumber()
public boolean isFloatingPointNumber()
public boolean isIntegralNumber()
Copyright © 2016–2023. All rights reserved.