public enum AttributeType extends Enum<AttributeType>
| Enum Constant and Description |
|---|
APPOINTMENTDATE |
APPOINTMENTTIME |
BIRTHDAY |
DATE |
FULLNAME |
LIST |
NUMBER |
TEXT |
| Modifier and Type | Method and Description |
|---|---|
static AttributeType |
fromValue(String value) |
String |
getValue() |
String |
toString() |
String |
toUrlQueryString(String prefix)
Convert the instance into URL query string.
|
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 LIST
public static final AttributeType TEXT
public static final AttributeType FULLNAME
public static final AttributeType NUMBER
public static final AttributeType DATE
public static final AttributeType BIRTHDAY
public static final AttributeType APPOINTMENTDATE
public static final AttributeType APPOINTMENTTIME
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 String getValue()
public String toString()
toString in class Enum<AttributeType>public static AttributeType fromValue(String value)
Copyright © 2024. All rights reserved.