Package cdm.base.math

Class MoneyRange.MoneyRangeImpl

java.lang.Object
cdm.base.math.MoneyRange.MoneyRangeImpl
All Implemented Interfaces:
MoneyRange, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
MoneyRange

public static class MoneyRange.MoneyRangeImpl extends Object implements MoneyRange
Immutable Implementation of MoneyRange
  • Constructor Details

  • Method Details

    • getLowerBound

      @RosettaAttribute("lowerBound") @RuneAttribute("lowerBound") public MoneyBound getLowerBound()
      Description copied from interface: MoneyRange
      The lower bound of a money range, e.g. greater than or equal to 1,000 USD.
      Specified by:
      getLowerBound in interface MoneyRange
    • getUpperBound

      @RosettaAttribute("upperBound") @RuneAttribute("upperBound") public MoneyBound getUpperBound()
      Description copied from interface: MoneyRange
      The upper bound of a money range, e.g. less than 10,000 USD.
      Specified by:
      getUpperBound in interface MoneyRange
    • build

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

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

      protected void setBuilderFields(MoneyRange.MoneyRangeBuilder 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