public enum VisitsView extends Enum<VisitsView>
| Modifier and Type | Field and Description |
|---|---|
static VisitsView |
DEFAULT
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Getter for key.
|
static VisitsView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VisitsView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VisitsView DAYS
public static final VisitsView MONTHS
public static final VisitsView DEFAULT
public static VisitsView[] values()
for (VisitsView c : VisitsView.values()) System.out.println(c);
public static VisitsView 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 getKey()
Copyright © 2020 OSIVIA. All rights reserved.