public enum UuidLocalDomain extends Enum<UuidLocalDomain>
List of local domains:
LOCAL_DOMAIN_PERSON: 0
LOCAL_DOMAIN_GROUP: 1
LOCAL_DOMAIN_ORG: 2
On POSIX systems, local-domain numbers 0 and 1 are for user identifiers (UIDs) and group identifiers (GIDs) respectively, and other local-domain numbers are site-defined.
On non-POSIX systems, all local domain numbers are site-defined.
| Enum Constant and Description |
|---|
LOCAL_DOMAIN_GROUP
The group domain, interpreted as POSIX GID domain on POSIX systems.
|
LOCAL_DOMAIN_ORG
The organization domain, site-defined.
|
LOCAL_DOMAIN_PERSON
The principal domain, interpreted as POSIX UID domain on POSIX systems.
|
| Modifier and Type | Method and Description |
|---|---|
static UuidLocalDomain |
getLocalDomain(byte value)
Get the enum value.
|
byte |
getValue()
Get the byte value.
|
static UuidLocalDomain |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UuidLocalDomain[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UuidLocalDomain LOCAL_DOMAIN_PERSON
public static final UuidLocalDomain LOCAL_DOMAIN_GROUP
public static final UuidLocalDomain LOCAL_DOMAIN_ORG
public static UuidLocalDomain[] values()
for (UuidLocalDomain c : UuidLocalDomain.values()) System.out.println(c);
public static UuidLocalDomain 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 byte getValue()
public static UuidLocalDomain getLocalDomain(byte value)
value - a byte.Copyright © 2024. All rights reserved.