Package com.isode.som
Enum SomSession.SomRights
- java.lang.Object
-
- java.lang.Enum<SomSession.SomRights>
-
- com.isode.som.SomSession.SomRights
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SomSession.SomRights>
- Enclosing class:
- SomSession
public static enum SomSession.SomRights extends java.lang.Enum<SomSession.SomRights>
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
description
java.lang.String
name
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SomSession.SomRights
fromString(java.lang.String s)
static SomSession.SomRights
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SomSession.SomRights[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SomSession.SomRights NONE
-
QREAD
public static final SomSession.SomRights QREAD
-
QCTL
public static final SomSession.SomRights QCTL
-
QSTOP
public static final SomSession.SomRights QSTOP
-
QMSGCTL
public static final SomSession.SomRights QMSGCTL
-
QMSGVIEW
public static final SomSession.SomRights QMSGVIEW
-
QSUBMIT
public static final SomSession.SomRights QSUBMIT
-
QLOGVIEW
public static final SomSession.SomRights QLOGVIEW
-
QCKADR
public static final SomSession.SomRights QCKADR
-
ICRYPTOREAD
public static final SomSession.SomRights ICRYPTOREAD
-
ICRYPTOWRITE
public static final SomSession.SomRights ICRYPTOWRITE
-
LIMITED
public static final SomSession.SomRights LIMITED
-
FULL
public static final SomSession.SomRights FULL
-
-
Method Detail
-
values
public static SomSession.SomRights[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SomSession.SomRights c : SomSession.SomRights.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SomSession.SomRights valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromString
public static SomSession.SomRights fromString(java.lang.String s)
-
-