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>,java.lang.constant.Constable
- 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 class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Nested classes/interfaces inherited from interface com.hierynomus.protocol.commons.EnumWithValue
EnumWithValue.EnumUtils
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SID_TYPE_ALIASSID_TYPE_COMPUTERSID_TYPE_DELETEDSID_TYPE_DOM_GRPSID_TYPE_DOMAINSID_TYPE_INVALIDSID_TYPE_LABELSID_TYPE_NONESID_TYPE_UNKNOWNSID_TYPE_USERSID_TYPE_WKN_GRP
-
Method Summary
Modifier and Type Method Description java.lang.StringgetName()longgetValue()static SID.SidTypevalueOf(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.- 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:
getValuein interfaceEnumWithValue<SID.SidType>
-
getName
public java.lang.String getName()
-
-