Enum Class FxTargetStyleEnum
- All Implemented Interfaces:
Serializable
,Comparable<FxTargetStyleEnum>
,Constable
Java class for FxTargetStyleEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="FxTargetStyleEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="Exact"/> <enumeration value="Exclusive"/> <enumeration value="Inclusive"/> </restriction> </simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe gain for the knockout period is adjusted to yield a final accumulated value equal to the target level.The gain for the knockout period is adjusted to zero i.e.The gain for the knockout period is equal to the whole benefit of the final fixing over spot i.e. -
Method Summary
Modifier and TypeMethodDescriptionstatic FxTargetStyleEnum
value()
static FxTargetStyleEnum
Returns the enum constant of this class with the specified name.static FxTargetStyleEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXACT
The gain for the knockout period is adjusted to yield a final accumulated value equal to the target level. -
EXCLUSIVE
The gain for the knockout period is adjusted to zero i.e. the target yields zero value in the final period. -
INCLUSIVE
The gain for the knockout period is equal to the whole benefit of the final fixing over spot i.e. the final accumulated value may exceed the target level.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
-
fromValue
-