public enum PerspectiveType extends Enum<PerspectiveType>
| Enum Constant and Description |
|---|
Computation |
User |
| Modifier and Type | Method and Description |
|---|---|
static List<PerspectiveType> |
asList() |
static PerspectiveType |
getFromLabel(String label) |
static PerspectiveType |
getFromPerspective(String perspective) |
String |
getId() |
String |
getLabel() |
String |
getPerspective() |
String |
toString() |
static PerspectiveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PerspectiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PerspectiveType User
public static final PerspectiveType Computation
public static PerspectiveType[] values()
for (PerspectiveType c : PerspectiveType.values()) System.out.println(c);
public static PerspectiveType 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 toString()
toString in class Enum<PerspectiveType>public String getLabel()
public String getPerspective()
public String getId()
public static PerspectiveType getFromLabel(String label)
public static PerspectiveType getFromPerspective(String perspective)
public static List<PerspectiveType> asList()
Copyright © 2021. All Rights Reserved.