public enum TypeCategory extends Enum<TypeCategory>
Enum Constant and Description |
---|
ARRAY |
BOOLEAN |
COLLECTION |
COMPARABLE |
CUSTOM |
DATE |
DATETIME |
ENTITY |
ENUM |
LIST |
MAP |
NUMERIC |
SET |
SIMPLE |
STRING |
TIME |
Modifier and Type | Method and Description |
---|---|
static TypeCategory |
get(String className) |
TypeCategory |
getSuperType() |
boolean |
isSubCategoryOf(TypeCategory ancestor)
transitive and reflexive subCategoryOf check
|
boolean |
supports(Class<?> cl) |
boolean |
supports(String className) |
static TypeCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeCategory SIMPLE
public static final TypeCategory MAP
public static final TypeCategory COLLECTION
public static final TypeCategory LIST
public static final TypeCategory SET
public static final TypeCategory ARRAY
public static final TypeCategory COMPARABLE
public static final TypeCategory BOOLEAN
public static final TypeCategory DATE
public static final TypeCategory DATETIME
public static final TypeCategory ENUM
public static final TypeCategory CUSTOM
public static final TypeCategory ENTITY
public static final TypeCategory NUMERIC
public static final TypeCategory STRING
public static final TypeCategory TIME
public static TypeCategory[] values()
for (TypeCategory c : TypeCategory.values()) System.out.println(c);
public static TypeCategory valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic TypeCategory getSuperType()
public boolean supports(Class<?> cl)
public boolean supports(String className)
public boolean isSubCategoryOf(TypeCategory ancestor)
ancestor
- public static TypeCategory get(String className)
Copyright © 2010–2022. All rights reserved.