public enum KnowledgeType extends java.lang.Enum<KnowledgeType>
KnowledgeRecord
Enum Constant and Description |
---|
ALL_FILE_TYPES |
ALL_PRIMITIVE_TYPES |
ALL_TYPES |
DOUBLE |
DOUBLE_ARRAY |
FLOAT |
IMAGE_JPEG |
INTEGER |
INTEGER_ARRAY |
STRING |
TEXT_FILE |
UNINITIALIZED |
UNKNOWN_FILE_TYPE |
XML |
Modifier and Type | Method and Description |
---|---|
static KnowledgeType |
getType(int val)
Converts an int to a
KnowledgeType |
int |
value() |
static KnowledgeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KnowledgeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KnowledgeType UNINITIALIZED
public static final KnowledgeType INTEGER
public static final KnowledgeType STRING
public static final KnowledgeType DOUBLE
public static final KnowledgeType FLOAT
public static final KnowledgeType UNKNOWN_FILE_TYPE
public static final KnowledgeType XML
public static final KnowledgeType TEXT_FILE
public static final KnowledgeType INTEGER_ARRAY
public static final KnowledgeType DOUBLE_ARRAY
public static final KnowledgeType IMAGE_JPEG
public static final KnowledgeType ALL_PRIMITIVE_TYPES
public static final KnowledgeType ALL_FILE_TYPES
public static final KnowledgeType ALL_TYPES
public static KnowledgeType[] values()
for (KnowledgeType c : KnowledgeType.values()) System.out.println(c);
public static KnowledgeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
KnowledgeType
public static KnowledgeType getType(int val)
KnowledgeType
val
- value to convertKnowledgeType
or null if the int is invalid