Package org.isda.cdm
Class ProtectionTerms.ProtectionTermsBuilder
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObjectBuilder
-
- org.isda.cdm.ProtectionTerms.ProtectionTermsBuilder
-
- All Implemented Interfaces:
com.rosetta.model.lib.GlobalKey
,com.rosetta.model.lib.GlobalKeyBuilder<ProtectionTerms.ProtectionTermsBuilder>
- Enclosing class:
- ProtectionTerms
public static class ProtectionTerms.ProtectionTermsBuilder extends com.rosetta.model.lib.RosettaModelObjectBuilder implements com.rosetta.model.lib.GlobalKeyBuilder<ProtectionTerms.ProtectionTermsBuilder>
-
-
Field Summary
Fields Modifier and Type Field Description protected CreditEvents.CreditEventsBuilder
creditEvents
protected FloatingAmountEvents.FloatingAmountEventsBuilder
floatingAmountEvents
protected MetaFields.MetaFieldsBuilder
meta
protected Money.MoneyBuilder
notionalAmount
protected Obligations.ObligationsBuilder
obligations
-
Constructor Summary
Constructors Constructor Description ProtectionTermsBuilder()
-
Method Summary
-
-
-
Field Detail
-
creditEvents
protected CreditEvents.CreditEventsBuilder creditEvents
-
floatingAmountEvents
protected FloatingAmountEvents.FloatingAmountEventsBuilder floatingAmountEvents
-
meta
protected MetaFields.MetaFieldsBuilder meta
-
notionalAmount
protected Money.MoneyBuilder notionalAmount
-
obligations
protected Obligations.ObligationsBuilder obligations
-
-
Method Detail
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends ProtectionTerms> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
getCreditEvents
public CreditEvents.CreditEventsBuilder getCreditEvents()
-
getOrCreateCreditEvents
public CreditEvents.CreditEventsBuilder getOrCreateCreditEvents()
-
getFloatingAmountEvents
public FloatingAmountEvents.FloatingAmountEventsBuilder getFloatingAmountEvents()
-
getOrCreateFloatingAmountEvents
public FloatingAmountEvents.FloatingAmountEventsBuilder getOrCreateFloatingAmountEvents()
-
getMeta
public MetaFields.MetaFieldsBuilder getMeta()
- Specified by:
getMeta
in interfacecom.rosetta.model.lib.GlobalKey
- Specified by:
getMeta
in interfacecom.rosetta.model.lib.GlobalKeyBuilder<ProtectionTerms.ProtectionTermsBuilder>
-
getOrCreateMeta
public MetaFields.MetaFieldsBuilder getOrCreateMeta()
- Specified by:
getOrCreateMeta
in interfacecom.rosetta.model.lib.GlobalKeyBuilder<ProtectionTerms.ProtectionTermsBuilder>
-
getNotionalAmount
public Money.MoneyBuilder getNotionalAmount()
-
getOrCreateNotionalAmount
public Money.MoneyBuilder getOrCreateNotionalAmount()
-
getObligations
public Obligations.ObligationsBuilder getObligations()
-
getOrCreateObligations
public Obligations.ObligationsBuilder getOrCreateObligations()
-
setCreditEvents
public ProtectionTerms.ProtectionTermsBuilder setCreditEvents(CreditEvents creditEvents)
-
setCreditEventsBuilder
public ProtectionTerms.ProtectionTermsBuilder setCreditEventsBuilder(CreditEvents.CreditEventsBuilder creditEvents)
-
setFloatingAmountEvents
public ProtectionTerms.ProtectionTermsBuilder setFloatingAmountEvents(FloatingAmountEvents floatingAmountEvents)
-
setFloatingAmountEventsBuilder
public ProtectionTerms.ProtectionTermsBuilder setFloatingAmountEventsBuilder(FloatingAmountEvents.FloatingAmountEventsBuilder floatingAmountEvents)
-
setMeta
public ProtectionTerms.ProtectionTermsBuilder setMeta(MetaFields meta)
-
setMetaBuilder
public ProtectionTerms.ProtectionTermsBuilder setMetaBuilder(MetaFields.MetaFieldsBuilder meta)
-
setNotionalAmount
public ProtectionTerms.ProtectionTermsBuilder setNotionalAmount(Money notionalAmount)
-
setNotionalAmountBuilder
public ProtectionTerms.ProtectionTermsBuilder setNotionalAmountBuilder(Money.MoneyBuilder notionalAmount)
-
setObligations
public ProtectionTerms.ProtectionTermsBuilder setObligations(Obligations obligations)
-
setObligationsBuilder
public ProtectionTerms.ProtectionTermsBuilder setObligationsBuilder(Obligations.ObligationsBuilder obligations)
-
build
public ProtectionTerms build()
- Specified by:
build
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
public ProtectionTerms.ProtectionTermsBuilder prune()
- Specified by:
prune
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()
- Specified by:
hasData
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
process
public void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor)
- Specified by:
process
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
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
-
-