Package org.isda.cdm
Class ElectiveAmountElection
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.ElectiveAmountElection
-
@RosettaClass public class ElectiveAmountElection extends com.rosetta.model.lib.RosettaModelObject
A class to specify the party elective amounts which can be used for the purpose of specifying elections such as the ISDA CSA Threshold and Minimum Transfer Amount.- Version:
- 2.5.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ElectiveAmountElection.ElectiveAmountElectionBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ElectiveAmountElection.ElectiveAmountElectionBuilder
builder()
boolean
equals(java.lang.Object o)
Money
getAmount()
The elective amount when expressed as a currency amount.java.lang.String
getCustomElection()
The elective amount when expressed as a custom election by the party.java.lang.Integer
getNoAmount()
The elective amount when specified as 0 with no associated currency.java.lang.String
getParty()
The elective party.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends ElectiveAmountElection>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
ElectiveAmountElection.ElectiveAmountElectionBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getAmount
public final Money getAmount()
The elective amount when expressed as a currency amount. The associated PartyElectiveAmount_amount data rule enforces that the currency amount is actually greater than 0.
-
getCustomElection
@RosettaSynonym(value="partyA_specify",source="ISDA_Create_1_0") @RosettaSynonym(value="partyB_specify",source="ISDA_Create_1_0") @RosettaSynonym(value="partyA_threshold",source="ISDA_Create_1_0") @RosettaSynonym(value="partyB_threshold",source="ISDA_Create_1_0") public final java.lang.String getCustomElection()
The elective amount when expressed as a custom election by the party.
-
getNoAmount
@RosettaSynonym(value="",source="ISDA_Create_1_0") @RosettaSynonym(value="",source="ISDA_Create_1_0") public final java.lang.Integer getNoAmount()
The elective amount when specified as 0 with no associated currency. The associated PartyElectiveAmount_noAmount data rule enforces that the number is actually equal to 0.
-
getParty
@RosettaSynonym(value="",source="ISDA_Create_1_0") @RosettaSynonym(value="",source="ISDA_Create_1_0") public final java.lang.String getParty()
The elective party.
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends ElectiveAmountElection> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public ElectiveAmountElection.ElectiveAmountElectionBuilder toBuilder()
- Specified by:
toBuilder
in classcom.rosetta.model.lib.RosettaModelObject
-
builder
public static ElectiveAmountElection.ElectiveAmountElectionBuilder builder()
-
process
public void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
- Specified by:
process
in classcom.rosetta.model.lib.RosettaModelObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-