Package cdm.event.common
Class CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventImpl
java.lang.Object
cdm.event.common.CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventImpl
- All Implemented Interfaces:
CounterpartyPositionBusinessEvent,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
CounterpartyPositionBusinessEvent
public static class CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventImpl
extends Object
implements CounterpartyPositionBusinessEvent
Immutable Implementation of CounterpartyPositionBusinessEvent
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.CounterpartyPositionBusinessEvent
CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder, CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilderImpl, CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventImpl -
Field Summary
Fields inherited from interface cdm.event.common.CounterpartyPositionBusinessEvent
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCounterpartyPositionBusinessEventImpl(CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder builder) -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanList<? extends CounterpartyPositionState> getAfter()Specifies the after position state(s) created.The intent of a corporate action on the position.com.rosetta.model.lib.records.DateThe date on which the event contractually takes effect, when different from the event date.com.rosetta.model.lib.records.DateSpecifies the date on which the event is taking place.The intent attribute is meant to be specified when the event qualification cannot be programmatically inferred from the event features.Specifies the package information in case the business event represents several trades executed as a package (hence this attribute is optional).inthashCode()protected voidsetBuilderFields(CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder builder) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.event.common.CounterpartyPositionBusinessEvent
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
CounterpartyPositionBusinessEventImpl
protected CounterpartyPositionBusinessEventImpl(CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder builder)
-
-
Method Details
-
getIntent
@RosettaAttribute(value="intent", isRequired=true) @RuneAttribute(value="intent", isRequired=true) public PositionEventIntentEnum getIntent()Description copied from interface:CounterpartyPositionBusinessEventThe intent attribute is meant to be specified when the event qualification cannot be programmatically inferred from the event features. As a result it is only associated with those primitives that can give way to such ambiguity, the quantityChange being one of those.- Specified by:
getIntentin interfaceCounterpartyPositionBusinessEvent
-
getCorporateActionIntent
@RosettaAttribute("corporateActionIntent") @RuneAttribute("corporateActionIntent") public CorporateActionTypeEnum getCorporateActionIntent()Description copied from interface:CounterpartyPositionBusinessEventThe intent of a corporate action on the position.- Specified by:
getCorporateActionIntentin interfaceCounterpartyPositionBusinessEvent
-
getEventDate
@RosettaAttribute("eventDate") @RuneAttribute("eventDate") public com.rosetta.model.lib.records.Date getEventDate()Description copied from interface:CounterpartyPositionBusinessEventSpecifies the date on which the event is taking place. This date is equal to the trade date in the case of a simple execution. However it can be different from the trade date, for example in the case of a partial termination.- Specified by:
getEventDatein interfaceCounterpartyPositionBusinessEvent
-
getEffectiveDate
@RosettaAttribute("effectiveDate") @RuneAttribute("effectiveDate") public com.rosetta.model.lib.records.Date getEffectiveDate()Description copied from interface:CounterpartyPositionBusinessEventThe date on which the event contractually takes effect, when different from the event date.- Specified by:
getEffectiveDatein interfaceCounterpartyPositionBusinessEvent
-
getPackageInformation
@RosettaAttribute("packageInformation") @RuneAttribute("packageInformation") public IdentifiedList getPackageInformation()Description copied from interface:CounterpartyPositionBusinessEventSpecifies the package information in case the business event represents several trades executed as a package (hence this attribute is optional). The package information is only instantiated once at the business event level to preserve referential integrity, whereas individual trades make reference to it to identify that they are part of a package.- Specified by:
getPackageInformationin interfaceCounterpartyPositionBusinessEvent
-
getAfter
@RosettaAttribute("after") @RuneAttribute("after") public List<? extends CounterpartyPositionState> getAfter()Description copied from interface:CounterpartyPositionBusinessEventSpecifies the after position state(s) created.- Specified by:
getAfterin interfaceCounterpartyPositionBusinessEvent
-
build
Description copied from interface:CounterpartyPositionBusinessEventBuild Methods- Specified by:
buildin interfaceCounterpartyPositionBusinessEvent- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceCounterpartyPositionBusinessEvent- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
protected void setBuilderFields(CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder builder) -
equals
-
hashCode
public int hashCode() -
toString
-