Package cdm.product.template
Class SecurityLeg.SecurityLegImpl
java.lang.Object
cdm.product.template.SecurityLeg.SecurityLegImpl
- All Implemented Interfaces:
SecurityLeg,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
SecurityLeg
Immutable Implementation of SecurityLeg
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilderNested classes/interfaces inherited from interface cdm.product.template.SecurityLeg
SecurityLeg.SecurityLegBuilder, SecurityLeg.SecurityLegBuilderImpl, SecurityLeg.SecurityLegImpl -
Field Summary
Fields inherited from interface cdm.product.template.SecurityLeg
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanWhether the leg is a buyer or seller of securityDelivery Date for the transaction.Specifies a delivery method for the security transaction.FX rate in case when cash settlement amount is in a different currency to the security.com.rosetta.model.metafields.MetaFieldsgetMeta()Settlement amount for the security legSettlement Currency for use where the Settlement Amount cannot be known in advance.Settlement or Payment Date for the security leginthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface cdm.product.template.SecurityLeg
getType, metaData, process
-
Constructor Details
-
SecurityLegImpl
-
-
Method Details
-
getBuyerSeller
@RosettaAttribute(value="buyerSeller", isRequired=true) @RuneAttribute(value="buyerSeller", isRequired=true) public BuyerSeller getBuyerSeller()Description copied from interface:SecurityLegWhether the leg is a buyer or seller of security- Specified by:
getBuyerSellerin interfaceSecurityLeg
-
getSettlementDate
@RosettaAttribute(value="settlementDate", isRequired=true) @RuneAttribute(value="settlementDate", isRequired=true) public AdjustableOrRelativeDate getSettlementDate()Description copied from interface:SecurityLegSettlement or Payment Date for the security leg- Specified by:
getSettlementDatein interfaceSecurityLeg
-
getSettlementAmount
@RosettaAttribute("settlementAmount") @RuneAttribute("settlementAmount") public Money getSettlementAmount()Description copied from interface:SecurityLegSettlement amount for the security leg- Specified by:
getSettlementAmountin interfaceSecurityLeg
-
getSettlementCurrency
@RosettaAttribute("settlementCurrency") @RuneAttribute("settlementCurrency") public String getSettlementCurrency()Description copied from interface:SecurityLegSettlement Currency for use where the Settlement Amount cannot be known in advance.- Specified by:
getSettlementCurrencyin interfaceSecurityLeg
-
getFxRate
Description copied from interface:SecurityLegFX rate in case when cash settlement amount is in a different currency to the security.- Specified by:
getFxRatein interfaceSecurityLeg
-
getDeliveryDate
@RosettaAttribute("deliveryDate") @RuneAttribute("deliveryDate") public AdjustableOrRelativeDate getDeliveryDate()Description copied from interface:SecurityLegDelivery Date for the transaction. Delivery Date can be populated when it is not equal to the Settlement Date.- Specified by:
getDeliveryDatein interfaceSecurityLeg
-
getDeliveryMethod
@RosettaAttribute(value="deliveryMethod", isRequired=true) @RuneAttribute(value="deliveryMethod", isRequired=true) public DeliveryMethodEnum getDeliveryMethod()Description copied from interface:SecurityLegSpecifies a delivery method for the security transaction.- Specified by:
getDeliveryMethodin interfaceSecurityLeg
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfaceSecurityLeg
-
build
Description copied from interface:SecurityLegBuild Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
buildin interfaceSecurityLeg
-
toBuilder
- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
toBuilderin interfaceSecurityLeg
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-