Freigeben über


LedgerRoleName Class

public final class LedgerRoleName
extends ExpandableStringEnum<LedgerRoleName>

LedgerRole associated with the Security Principal of Ledger.

Field Summary

Modifier and Type Field and Description
static final LedgerRoleName ADMINISTRATOR

Static value Administrator for LedgerRoleName.

static final LedgerRoleName CONTRIBUTOR

Static value Contributor for LedgerRoleName.

static final LedgerRoleName READER

Static value Reader for LedgerRoleName.

Constructor Summary

Constructor Description
LedgerRoleName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LedgerRoleName value.

Method Summary

Modifier and Type Method and Description
static LedgerRoleName fromString(String name)

Creates or finds a LedgerRoleName from its string representation.

static Collection<LedgerRoleName> values()

Gets known LedgerRoleName values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ADMINISTRATOR

public static final LedgerRoleName ADMINISTRATOR

Static value Administrator for LedgerRoleName.

CONTRIBUTOR

public static final LedgerRoleName CONTRIBUTOR

Static value Contributor for LedgerRoleName.

READER

public static final LedgerRoleName READER

Static value Reader for LedgerRoleName.

Constructor Details

LedgerRoleName

@Deprecated
public LedgerRoleName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LedgerRoleName value.

Method Details

fromString

public static LedgerRoleName fromString(String name)

Creates or finds a LedgerRoleName from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LedgerRoleName.

values

public static Collection values()

Gets known LedgerRoleName values.

Returns:

known LedgerRoleName values.

Applies to