Class State.StateImpl

java.lang.Object
cdm.event.common.State.StateImpl
All Implemented Interfaces:
State, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
State

public static class State.StateImpl extends Object implements State
Immutable Implementation of State
  • Constructor Details

  • Method Details

    • getClosedState

      @RosettaAttribute("closedState") @RuneAttribute("closedState") public ClosedState getClosedState()
      Description copied from interface: State
      Represents the qualification of what led to the trade's closure alongside the dates on which this closure took effect.
      Specified by:
      getClosedState in interface State
    • getPositionState

      @RosettaAttribute("positionState") @RuneAttribute("positionState") public PositionStatusEnum getPositionState()
      Description copied from interface: State
      Identifies the state of the position, to distinguish if just executed, formed, already settled, closed, etc.
      Specified by:
      getPositionState in interface State
    • build

      public State build()
      Description copied from interface: State
      Build Methods
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
      Specified by:
      build in interface State
    • toBuilder

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

      protected void setBuilderFields(State.StateBuilder builder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object