Class ClosedState.ClosedStateBuilderImpl

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

public static class ClosedState.ClosedStateBuilderImpl extends Object implements ClosedState.ClosedStateBuilder
Builder Implementation of ClosedState
  • Field Details

    • state

      protected ClosedStateEnum state
    • activityDate

      protected com.rosetta.model.lib.records.Date activityDate
    • effectiveDate

      protected com.rosetta.model.lib.records.Date effectiveDate
    • lastPaymentDate

      protected com.rosetta.model.lib.records.Date lastPaymentDate
  • Constructor Details

    • ClosedStateBuilderImpl

      public ClosedStateBuilderImpl()
  • 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
    • setState

      @RosettaAttribute(value="state", isRequired=true) @RuneAttribute(value="state", isRequired=true) public ClosedState.ClosedStateBuilder setState(ClosedStateEnum _state)
      Specified by:
      setState in interface ClosedState.ClosedStateBuilder
    • setActivityDate

      @RosettaAttribute(value="activityDate", isRequired=true) @RuneAttribute(value="activityDate", isRequired=true) public ClosedState.ClosedStateBuilder setActivityDate(com.rosetta.model.lib.records.Date _activityDate)
      Specified by:
      setActivityDate in interface ClosedState.ClosedStateBuilder
    • setEffectiveDate

      @RosettaAttribute("effectiveDate") @RuneAttribute("effectiveDate") public ClosedState.ClosedStateBuilder setEffectiveDate(com.rosetta.model.lib.records.Date _effectiveDate)
      Specified by:
      setEffectiveDate in interface ClosedState.ClosedStateBuilder
    • setLastPaymentDate

      @RosettaAttribute("lastPaymentDate") @RuneAttribute("lastPaymentDate") public ClosedState.ClosedStateBuilder setLastPaymentDate(com.rosetta.model.lib.records.Date _lastPaymentDate)
      Specified by:
      setLastPaymentDate in interface ClosedState.ClosedStateBuilder
    • 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
    • prune

      Specified by:
      prune in interface ClosedState.ClosedStateBuilder
      Specified by:
      prune in interface com.rosetta.model.lib.RosettaModelObjectBuilder
    • hasData

      public boolean hasData()
      Specified by:
      hasData in interface com.rosetta.model.lib.RosettaModelObjectBuilder
    • merge

      public ClosedState.ClosedStateBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger)
      Specified by:
      merge in interface com.rosetta.model.lib.RosettaModelObjectBuilder
    • 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