Class Repo
Java class for Repo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Repo"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}Product"> <sequence> <choice> <element name="fixedRateSchedule" type="{http://www.fpml.org/FpML-5/confirmation}Schedule"/> <element name="floatingRateCalculation" type="{http://www.fpml.org/FpML-5/confirmation}FloatingRateCalculation"/> </choice> <element name="dayCountFraction" type="{http://www.fpml.org/FpML-5/confirmation}DayCountFraction"/> <choice> <element name="duration" type="{http://www.fpml.org/FpML-5/confirmation}RepoDurationEnum"/> <sequence> <element name="callingParty" type="{http://www.fpml.org/FpML-5/confirmation}CallingPartyEnum"/> <element name="callDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableOrRelativeDate" minOccurs="0"/> <choice minOccurs="0"> <element name="noticePeriod" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableOffset"/> <element name="partyNoticePeriod" type="{http://www.fpml.org/FpML-5/confirmation}PartyNoticePeriod" maxOccurs="2"/> </choice> </sequence> </choice> <element name="initialMargin" type="{http://www.fpml.org/FpML-5/confirmation}InitialMargin" minOccurs="0"/> <element name="nearLeg" type="{http://www.fpml.org/FpML-5/confirmation}RepoNearLeg"/> <element name="farLeg" type="{http://www.fpml.org/FpML-5/confirmation}RepoFarLeg" minOccurs="0"/> <choice> <group ref="{http://www.fpml.org/FpML-5/confirmation}BondEquity.model" maxOccurs="unbounded"/> <element name="triParty" type="{http://www.fpml.org/FpML-5/confirmation}TriParty"/> </choice> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<UnderlyingAsset> protected AdjustableOrRelativeDate
protected CallingPartyEnum
protected DayCountFraction
protected RepoDurationEnum
protected RepoFarLeg
protected Schedule
protected FloatingRateCalculation
protected InitialMargin
protected RepoNearLeg
protected AdjustableOffset
protected List
<PartyNoticePeriod> protected TriParty
Fields inherited from class net.finmath.smartcontract.product.xml.Product
assetClass, id, primaryAssetClass, productId, productType, secondaryAssetClass
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionA list of the financial instruments that the repo contract may reference.Gets the value of the callDate property.Gets the value of the callingParty property.Gets the value of the dayCountFraction property.Gets the value of the duration property.Gets the value of the farLeg property.Gets the value of the fixedRateSchedule property.Gets the value of the floatingRateCalculation property.Gets the value of the initialMargin property.Gets the value of the nearLeg property.Gets the value of the noticePeriod property.Gets the value of the partyNoticePeriod property.Gets the value of the triParty property.void
Sets the value of the callDate property.void
setCallingParty
(CallingPartyEnum value) Sets the value of the callingParty property.void
Sets the value of the dayCountFraction property.void
setDuration
(RepoDurationEnum value) Sets the value of the duration property.void
setFarLeg
(RepoFarLeg value) Sets the value of the farLeg property.void
setFixedRateSchedule
(Schedule value) Sets the value of the fixedRateSchedule property.void
Sets the value of the floatingRateCalculation property.void
setInitialMargin
(InitialMargin value) Sets the value of the initialMargin property.void
setNearLeg
(RepoNearLeg value) Sets the value of the nearLeg property.void
setNoticePeriod
(AdjustableOffset value) Sets the value of the noticePeriod property.void
setTriParty
(TriParty value) Sets the value of the triParty property.Methods inherited from class net.finmath.smartcontract.product.xml.Product
getAssetClass, getId, getPrimaryAssetClass, getProductId, getProductType, getSecondaryAssetClass, setId, setPrimaryAssetClass
-
Field Details
-
fixedRateSchedule
-
floatingRateCalculation
-
dayCountFraction
-
duration
-
callingParty
-
callDate
-
noticePeriod
-
partyNoticePeriod
-
initialMargin
-
nearLeg
-
farLeg
-
bondEquityModel
-
triParty
-
-
Constructor Details
-
Repo
public Repo()
-
-
Method Details
-
getFixedRateSchedule
-
setFixedRateSchedule
-
getFloatingRateCalculation
Gets the value of the floatingRateCalculation property.- Returns:
- possible object is
FloatingRateCalculation
-
setFloatingRateCalculation
Sets the value of the floatingRateCalculation property.- Parameters:
value
- allowed object isFloatingRateCalculation
-
getDayCountFraction
Gets the value of the dayCountFraction property.- Returns:
- possible object is
DayCountFraction
-
setDayCountFraction
Sets the value of the dayCountFraction property.- Parameters:
value
- allowed object isDayCountFraction
-
getDuration
Gets the value of the duration property.- Returns:
- possible object is
RepoDurationEnum
-
setDuration
Sets the value of the duration property.- Parameters:
value
- allowed object isRepoDurationEnum
-
getCallingParty
Gets the value of the callingParty property.- Returns:
- possible object is
CallingPartyEnum
-
setCallingParty
Sets the value of the callingParty property.- Parameters:
value
- allowed object isCallingPartyEnum
-
getCallDate
Gets the value of the callDate property.- Returns:
- possible object is
AdjustableOrRelativeDate
-
setCallDate
Sets the value of the callDate property.- Parameters:
value
- allowed object isAdjustableOrRelativeDate
-
getNoticePeriod
Gets the value of the noticePeriod property.- Returns:
- possible object is
AdjustableOffset
-
setNoticePeriod
Sets the value of the noticePeriod property.- Parameters:
value
- allowed object isAdjustableOffset
-
getPartyNoticePeriod
Gets the value of the partyNoticePeriod 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 partyNoticePeriod property.For example, to add a new item, do as follows:
getPartyNoticePeriod().add(newItem);
Objects of the following type(s) are allowed in the list
PartyNoticePeriod
-
getInitialMargin
Gets the value of the initialMargin property.- Returns:
- possible object is
InitialMargin
-
setInitialMargin
Sets the value of the initialMargin property.- Parameters:
value
- allowed object isInitialMargin
-
getNearLeg
Gets the value of the nearLeg property.- Returns:
- possible object is
RepoNearLeg
-
setNearLeg
Sets the value of the nearLeg property.- Parameters:
value
- allowed object isRepoNearLeg
-
getFarLeg
Gets the value of the farLeg property.- Returns:
- possible object is
RepoFarLeg
-
setFarLeg
Sets the value of the farLeg property.- Parameters:
value
- allowed object isRepoFarLeg
-
getBondEquityModel
A list of the financial instruments that the repo contract may reference. Gets the value of the bondEquityModel 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 bondEquityModel property.For example, to add a new item, do as follows:
getBondEquityModel().add(newItem);
Objects of the following type(s) are allowed in the list
Bond
ConvertibleBond
EquityAsset
-
getTriParty
-
setTriParty
-