public enum AttributeType extends Enum<AttributeType>
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
returns code
|
int |
getId()
returns id
|
static AttributeType |
valueOf(int nId)
returns KeyType enum for id
|
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 STRING
public static final AttributeType NUMERIC
public static final AttributeType FILE
public static final AttributeType DATE
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 int getId()
public String getCode()
public static AttributeType valueOf(int nId)
nId - id of KeyTypeCopyright © 2023 City of Paris. All rights reserved.