Package cdm.event.common
Class State.StateImpl
java.lang.Object
cdm.event.common.State.StateImpl
- All Implemented Interfaces:
State,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
State
Immutable Implementation of State
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.State
State.StateBuilder, State.StateBuilderImpl, State.StateImpl -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanRepresents 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.inthashCode()protected voidsetBuilderFields(State.StateBuilder builder) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
StateImpl
-
-
Method Details
-
getClosedState
Description copied from interface:StateRepresents the qualification of what led to the trade's closure alongside the dates on which this closure took effect.- Specified by:
getClosedStatein interfaceState
-
getPositionState
@RosettaAttribute("positionState") @RuneAttribute("positionState") public PositionStatusEnum getPositionState()Description copied from interface:StateIdentifies the state of the position, to distinguish if just executed, formed, already settled, closed, etc.- Specified by:
getPositionStatein interfaceState
-
build
Description copied from interface:StateBuild Methods -
toBuilder
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-