Package cdm.event.workflow
Class EventInstruction.EventInstructionImpl
java.lang.Object
cdm.event.workflow.EventInstruction.EventInstructionImpl
- All Implemented Interfaces:
EventInstruction,com.rosetta.model.lib.RosettaModelObject
- Direct Known Subclasses:
BusinessEvent.BusinessEventImpl
- Enclosing interface:
EventInstruction
public static class EventInstruction.EventInstructionImpl
extends Object
implements EventInstruction
Immutable Implementation of EventInstruction
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.workflow.EventInstruction
EventInstruction.EventInstructionBuilder, EventInstruction.EventInstructionBuilderImpl, EventInstruction.EventInstructionImpl -
Field Summary
Fields inherited from interface cdm.event.workflow.EventInstruction
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbooleancom.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.List<? extends Instruction> Specifies the instructions to create the Business Event.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 voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.event.workflow.EventInstruction
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
EventInstructionImpl
-
-
Method Details
-
getIntent
Description copied from interface:EventInstructionThe 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. An example of such is a reduction in the trade notional, which could be interpreted as either a trade correction (unless a maximum period of time post-event is specified as part of the qualification), a partial termination or a portfolio rebalancing in the case of an equity swap. On the other hand, an event such as the exercise is not expected to have an associated intent as there should not be ambiguity.- Specified by:
getIntentin interfaceEventInstruction
-
getCorporateActionIntent
@RosettaAttribute("corporateActionIntent") @RuneAttribute("corporateActionIntent") public CorporateActionTypeEnum getCorporateActionIntent()- Specified by:
getCorporateActionIntentin interfaceEventInstruction
-
getEventDate
@RosettaAttribute("eventDate") @RuneAttribute("eventDate") public com.rosetta.model.lib.records.Date getEventDate()Description copied from interface:EventInstructionSpecifies 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 interfaceEventInstruction
-
getEffectiveDate
@RosettaAttribute("effectiveDate") @RuneAttribute("effectiveDate") public com.rosetta.model.lib.records.Date getEffectiveDate()Description copied from interface:EventInstructionThe date on which the event contractually takes effect, when different from the event date.- Specified by:
getEffectiveDatein interfaceEventInstruction
-
getPackageInformation
@RosettaAttribute("packageInformation") @RuneAttribute("packageInformation") public IdentifiedList getPackageInformation()Description copied from interface:EventInstructionSpecifies 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 interfaceEventInstruction
-
getInstruction
@RosettaAttribute("instruction") @RuneAttribute("instruction") public List<? extends Instruction> getInstruction()Description copied from interface:EventInstructionSpecifies the instructions to create the Business Event.- Specified by:
getInstructionin interfaceEventInstruction
-
build
Description copied from interface:EventInstructionBuild Methods- Specified by:
buildin interfaceEventInstruction- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceEventInstruction- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-