Package cdm.event.common
Interface TradeState
- All Superinterfaces:
com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
TradeState.TradeStateBuilder
- All Known Implementing Classes:
TradeState.TradeStateBuilderImpl,TradeState.TradeStateImpl
@RosettaDataType(value="TradeState",
builder=TradeStateBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="TradeState",
model="cdm",
builder=TradeStateBuilderImpl.class,
version="5.30.0")
public interface TradeState
extends com.rosetta.model.lib.RosettaModelObject, com.rosetta.model.lib.GlobalKey
Defines the fundamental financial information that can be changed by a Primitive Event and by extension any business or life-cycle event. Each TradeState specifies where a Trade is in its life-cycle. TradeState is a root type and as such, can be created independently to any other CDM data type, but can also be used as part of the CDM Event Model.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of TradeStatestatic classImmutable Implementation of TradeStateNested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsstatic TradeState.TradeStateBuilderbuilder()com.rosetta.model.metafields.MetaFieldsgetMeta()List<? extends ObservationEvent> Represents the observed events related to a particular product or process, such as credit events or corporate actions.Represents the updated Trade attributes which can change as the result of a reset event.getState()Represents the State of the Trade through its life-cycle.getTrade()Represents the Trade that has been effected by a business or life-cycle event.List<? extends TransferState> Represents the updated Trade attributes which can change as the result of a transfer event.default Class<? extends TradeState> getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends TradeState> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getTrade
Trade getTrade()Represents the Trade that has been effected by a business or life-cycle event. -
getState
State getState()Represents the State of the Trade through its life-cycle. -
getResetHistory
Represents the updated Trade attributes which can change as the result of a reset event. Only the changed values are captured, leaving the remaining data attributes empty. See Create_Reset function for further details on how TradeState is used in the Reset event. The TradeState data type is used to maintain backwards compatibility with the current Reset mechanism. -
getTransferHistory
List<? extends TransferState> getTransferHistory()Represents the updated Trade attributes which can change as the result of a transfer event. -
getObservationHistory
List<? extends ObservationEvent> getObservationHistory()Represents the observed events related to a particular product or process, such as credit events or corporate actions. -
getValuationHistory
-
getMeta
com.rosetta.model.metafields.MetaFields getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey
-
build
TradeState build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
TradeState.TradeStateBuilder toBuilder()- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfacecom.rosetta.model.lib.RosettaModelObject
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-