Package com.hierynomus.msdtyp
Enum SID.SidType
- java.lang.Object
-
- java.lang.Enum<SID.SidType>
-
- com.hierynomus.msdtyp.SID.SidType
-
- All Implemented Interfaces:
EnumWithValue<SID.SidType>
,java.io.Serializable
,java.lang.Comparable<SID.SidType>
- Enclosing class:
- SID
public static enum SID.SidType extends java.lang.Enum<SID.SidType> implements EnumWithValue<SID.SidType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.hierynomus.protocol.commons.EnumWithValue
EnumWithValue.EnumUtils
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SID_TYPE_ALIAS
SID_TYPE_COMPUTER
SID_TYPE_DELETED
SID_TYPE_DOM_GRP
SID_TYPE_DOMAIN
SID_TYPE_INVALID
SID_TYPE_LABEL
SID_TYPE_NONE
SID_TYPE_UNKNOWN
SID_TYPE_USER
SID_TYPE_WKN_GRP
-
Constructor Summary
Constructors Modifier Constructor Description private
SidType(long value, java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
long
getValue()
static SID.SidType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SID.SidType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SID_TYPE_NONE
public static final SID.SidType SID_TYPE_NONE
-
SID_TYPE_USER
public static final SID.SidType SID_TYPE_USER
-
SID_TYPE_DOM_GRP
public static final SID.SidType SID_TYPE_DOM_GRP
-
SID_TYPE_DOMAIN
public static final SID.SidType SID_TYPE_DOMAIN
-
SID_TYPE_ALIAS
public static final SID.SidType SID_TYPE_ALIAS
-
SID_TYPE_WKN_GRP
public static final SID.SidType SID_TYPE_WKN_GRP
-
SID_TYPE_DELETED
public static final SID.SidType SID_TYPE_DELETED
-
SID_TYPE_INVALID
public static final SID.SidType SID_TYPE_INVALID
-
SID_TYPE_UNKNOWN
public static final SID.SidType SID_TYPE_UNKNOWN
-
SID_TYPE_COMPUTER
public static final SID.SidType SID_TYPE_COMPUTER
-
SID_TYPE_LABEL
public static final SID.SidType SID_TYPE_LABEL
-
-
Method Detail
-
values
public static SID.SidType[] 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 (SID.SidType c : SID.SidType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SID.SidType 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
-
getValue
public long getValue()
- Specified by:
getValue
in interfaceEnumWithValue<SID.SidType>
-
getName
public java.lang.String getName()
-
-