Enum Class CollateralValueAllocationEnum
java.lang.Object
java.lang.Enum<CollateralValueAllocationEnum>
net.finmath.smartcontract.product.xml.CollateralValueAllocationEnum
- All Implemented Interfaces:
Serializable
,Comparable<CollateralValueAllocationEnum>
,Constable
Java class for CollateralValueAllocationEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CollateralValueAllocationEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="Buffer"/> <enumeration value="Full"/> <enumeration value="ExcessOverMargin"/> <enumeration value="Margin"/> </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 amount that is being allocated from a buffer account.The allocated amount is an excess over the margin requirementThe full amount is being allocatedThe allocated amount for margin requirement -
Method Summary
Modifier and TypeMethodDescriptionvalue()
Returns the enum constant of this class with the specified name.static CollateralValueAllocationEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUFFER
The amount that is being allocated from a buffer account. A buffer account is meant to hold funds that the FCM can use to cover the liability of any client. In effect, the FCM has provided funds that are available to meet its customers’ needs and the DCO may use such collateral to meet a default by a customer to the same extent as if the customer provided the collateral. -
FULL
The full amount is being allocated -
EXCESS_OVER_MARGIN
The allocated amount is an excess over the margin requirement -
MARGIN
The allocated amount for margin requirement
-
-
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
-