Enum TradeBankModel.TradeTypeEnum
- java.lang.Object
-
- java.lang.Enum<TradeBankModel.TradeTypeEnum>
-
- app.cybrid.cybrid_api_bank.client.model.TradeBankModel.TradeTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<TradeBankModel.TradeTypeEnum>
- Enclosing class:
- TradeBankModel
public static enum TradeBankModel.TradeTypeEnum extends Enum<TradeBankModel.TradeTypeEnum>
The type of trade.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LIQUIDATIONPLATFORM
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TradeBankModel.TradeTypeEnumfromValue(String value)StringgetValue()StringtoString()static TradeBankModel.TradeTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static TradeBankModel.TradeTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLATFORM
public static final TradeBankModel.TradeTypeEnum PLATFORM
-
LIQUIDATION
public static final TradeBankModel.TradeTypeEnum LIQUIDATION
-
-
Method Detail
-
values
public static TradeBankModel.TradeTypeEnum[] 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 (TradeBankModel.TradeTypeEnum c : TradeBankModel.TradeTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TradeBankModel.TradeTypeEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<TradeBankModel.TradeTypeEnum>
-
fromValue
public static TradeBankModel.TradeTypeEnum fromValue(String value)
-
-