public enum ViewPerspective extends Enum<ViewPerspective>
Java class for ViewPerspective.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ViewPerspective"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Global"/> <enumeration value="Region"/> <enumeration value="EU"/> <enumeration value="Country"/> <enumeration value="Person"/> <enumeration value="Party"/> </restriction> </simpleType>
Enum Constant and Description |
---|
COUNTRY |
EU |
GLOBAL |
PARTY |
PERSON |
REGION |
Modifier and Type | Method and Description |
---|---|
static ViewPerspective |
fromValue(String v) |
String |
value() |
static ViewPerspective |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViewPerspective[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewPerspective GLOBAL
public static final ViewPerspective REGION
public static final ViewPerspective EU
public static final ViewPerspective COUNTRY
public static final ViewPerspective PERSON
public static final ViewPerspective PARTY
public static ViewPerspective[] values()
for (ViewPerspective c : ViewPerspective.values()) System.out.println(c);
public static ViewPerspective 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 value()
public static ViewPerspective fromValue(String v)
Copyright © 2010–2017 www.hack23.com. All rights reserved.