public enum PreferenceScopeXto extends Enum<PreferenceScopeXto>
Java class for PreferenceScope.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PreferenceScope">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="DEFAULT"/>
<enumeration value="PARTITION"/>
<enumeration value="REALM"/>
<enumeration value="USER"/>
</restriction>
</simpleType>
| Modifier and Type | Method and Description |
|---|---|
static PreferenceScopeXto |
fromValue(String v) |
String |
value() |
static PreferenceScopeXto |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreferenceScopeXto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreferenceScopeXto DEFAULT
public static final PreferenceScopeXto PARTITION
public static final PreferenceScopeXto REALM
public static final PreferenceScopeXto USER
public static PreferenceScopeXto[] values()
for (PreferenceScopeXto c : PreferenceScopeXto.values()) System.out.println(c);
public static PreferenceScopeXto 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 PreferenceScopeXto fromValue(String v)
Copyright © 2016 Eclipse Stardust. All Rights Reserved.