Serializable, Comparable<BigchainDbApi>public enum BigchainDbApi extends Enum<BigchainDbApi>
| Enum Constant | Description |
|---|---|
API_VERSION |
The api version.
|
ASSETS |
The assets.
|
BLOCKS |
The blocks.
|
METADATA |
The metadata.
|
OUTPUTS |
The outputs.
|
STREAMS |
The streams.
|
TRANSACTIONS |
The transactions.
|
VALIDATORS |
The validators.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
toString() |
|
static BigchainDbApi |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static BigchainDbApi[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BigchainDbApi API_VERSION
public static final BigchainDbApi STREAMS
public static final BigchainDbApi ASSETS
public static final BigchainDbApi METADATA
public static final BigchainDbApi OUTPUTS
public static final BigchainDbApi BLOCKS
public static final BigchainDbApi VALIDATORS
public static final BigchainDbApi TRANSACTIONS
public static BigchainDbApi[] values()
for (BigchainDbApi c : BigchainDbApi.values()) System.out.println(c);
public static BigchainDbApi 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 String toString()
toString in class Enum<BigchainDbApi>Copyright © 2018. All rights reserved.