Class RepoNearLeg
java.lang.Object
net.finmath.smartcontract.product.xml.Leg
net.finmath.smartcontract.product.xml.RepoLegBase
net.finmath.smartcontract.product.xml.RepoNearLeg
A transaction leg for a repo is equivalent to a single cash transaction.
Java class for RepoNearLeg complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RepoNearLeg"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}RepoLegBase"> <sequence> <element name="settlementAmount" type="{http://www.fpml.org/FpML-5/confirmation}Money"/> <element name="fxRate" type="{http://www.fpml.org/FpML-5/confirmation}FxRate" minOccurs="0"/> <sequence minOccurs="0"> <element name="deliveryMethod" type="{http://www.fpml.org/FpML-5/confirmation}DeliveryMethod"/> <element name="deliveryDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableOrRelativeDate" minOccurs="0"/> <element name="collateral" type="{http://www.fpml.org/FpML-5/confirmation}CollateralValuation" maxOccurs="unbounded"/> </sequence> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<CollateralValuation> protected AdjustableOrRelativeDate
protected DeliveryMethod
protected FxRate
protected Money
Fields inherited from class net.finmath.smartcontract.product.xml.RepoLegBase
buyerAccountReference, buyerPartyReference, sellerAccountReference, sellerPartyReference, settlementDate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the collateral property.Gets the value of the deliveryDate property.Gets the value of the deliveryMethod property.Gets the value of the fxRate property.Gets the value of the settlementAmount property.void
Sets the value of the deliveryDate property.void
setDeliveryMethod
(DeliveryMethod value) Sets the value of the deliveryMethod property.void
Sets the value of the fxRate property.void
setSettlementAmount
(Money value) Sets the value of the settlementAmount property.Methods inherited from class net.finmath.smartcontract.product.xml.RepoLegBase
getBuyerAccountReference, getBuyerPartyReference, getSellerAccountReference, getSellerPartyReference, getSettlementDate, setBuyerAccountReference, setBuyerPartyReference, setSellerAccountReference, setSellerPartyReference, setSettlementDate
-
Field Details
-
settlementAmount
-
fxRate
-
deliveryMethod
-
deliveryDate
-
collateral
-
-
Constructor Details
-
RepoNearLeg
public RepoNearLeg()
-
-
Method Details
-
getSettlementAmount
-
setSettlementAmount
-
getFxRate
-
setFxRate
-
getDeliveryMethod
Gets the value of the deliveryMethod property.- Returns:
- possible object is
DeliveryMethod
-
setDeliveryMethod
Sets the value of the deliveryMethod property.- Parameters:
value
- allowed object isDeliveryMethod
-
getDeliveryDate
Gets the value of the deliveryDate property.- Returns:
- possible object is
AdjustableOrRelativeDate
-
setDeliveryDate
Sets the value of the deliveryDate property.- Parameters:
value
- allowed object isAdjustableOrRelativeDate
-
getCollateral
Gets the value of the collateral property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
set
method for the collateral property.For example, to add a new item, do as follows:
getCollateral().add(newItem);
Objects of the following type(s) are allowed in the list
CollateralValuation
-