Package cdm.event.common
Interface State
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
State.StateBuilder
- All Known Implementing Classes:
State.StateBuilderImpl,State.StateImpl
@RosettaDataType(value="State",
builder=StateBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="State",
model="cdm",
builder=StateBuilderImpl.class,
version="5.30.0")
public interface State
extends com.rosetta.model.lib.RosettaModelObject
Defines the state of a trade at a point in the Trade's life cycle. Trades have many state dimensions, all of which are represented here. For example, states useful for position keeping are represented alongside those needed for regulatory reporting.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of Statestatic classImmutable Implementation of State -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsstatic State.StateBuilderbuilder()Represents the qualification of what led to the trade's closure alongside the dates on which this closure took effect.Identifies the state of the position, to distinguish if just executed, formed, already settled, closed, etc.getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends State> 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
-
getClosedState
ClosedState getClosedState()Represents the qualification of what led to the trade's closure alongside the dates on which this closure took effect. -
getPositionState
PositionStatusEnum getPositionState()Identifies the state of the position, to distinguish if just executed, formed, already settled, closed, etc. -
build
State build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
State.StateBuilder 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
-