Modifier and Type | Method and Description |
---|---|
Facility.Builder |
agent(com.opengamma.strata.basics.StandardId agent)
Sets the agent identifier, optional.
|
Facility.Builder |
borrower(com.opengamma.strata.basics.StandardId borrower)
Sets the borrower identifier
|
Facility |
build() |
Facility.Builder |
contracts(List<? extends LoanContract> contracts)
Sets the interest paying contracts of he facility.
|
Facility.Builder |
contracts(LoanContract... contracts)
Sets the
contracts property in the builder
from an array of objects. |
Facility.Builder |
events(FacilityEvent... events)
Sets the
events property in the builder
from an array of objects. |
Facility.Builder |
events(List<? extends FacilityEvent> events)
Sets events (CommitmentAdjustment) associated with this loan.
|
Facility.Builder |
facilityType(FacilityType facilityType)
Sets the type of this facility.
|
Facility.Builder |
fees(AccruingFee... fees)
Sets the
fees property in the builder
from an array of objects. |
Facility.Builder |
fees(List<? extends AccruingFee> fees)
Sets the accruing fees of the facility.
|
Object |
get(String propertyName) |
Facility.Builder |
id(com.opengamma.strata.basics.StandardId id)
Sets unique loan identifier.
|
Facility.Builder |
identifiers(List<? extends com.opengamma.strata.basics.StandardId> identifiers)
Sets the identifiers of this facility.
|
Facility.Builder |
identifiers(com.opengamma.strata.basics.StandardId... identifiers)
Sets the
identifiers property in the builder
from an array of objects. |
Facility.Builder |
maturityDate(java.time.LocalDate maturityDate)
Sets the maturity date of this facility.
|
Facility.Builder |
originalCommitmentAmount(com.opengamma.strata.basics.currency.CurrencyAmount originalCommitmentAmount)
Sets the total totalCommitmentSchedule amount against a facility.
|
Facility.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
Facility.Builder |
set(String propertyName,
Object newValue) |
Facility.Builder |
startDate(java.time.LocalDate startDate)
Sets the start date of this facility.
|
String |
toString() |
Facility.Builder |
totalCommitmentSchedule(com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries totalCommitmentSchedule)
Sets given or generated total commitment schedule for this loan in the loan currency.
|
public Facility.Builder set(String propertyName, Object newValue)
public Facility.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
public Facility build()
public Facility.Builder id(com.opengamma.strata.basics.StandardId id)
A public (e.g. LXID) or internal id which uniquely identifies a loan facility.
id
- the new value, not nullpublic Facility.Builder borrower(com.opengamma.strata.basics.StandardId borrower)
An identifier used to specify the borrower of the facility.
borrower
- the new value, not nullpublic Facility.Builder agent(com.opengamma.strata.basics.StandardId agent)
An identifier used to specify the agent of the facility.
agent
- the new value, not nullpublic Facility.Builder facilityType(FacilityType facilityType)
facilityType
- the new value, not nullpublic Facility.Builder identifiers(List<? extends com.opengamma.strata.basics.StandardId> identifiers)
identifiers
- the new valuepublic Facility.Builder identifiers(com.opengamma.strata.basics.StandardId... identifiers)
identifiers
property in the builder
from an array of objects.identifiers
- the new valuepublic Facility.Builder originalCommitmentAmount(com.opengamma.strata.basics.currency.CurrencyAmount originalCommitmentAmount)
originalCommitmentAmount
- the new value, not nullpublic Facility.Builder startDate(java.time.LocalDate startDate)
Funds may be drawn from this date.
startDate
- the new value, not nullpublic Facility.Builder maturityDate(java.time.LocalDate maturityDate)
Date on which final principal and interest is repaid.
maturityDate
- the new value, not nullpublic Facility.Builder contracts(List<? extends LoanContract> contracts)
A loan facility may have of zero or more contracts.
contracts
- the new valuepublic Facility.Builder contracts(LoanContract... contracts)
contracts
property in the builder
from an array of objects.contracts
- the new valuepublic Facility.Builder fees(List<? extends AccruingFee> fees)
A loan facility may have of zero or more accruing fees.
fees
- the new valuepublic Facility.Builder fees(AccruingFee... fees)
fees
property in the builder
from an array of objects.fees
- the new valuepublic Facility.Builder totalCommitmentSchedule(com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries totalCommitmentSchedule)
totalCommitmentSchedule
- the new valuepublic Facility.Builder events(List<? extends FacilityEvent> events)
A loan may have of zero or more events.
events
- the new valuepublic Facility.Builder events(FacilityEvent... events)
events
property in the builder
from an array of objects.events
- the new valueCopyright © 2018. All rights reserved.