Package com.casper.sdk.model.key
Enum BidAddr
- java.lang.Object
-
- java.lang.Enum<BidAddr>
-
- com.casper.sdk.model.key.BidAddr
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREDITDELEGATOR_ACCOUNTDELEGATOR_PURSERESERVED_DELEGATION_ACCOUNTRESERVED_DELEGATION_PURSEUNBOND_ACCOUNTUNBOND_PURSEUNIFIEDVALIDATOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BidAddrgetByTag(byte tag)bytegetByteTag()static BidAddrvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BidAddr[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNIFIED
public static final BidAddr UNIFIED
-
VALIDATOR
public static final BidAddr VALIDATOR
-
DELEGATOR_ACCOUNT
public static final BidAddr DELEGATOR_ACCOUNT
-
DELEGATOR_PURSE
public static final BidAddr DELEGATOR_PURSE
-
CREDIT
public static final BidAddr CREDIT
-
RESERVED_DELEGATION_ACCOUNT
public static final BidAddr RESERVED_DELEGATION_ACCOUNT
-
RESERVED_DELEGATION_PURSE
public static final BidAddr RESERVED_DELEGATION_PURSE
-
UNBOND_ACCOUNT
public static final BidAddr UNBOND_ACCOUNT
-
UNBOND_PURSE
public static final BidAddr UNBOND_PURSE
-
-
Method Detail
-
values
public static BidAddr[] 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 (BidAddr c : BidAddr.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BidAddr valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getByTag
public static BidAddr getByTag(byte tag) throws NoSuchKeyTagException
- Throws:
NoSuchKeyTagException
-
getByteTag
public byte getByteTag()
-
-