Package cdm.base.math

Interface MoneyBound

All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
All Known Subinterfaces:
MoneyBound.MoneyBoundBuilder
All Known Implementing Classes:
MoneyBound.MoneyBoundBuilderImpl, MoneyBound.MoneyBoundImpl

@RosettaDataType(value="MoneyBound", builder=MoneyBoundBuilderImpl.class, version="5.30.0") @RuneDataType(value="MoneyBound", model="cdm", builder=MoneyBoundBuilderImpl.class, version="5.30.0") public interface MoneyBound extends com.rosetta.model.lib.RosettaModelObject
The money bound is defined as a money amount and whether the bound is inclusive.
Version:
5.30.0
  • Field Details

  • Method Details

    • getMoney

      Money getMoney()
      The money amount to be used as the bound, e.g. 1,000 USD.
    • getInclusive

      Boolean getInclusive()
      Whether the money amount bound is inclusive, e.g. for a lower bound, false would indicate greater than, whereas true would indicate greater than or equal to.
    • build

      MoneyBound build()
      Build Methods
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • builder

      static MoneyBound.MoneyBoundBuilder builder()
    • metaData

      default com.rosetta.model.lib.meta.RosettaMetaData<? extends MoneyBound> metaData()
      Utility Methods
      Specified by:
      metaData in interface com.rosetta.model.lib.RosettaModelObject
    • getType

      @RuneAttribute("@type") default Class<? extends MoneyBound> getType()
      Specified by:
      getType in interface com.rosetta.model.lib.RosettaModelObject
    • process

      default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
      Specified by:
      process in interface com.rosetta.model.lib.RosettaModelObject