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 Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Builder Interface
    static class 
    Builder Implementation of State
    static class 
    Immutable Implementation of State
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final StateMeta
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Build Methods
     
    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.
    default Class<? extends State>
     
    default com.rosetta.model.lib.meta.RosettaMetaData<? extends State>
    Utility Methods
    default void
    process(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

  • 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:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      State.StateBuilder toBuilder()
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • builder

      static State.StateBuilder builder()
    • metaData

      default com.rosetta.model.lib.meta.RosettaMetaData<? extends State> metaData()
      Utility Methods
      Specified by:
      metaData in interface com.rosetta.model.lib.RosettaModelObject
    • getType

      @RuneAttribute("@type") default Class<? extends State> getType()
      Specified by:
      getType in interface com.rosetta.model.lib.RosettaModelObject
    • process

      default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
      Specified by:
      process in interface com.rosetta.model.lib.RosettaModelObject