Package cdm.event.common
Class TradeState.TradeStateImpl
java.lang.Object
cdm.event.common.TradeState.TradeStateImpl
- All Implemented Interfaces:
TradeState,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
TradeState
Immutable Implementation of TradeState
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilderNested classes/interfaces inherited from interface cdm.event.common.TradeState
TradeState.TradeStateBuilder, TradeState.TradeStateBuilderImpl, TradeState.TradeStateImpl -
Field Summary
Fields inherited from interface cdm.event.common.TradeState
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbooleancom.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.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface cdm.event.common.TradeState
getType, metaData, process
-
Constructor Details
-
TradeStateImpl
-
-
Method Details
-
getTrade
@RosettaAttribute(value="trade", isRequired=true) @RuneAttribute(value="trade", isRequired=true) public Trade getTrade()Description copied from interface:TradeStateRepresents the Trade that has been effected by a business or life-cycle event.- Specified by:
getTradein interfaceTradeState
-
getState
Description copied from interface:TradeStateRepresents the State of the Trade through its life-cycle.- Specified by:
getStatein interfaceTradeState
-
getResetHistory
@RosettaAttribute("resetHistory") @RuneAttribute("resetHistory") public List<? extends Reset> getResetHistory()Description copied from interface:TradeStateRepresents 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.- Specified by:
getResetHistoryin interfaceTradeState
-
getTransferHistory
@RosettaAttribute("transferHistory") @RuneAttribute("transferHistory") public List<? extends TransferState> getTransferHistory()Description copied from interface:TradeStateRepresents the updated Trade attributes which can change as the result of a transfer event.- Specified by:
getTransferHistoryin interfaceTradeState
-
getObservationHistory
@RosettaAttribute("observationHistory") @RuneAttribute("observationHistory") public List<? extends ObservationEvent> getObservationHistory()Description copied from interface:TradeStateRepresents the observed events related to a particular product or process, such as credit events or corporate actions.- Specified by:
getObservationHistoryin interfaceTradeState
-
getValuationHistory
@RosettaAttribute("valuationHistory") @RuneAttribute("valuationHistory") public List<? extends Valuation> getValuationHistory()- Specified by:
getValuationHistoryin interfaceTradeState
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfaceTradeState
-
build
Description copied from interface:TradeStateBuild Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
buildin interfaceTradeState
-
toBuilder
- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
toBuilderin interfaceTradeState
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-