public static enum TemplateBasedRandomIdGenerator.RandCode extends Enum<TemplateBasedRandomIdGenerator.RandCode>
Enum Constant and Description |
---|
DATETIMEMS |
TRUNCUUID12 |
TRUNCUUID4 |
TRUNCUUID8 |
UUID |
Modifier and Type | Method and Description |
---|---|
static TemplateBasedRandomIdGenerator.RandCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemplateBasedRandomIdGenerator.RandCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateBasedRandomIdGenerator.RandCode DATETIMEMS
public static final TemplateBasedRandomIdGenerator.RandCode UUID
public static final TemplateBasedRandomIdGenerator.RandCode TRUNCUUID4
public static final TemplateBasedRandomIdGenerator.RandCode TRUNCUUID8
public static final TemplateBasedRandomIdGenerator.RandCode TRUNCUUID12
public static TemplateBasedRandomIdGenerator.RandCode[] values()
for (TemplateBasedRandomIdGenerator.RandCode c : TemplateBasedRandomIdGenerator.RandCode.values()) System.out.println(c);
public static TemplateBasedRandomIdGenerator.RandCode 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 nullCopyright © 2022 ART Group, University of Rome, Tor Vergata. All rights reserved.