Package cdm.event.common
Interface CounterpartyPositionState.CounterpartyPositionStateBuilder
- All Superinterfaces:
CounterpartyPositionState,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
CounterpartyPositionState.CounterpartyPositionStateBuilderImpl
- Enclosing interface:
CounterpartyPositionState
public static interface CounterpartyPositionState.CounterpartyPositionStateBuilder
extends CounterpartyPositionState, com.rosetta.model.lib.RosettaModelObjectBuilder, com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.CounterpartyPositionState
CounterpartyPositionState.CounterpartyPositionStateBuilder, CounterpartyPositionState.CounterpartyPositionStateBuilderImpl, CounterpartyPositionState.CounterpartyPositionStateImplNested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder -
Field Summary
Fields inherited from interface cdm.event.common.CounterpartyPositionState
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddObservationHistory(ObservationEvent observationHistory) addObservationHistory(ObservationEvent observationHistory, int idx) addObservationHistory(List<? extends ObservationEvent> observationHistory) addValuationHistory(Valuation valuationHistory) addValuationHistory(Valuation valuationHistory, int idx) addValuationHistory(List<? extends Valuation> valuationHistory) Represents the Position that has been effected by a business or life-cycle event.com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetMeta()List<? extends ObservationEvent.ObservationEventBuilder> Represents the observed events related to a particular product or process, such as credit events or corporate actions.com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetOrCreateObservationHistory(int index) getOrCreateValuationHistory(int index) getState()Represents the State of the Position through its life-cycle.List<? extends Valuation.ValuationBuilder> default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setCounterpartyPosition(CounterpartyPosition counterpartyPosition) setMeta(com.rosetta.model.metafields.MetaFields meta) setObservationHistory(List<? extends ObservationEvent> observationHistory) setValuationHistory(List<? extends Valuation> valuationHistory) Methods inherited from interface cdm.event.common.CounterpartyPositionState
build, getType, metaData, process, toBuilderMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosetta
-
Method Details
-
getOrCreateCounterpartyPosition
CounterpartyPosition.CounterpartyPositionBuilder getOrCreateCounterpartyPosition() -
getCounterpartyPosition
CounterpartyPosition.CounterpartyPositionBuilder getCounterpartyPosition()Description copied from interface:CounterpartyPositionStateRepresents the Position that has been effected by a business or life-cycle event.- Specified by:
getCounterpartyPositionin interfaceCounterpartyPositionState
-
getOrCreateState
State.StateBuilder getOrCreateState() -
getState
State.StateBuilder getState()Description copied from interface:CounterpartyPositionStateRepresents the State of the Position through its life-cycle.- Specified by:
getStatein interfaceCounterpartyPositionState
-
getOrCreateObservationHistory
-
getObservationHistory
List<? extends ObservationEvent.ObservationEventBuilder> getObservationHistory()Description copied from interface:CounterpartyPositionStateRepresents the observed events related to a particular product or process, such as credit events or corporate actions.- Specified by:
getObservationHistoryin interfaceCounterpartyPositionState
-
getOrCreateValuationHistory
-
getValuationHistory
List<? extends Valuation.ValuationBuilder> getValuationHistory()- Specified by:
getValuationHistoryin interfaceCounterpartyPositionState
-
getOrCreateMeta
com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
-
getMeta
com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getMeta()- Specified by:
getMetain interfaceCounterpartyPositionState- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
-
setCounterpartyPosition
CounterpartyPositionState.CounterpartyPositionStateBuilder setCounterpartyPosition(CounterpartyPosition counterpartyPosition) -
setState
-
addObservationHistory
CounterpartyPositionState.CounterpartyPositionStateBuilder addObservationHistory(ObservationEvent observationHistory) -
addObservationHistory
CounterpartyPositionState.CounterpartyPositionStateBuilder addObservationHistory(ObservationEvent observationHistory, int idx) -
addObservationHistory
CounterpartyPositionState.CounterpartyPositionStateBuilder addObservationHistory(List<? extends ObservationEvent> observationHistory) -
setObservationHistory
CounterpartyPositionState.CounterpartyPositionStateBuilder setObservationHistory(List<? extends ObservationEvent> observationHistory) -
addValuationHistory
CounterpartyPositionState.CounterpartyPositionStateBuilder addValuationHistory(Valuation valuationHistory) -
addValuationHistory
CounterpartyPositionState.CounterpartyPositionStateBuilder addValuationHistory(Valuation valuationHistory, int idx) -
addValuationHistory
CounterpartyPositionState.CounterpartyPositionStateBuilder addValuationHistory(List<? extends Valuation> valuationHistory) -
setValuationHistory
CounterpartyPositionState.CounterpartyPositionStateBuilder setValuationHistory(List<? extends Valuation> valuationHistory) -
setMeta
CounterpartyPositionState.CounterpartyPositionStateBuilder setMeta(com.rosetta.model.metafields.MetaFields meta) -
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-