- java.lang.Object
-
- java.lang.Enum<CreateAccountResult>
-
- com.tigerbeetle.CreateAccountResult
-
- All Implemented Interfaces:
Serializable
,Comparable<CreateAccountResult>
public enum CreateAccountResult extends Enum<CreateAccountResult>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CreateAccountResult
fromValue(int value)
static CreateAccountResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateAccountResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Ok
public static final CreateAccountResult Ok
- See Also:
- ok
-
LinkedEventFailed
public static final CreateAccountResult LinkedEventFailed
- See Also:
- linked_event_failed
-
LinkedEventChainOpen
public static final CreateAccountResult LinkedEventChainOpen
- See Also:
- linked_event_chain_open
-
TimestampMustBeZero
public static final CreateAccountResult TimestampMustBeZero
- See Also:
- timestamp_must_be_zero
-
ReservedFlag
public static final CreateAccountResult ReservedFlag
- See Also:
- reserved_flag
-
ReservedField
public static final CreateAccountResult ReservedField
- See Also:
- reserved_field
-
IdMustNotBeZero
public static final CreateAccountResult IdMustNotBeZero
- See Also:
- id_must_not_be_zero
-
IdMustNotBeIntMax
public static final CreateAccountResult IdMustNotBeIntMax
- See Also:
- id_must_not_be_int_max
-
LedgerMustNotBeZero
public static final CreateAccountResult LedgerMustNotBeZero
- See Also:
- ledger_must_not_be_zero
-
CodeMustNotBeZero
public static final CreateAccountResult CodeMustNotBeZero
- See Also:
- code_must_not_be_zero
-
DebitsPendingMustBeZero
public static final CreateAccountResult DebitsPendingMustBeZero
- See Also:
- debits_pending_must_be_zero
-
DebitsPostedMustBeZero
public static final CreateAccountResult DebitsPostedMustBeZero
- See Also:
- debits_posted_must_be_zero
-
CreditsPendingMustBeZero
public static final CreateAccountResult CreditsPendingMustBeZero
- See Also:
- credits_pending_must_be_zero
-
CreditsPostedMustBeZero
public static final CreateAccountResult CreditsPostedMustBeZero
- See Also:
- credits_posted_must_be_zero
-
MutuallyExclusiveFlags
public static final CreateAccountResult MutuallyExclusiveFlags
- See Also:
- mutually_exclusive_flags
-
ExistsWithDifferentFlags
public static final CreateAccountResult ExistsWithDifferentFlags
- See Also:
- exists_with_different_flags
-
ExistsWithDifferentUserData
public static final CreateAccountResult ExistsWithDifferentUserData
- See Also:
- exists_with_different_user_data
-
ExistsWithDifferentLedger
public static final CreateAccountResult ExistsWithDifferentLedger
- See Also:
- exists_with_different_ledger
-
ExistsWithDifferentCode
public static final CreateAccountResult ExistsWithDifferentCode
- See Also:
- exists_with_different_code
-
Exists
public static final CreateAccountResult Exists
- See Also:
- exists
-
-
Method Detail
-
values
public static CreateAccountResult[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CreateAccountResult c : CreateAccountResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateAccountResult valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromValue
public static CreateAccountResult fromValue(int value)
-
-