public enum AttributeType extends Enum<AttributeType>
| Enum Constant and Description |
|---|
BOOLEAN |
CODE |
COORDINATE |
DATE |
FILE |
NUMBER |
RANGE |
TAXON |
TEXT |
TIME |
| Modifier and Type | Method and Description |
|---|---|
static AttributeType |
fromLabel(String label) |
String |
getLabel() |
static AttributeType |
valueOf(AttributeDefinition defn) |
static AttributeType |
valueOf(Class<? extends AttributeDefinition> type) |
static AttributeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeType BOOLEAN
public static final AttributeType CODE
public static final AttributeType COORDINATE
public static final AttributeType DATE
public static final AttributeType FILE
public static final AttributeType NUMBER
public static final AttributeType RANGE
public static final AttributeType TAXON
public static final AttributeType TEXT
public static final AttributeType TIME
public static AttributeType[] values()
for (AttributeType c : AttributeType.values()) System.out.println(c);
public static AttributeType 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 static AttributeType valueOf(AttributeDefinition defn)
public static AttributeType valueOf(Class<? extends AttributeDefinition> type)
public static AttributeType fromLabel(String label)
public String getLabel()
Copyright © 2021 Open Foris. All rights reserved.