public enum DataCollectionType extends Enum<DataCollectionType>
| Modifier and Type | Method and Description |
|---|---|
static DataCollectionType |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static DataCollectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataCollectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataCollectionType ONSITE
public static final DataCollectionType OFFSITE
public static DataCollectionType[] values()
for (DataCollectionType c : DataCollectionType.values()) System.out.println(c);
public static DataCollectionType 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<DataCollectionType>public static DataCollectionType fromValue(String text)
Copyright © 2022. All rights reserved.