Enum RateAdjustmentOption
- java.lang.Object
-
- java.lang.Enum<RateAdjustmentOption>
-
- com.infinitekind.moneydance.model.RateAdjustmentOption
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RateAdjustmentOption>
public enum RateAdjustmentOption extends java.lang.Enum<RateAdjustmentOption>
Identify the type of action that should be applied to transactions, especially reminders, to account for a different exchange rate or security price at some point in time.- Since:
- build 1258 (2015.6) Created by sreilly - 30/07/15 09:18
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADJUST_LOCAL_AMOUNT
ADJUST_NONE
ADJUST_OTHER_AMOUNT
-
Field Summary
Fields Modifier and Type Field Description static RateAdjustmentOption
DEFAULT_OPTION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RateAdjustmentOption
fromIDString(java.lang.String idString)
java.lang.String
getIDString()
static RateAdjustmentOption
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RateAdjustmentOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADJUST_NONE
public static final RateAdjustmentOption ADJUST_NONE
-
ADJUST_OTHER_AMOUNT
public static final RateAdjustmentOption ADJUST_OTHER_AMOUNT
-
ADJUST_LOCAL_AMOUNT
public static final RateAdjustmentOption ADJUST_LOCAL_AMOUNT
-
-
Field Detail
-
DEFAULT_OPTION
public static final RateAdjustmentOption DEFAULT_OPTION
-
-
Method Detail
-
values
public static RateAdjustmentOption[] 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 (RateAdjustmentOption c : RateAdjustmentOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RateAdjustmentOption 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
-
getIDString
public java.lang.String getIDString()
-
fromIDString
public static RateAdjustmentOption fromIDString(java.lang.String idString)
-
-