IPersistentEnumpublic enum CertType extends java.lang.Enum<CertType> implements IPersistentEnum
| Enum Constant | Description |
|---|---|
ANY |
|
Intermediate |
|
Master |
|
NewAccount |
|
Node |
|
Server |
|
UserAttribute |
|
UserEncryption |
|
UserSigning |
| Modifier and Type | Method | Description |
|---|---|---|
static CertType |
newInstance(int id) |
Return the enum instance represented by the given integer value.
|
int |
toInt() |
|
static CertType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CertType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CertType ANY
public static final CertType Master
public static final CertType Intermediate
public static final CertType UserEncryption
public static final CertType NewAccount
public static final CertType UserSigning
public static final CertType UserAttribute
public static final CertType Server
public static final CertType Node
public static CertType[] values()
for (CertType c : CertType.values()) System.out.println(c);
public static CertType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int toInt()
toInt in interface IPersistentEnum@Nonnull public static CertType newInstance(int id) throws InvalidPersistentEnumException
id - An integer value which could have been returned from toInt();InvalidPersistentEnumException - If the given value is invalid.Copyright © 2018 Symphony Software Foundation. All rights reserved.