Class ClosedState.ClosedStateImpl

java.lang.Object
cdm.legaldocumentation.common.ClosedState.ClosedStateImpl
All Implemented Interfaces:
ClosedState, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
ClosedState

public static class ClosedState.ClosedStateImpl extends Object implements ClosedState
Immutable Implementation of ClosedState
  • Constructor Details

  • Method Details

    • getState

      @RosettaAttribute(value="state", isRequired=true) @RuneAttribute(value="state", isRequired=true) public ClosedStateEnum getState()
      Description copied from interface: ClosedState
      The qualification of what gave way to the contract or execution closure, e.g. allocation, termination, ...
      Specified by:
      getState in interface ClosedState
    • getActivityDate

      @RosettaAttribute(value="activityDate", isRequired=true) @RuneAttribute(value="activityDate", isRequired=true) public com.rosetta.model.lib.records.Date getActivityDate()
      Description copied from interface: ClosedState
      The activity date on which the closing state took place, i.e. either the event date of the closing event (e.g. option exercise, contract early termination) or the contractual termination date.
      Specified by:
      getActivityDate in interface ClosedState
    • getEffectiveDate

      @RosettaAttribute("effectiveDate") @RuneAttribute("effectiveDate") public com.rosetta.model.lib.records.Date getEffectiveDate()
      Description copied from interface: ClosedState
      The date on which the closing event contractually takes effect, when different from the activity date. When an explicit event effective date attribute is associated with the closing event, it will be that date. In the case of a cancellation event, it will be the date on which the cancelled event took place.
      Specified by:
      getEffectiveDate in interface ClosedState
    • getLastPaymentDate

      @RosettaAttribute("lastPaymentDate") @RuneAttribute("lastPaymentDate") public com.rosetta.model.lib.records.Date getLastPaymentDate()
      Description copied from interface: ClosedState
      The date associated with the last payment in relation to the artefact (e.g. contract) to which this closed state applies. As an example, in the case of an early termination event, it would be the settlement date of the associated fee, if applicable.
      Specified by:
      getLastPaymentDate in interface ClosedState
    • build

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

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

      protected void setBuilderFields(ClosedState.ClosedStateBuilder 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