Class PeriodBound.PeriodBoundImpl

java.lang.Object
cdm.base.datetime.PeriodBound.PeriodBoundImpl
All Implemented Interfaces:
PeriodBound, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
PeriodBound

public static class PeriodBound.PeriodBoundImpl extends Object implements PeriodBound
Immutable Implementation of PeriodBound
  • Constructor Details

  • Method Details

    • getPeriod

      @RosettaAttribute(value="period", isRequired=true) @RuneAttribute(value="period", isRequired=true) public Period getPeriod()
      Description copied from interface: PeriodBound
      Specifies the period is to be used as the bound, e.g. 5Y.
      Specified by:
      getPeriod in interface PeriodBound
    • getInclusive

      @RosettaAttribute(value="inclusive", isRequired=true) @RuneAttribute(value="inclusive", isRequired=true) public Boolean getInclusive()
      Description copied from interface: PeriodBound
      Specifies whether the period bound is inclusive, e.g. for a lower bound, false would indicate greater than, whereas true would indicate greater than or equal to.
      Specified by:
      getInclusive in interface PeriodBound
    • build

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

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

      protected void setBuilderFields(PeriodBound.PeriodBoundBuilder 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