public enum PropertyCategory extends Enum<PropertyCategory> implements Serializable
| Enum Constant and Description |
|---|
ARRAY |
ENUM |
MAP |
PRIMITIVE |
STRUCT |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description for the type for this enum instance.
|
String |
getName()
Return the default name for this enum instance.
|
int |
getOrdinal()
Return the code for this enum instance
|
String |
toString()
toString() JSON-style
|
static PropertyCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyCategory UNKNOWN
public static final PropertyCategory PRIMITIVE
public static final PropertyCategory ENUM
public static final PropertyCategory STRUCT
public static final PropertyCategory MAP
public static final PropertyCategory ARRAY
public static PropertyCategory[] values()
for (PropertyCategory c : PropertyCategory.values()) System.out.println(c);
public static PropertyCategory 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 int getOrdinal()
public String getName()
public String getDescription()
public String toString()
toString in class Enum<PropertyCategory>Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.