Package org.isda.cdm
Class SecurityLeg
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.SecurityLeg
-
- All Implemented Interfaces:
com.rosetta.model.lib.GlobalKey
@RosettaClass public class SecurityLeg extends com.rosetta.model.lib.RosettaModelObject implements com.rosetta.model.lib.GlobalKey
Terms defining a security leg in a securities financing transaction, which can either be the near leg or the far leg and is closely modelled onto the nearLeg and farLeg types in FpML- Version:
- 2.5.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecurityLeg.SecurityLegBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecurityLeg.SecurityLegBuilder
builder()
boolean
equals(java.lang.Object o)
BuyerSeller
getBuyerSeller()
Whether the leg is a buyer or seller of securityAdjustableOrRelativeDate
getDeliveryDate()
Delivery Date for the transaction.DeliveryMethodEnum
getDeliveryMethod()
Specifies a delivery method for the security transaction.ExchangeRate
getFxRate()
FX rate in case when cash settlement amount is in a different currency to the security.MetaFields
getMeta()
Money
getSettlementAmount()
Settlement amount for the security legjava.lang.String
getSettlementCurrency()
Settlement Currency for use where the Settlement Amount cannot be known in advance.AdjustableOrRelativeDate
getSettlementDate()
Settlement or Payment Date for the security legint
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends SecurityLeg>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
SecurityLeg.SecurityLegBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getBuyerSeller
public final BuyerSeller getBuyerSeller()
Whether the leg is a buyer or seller of security
-
getDeliveryDate
@RosettaSynonym(value="deliveryDate", source="FpML_5_10") public final AdjustableOrRelativeDate getDeliveryDate()
Delivery Date for the transaction. Delivery Date can be populated when it is not equal to the Settlement Date.
-
getDeliveryMethod
@RosettaSynonym(value="deliveryMethod", source="FpML_5_10") public final DeliveryMethodEnum getDeliveryMethod()
Specifies a delivery method for the security transaction.
-
getFxRate
public final ExchangeRate getFxRate()
FX rate in case when cash settlement amount is in a different currency to the security.
-
getMeta
public final MetaFields getMeta()
- Specified by:
getMeta
in interfacecom.rosetta.model.lib.GlobalKey
-
getSettlementAmount
@RosettaSynonym(value="settlementAmount", source="FpML_5_10") public final Money getSettlementAmount()
Settlement amount for the security leg
-
getSettlementCurrency
@RosettaSynonym(value="settlementCurrency", source="FpML_5_10") public final java.lang.String getSettlementCurrency()
Settlement Currency for use where the Settlement Amount cannot be known in advance.
-
getSettlementDate
@RosettaSynonym(value="settlementDate", source="FpML_5_10") public final AdjustableOrRelativeDate getSettlementDate()
Settlement or Payment Date for the security leg
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends SecurityLeg> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public SecurityLeg.SecurityLegBuilder toBuilder()
- Specified by:
toBuilder
in classcom.rosetta.model.lib.RosettaModelObject
-
builder
public static SecurityLeg.SecurityLegBuilder 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
-
-