public enum DeviceAccessPolicy extends Enum<DeviceAccessPolicy>
Enum Constant and Description |
---|
HIDDEN |
PARTIAL |
TOHIDE |
TOTAL |
VISIBLE |
Modifier and Type | Method and Description |
---|---|
static DeviceAccessPolicy |
fromString(String text) |
String |
toString() |
static DeviceAccessPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceAccessPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceAccessPolicy HIDDEN
public static final DeviceAccessPolicy TOHIDE
public static final DeviceAccessPolicy VISIBLE
public static final DeviceAccessPolicy PARTIAL
public static final DeviceAccessPolicy TOTAL
public static DeviceAccessPolicy[] values()
for (DeviceAccessPolicy c : DeviceAccessPolicy.values()) System.out.println(c);
public static DeviceAccessPolicy 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<DeviceAccessPolicy>
public static DeviceAccessPolicy fromString(String text)
Copyright © 2012-2013 ADELE Research Group. All Rights Reserved.