public class AttributeType extends Enum
| Modifier and Type | Field and Description |
|---|---|
static AttributeType |
categorical
Enumeration constant corresponding to literal categorical.
|
static AttributeType |
notSpecified
Enumeration constant corresponding to literal not specyified.
|
static AttributeType |
numerical
Enumeration constant corresponding to literal numerical.
|
static AttributeType |
ordinal
Enumeration constant corresponding to literal ordinal.
|
static AttributeType |
vector |
| Modifier and Type | Method and Description |
|---|---|
static AttributeType |
getInstance(int id)
Returns an instance of AttributeType corresponding to the specified ID.
|
static AttributeType |
getInstance(java.lang.String name)
Returns an instance of AttributeType corresponding to the specified
name.
|
static AttributeType |
getType(AttributeDataType dataType) |
static AttributeType[] |
list()
Returns a list of all AttributeType enumerations defined.
|
static java.lang.String[] |
listNames()
Returns the names of all AttributeType enumerations defined.
|
public static final AttributeType categorical
public static final AttributeType notSpecified
public static final AttributeType numerical
public static final AttributeType ordinal
public static final AttributeType vector
public static AttributeType getInstance(int id)
id - - The identifier of the enumeration valuepublic static AttributeType getInstance(java.lang.String name)
name - - The name of the enumeration valuepublic static AttributeType[] list()
public static java.lang.String[] listNames()
public static AttributeType getType(AttributeDataType dataType)