public enum HoldingType extends java.lang.Enum<HoldingType>
| Modifier and Type | Method and Description | 
|---|---|
| static HoldingType | get(byte code) | 
| abstract long | getBalance(Account account,
          long holdingId) | 
| byte | getCode() | 
| abstract long | getUnconfirmedBalance(Account account,
                     long holdingId) | 
| static HoldingType | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static HoldingType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final HoldingType NXT
public static final HoldingType ASSET
public static final HoldingType CURRENCY
public static HoldingType[] values()
for (HoldingType c : HoldingType.values()) System.out.println(c);
public static HoldingType 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 static HoldingType get(byte code)
public byte getCode()
public abstract long getBalance(Account account, long holdingId)
public abstract long getUnconfirmedBalance(Account account, long holdingId)