public class AttributeHelper
extends java.lang.Object
Constructor and Description |
---|
AttributeHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
convert(java.lang.String type,
java.lang.String str) |
static java.lang.String |
convertToString(java.lang.Object value) |
static java.lang.String |
convertTypeToReadableName(java.lang.String type) |
static java.lang.Class |
getArrayType(java.lang.String type) |
static boolean |
isArray(java.lang.String type) |
static boolean |
isArrayOrCollection(java.lang.String type) |
static boolean |
isBoolean(java.lang.String type) |
static boolean |
isCollection(java.lang.String type) |
static boolean |
isDate(java.lang.String type) |
static boolean |
isList(java.lang.String type) |
static boolean |
isObjectArray(java.lang.String type) |
static boolean |
isObjectArrayOrCollection(java.lang.String type) |
static boolean |
isPrimitiveTypeOrString(java.lang.String type) |
static boolean |
isSet(java.lang.String type) |
static boolean |
isSimpleArray(java.lang.String type) |
public static java.lang.Object convert(java.lang.String type, java.lang.String str)
public static boolean isBoolean(java.lang.String type)
public static boolean isArrayOrCollection(java.lang.String type)
public static boolean isCollection(java.lang.String type)
public static boolean isArray(java.lang.String type)
public static boolean isObjectArrayOrCollection(java.lang.String type)
public static boolean isObjectArray(java.lang.String type)
public static boolean isSimpleArray(java.lang.String type)
public static boolean isPrimitiveTypeOrString(java.lang.String type)
public static boolean isList(java.lang.String type)
public static boolean isSet(java.lang.String type)
public static java.lang.Class getArrayType(java.lang.String type)
public static java.lang.String convertTypeToReadableName(java.lang.String type)
public static boolean isDate(java.lang.String type)
public static java.lang.String convertToString(java.lang.Object value)