public enum KnownRole extends Enum<KnownRole> implements Role
| Enum Constant and Description |
|---|
AGGREGATOR |
DISTRIBUTOR |
LICENSOR |
SOFTWARE_CREATOR |
TAG_CREATOR |
byIndexMap, byValueMap| Modifier and Type | Method and Description |
|---|---|
Integer |
getIndex()
Get the integer index value for the role.
|
String |
getName()
Get the human-readable text value for the role.
|
static KnownRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KnownRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfassignPrivateRole, init, lookupByIndex, lookupByNamepublic static final KnownRole TAG_CREATOR
public static final KnownRole SOFTWARE_CREATOR
public static final KnownRole AGGREGATOR
public static final KnownRole DISTRIBUTOR
public static final KnownRole LICENSOR
public static KnownRole[] values()
for (KnownRole c : KnownRole.values()) System.out.println(c);
public static KnownRole 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 Integer getIndex()
Copyright © 2020 National Institute of Standards and Technology. All rights reserved.