|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AUIDGeneration>
tv.amwa.maj.embeddable.AUIDGeneration
public enum AUIDGeneration
Enumeration representing the different generation methods for AUIDs. These versions are the ones specified in rfc 4122 that are supported by the MAJ API.
AUID.auidFactory(AUIDGeneration, byte[])
,
UUID
Enum Constant Summary | |
---|---|
IETF_Type1
A time-based method for UUID generation consistent with section 4.2 of rfc 4122. |
|
IETF_Type3
A name-based method for UUID generation consistent with section 4.3 of rfc 4122. |
|
IETF_Type4
An UUID generated from truly random or pseudo-random numbers consistent with section 4.4 of rfc 4122. |
|
Namebased
A name-based method for UUID generation consistent with section 4.3 of rfc 4122. |
|
Random
An UUID generated from truly random or pseudo-random numbers consistent with section 4.4 of rfc 4122. |
|
Timebased
A time-based method for UUID generation consistent with section 4.2 of rfc 4122. |
Method Summary | |
---|---|
static AUIDGeneration |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AUIDGeneration[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AUIDGeneration IETF_Type1
A time-based method for UUID generation consistent with section 4.2 of rfc 4122.
The resulting UUID consists of the current date and time, as well as an identifier for the host
generating the identifier. Same as Timebased
.
AUID.timebasedAUID()
,
AUID.timebasedAUID(byte[])
public static final AUIDGeneration Timebased
A time-based method for UUID generation consistent with section 4.2 of rfc 4122.
The resulting UUID consists of the current date and time, as well as an identifier for the host
generating the identifier. Same as IETF_Type1
.
AUID.timebasedAUID()
,
AUID.timebasedAUID(byte[])
public static final AUIDGeneration IETF_Type3
A name-based method for UUID generation consistent with section 4.3 of rfc 4122.
Same as Namebased
.
AUID.namebasedAUID(byte[])
public static final AUIDGeneration Namebased
A name-based method for UUID generation consistent with section 4.3 of rfc 4122.
Same as IETF_Type3
.
AUID.namebasedAUID(byte[])
public static final AUIDGeneration IETF_Type4
An UUID generated from truly random or pseudo-random numbers consistent with section 4.4
of rfc 4122. Same as Random
.
AUID.randomAUID()
public static final AUIDGeneration Random
An UUID generated from truly random or pseudo-random numbers consistent with section 4.4
of rfc 4122. Same as IETF_Type4
.
AUID.randomAUID()
Method Detail |
---|
public static final AUIDGeneration[] values()
for(AUIDGeneration c : AUIDGeneration.values()) System.out.println(c);
public static AUIDGeneration valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |