public enum OntologyType extends Enum<OntologyType>
| Enum Constant and Description |
|---|
BOOLEAN |
DATE |
DOUBLE |
ENUM
Deprecated.
|
GEO_POINT
Deprecated.
|
KEYWORD |
LONG |
TEXT |
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
boolean |
isAnalyzed() |
void |
setAnalyzed(boolean analyzed) |
void |
setType(String type) |
static OntologyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OntologyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OntologyType TEXT
public static final OntologyType KEYWORD
public static final OntologyType DATE
public static final OntologyType LONG
public static final OntologyType DOUBLE
public static final OntologyType BOOLEAN
@Deprecated public static final OntologyType GEO_POINT
@Deprecated public static final OntologyType ENUM
public static OntologyType[] values()
for (OntologyType c : OntologyType.values()) System.out.println(c);
public static OntologyType 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 String getType()
public void setType(String type)
public boolean isAnalyzed()
public void setAnalyzed(boolean analyzed)
Copyright © 2021 Vitam. All rights reserved.