Skip to content

Class: MoneyRange

The money range defined as either a lower and upper money bound, or both.

URI: common_domain_model:MoneyRange

 classDiagram
    class MoneyRange
    click MoneyRange href "../MoneyRange/"
      MoneyRange : lowerBound





        MoneyRange --> "0..1" MoneyBound : lowerBound
        click MoneyBound href "../MoneyBound/"



      MoneyRange : upperBound





        MoneyRange --> "0..1" MoneyBound : upperBound
        click MoneyBound href "../MoneyBound/"



Slots

Name Cardinality and Range Description Inheritance
lowerBound 0..1
MoneyBound
The lower bound of a money range, e direct
upperBound 0..1
MoneyBound
The upper bound of a money range, e direct

Usages

used by used in type used
ConcentrationLimit valueLimit range MoneyRange

Rules

Rule Applied Preconditions Postconditions Elseconditions

In Subsets

Comments

  • Rosetta condition: AtLeastOneOf — lowerBound exists or upperBound exists

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self common_domain_model:MoneyRange
native common_domain_model:MoneyRange

LinkML Source

Direct

name: MoneyRange
description: The money range defined as either a lower and upper money bound, or both.
comments:
- 'Rosetta condition: AtLeastOneOf  lowerBound exists or upperBound exists'
in_subset:
- cdm_base_math
from_schema: https://w3id.org/lmodel/common-domain-model
slots:
- lowerBound
- upperBound
slot_usage:
  lowerBound:
    name: lowerBound
    description: The lower bound of a money range, e.g. greater than or equal to 1,000
      USD.
    range: MoneyBound
  upperBound:
    name: upperBound
    description: The upper bound of a money range, e.g. less than 10,000 USD.
    range: MoneyBound
rules:
- postconditions:
    any_of:
    - slot_conditions:
        lowerBound:
          name: lowerBound
          required: true
    - slot_conditions:
        upperBound:
          name: upperBound
          required: true
  description: AtLeastOneOf

Induced

name: MoneyRange
description: The money range defined as either a lower and upper money bound, or both.
comments:
- 'Rosetta condition: AtLeastOneOf  lowerBound exists or upperBound exists'
in_subset:
- cdm_base_math
from_schema: https://w3id.org/lmodel/common-domain-model
slot_usage:
  lowerBound:
    name: lowerBound
    description: The lower bound of a money range, e.g. greater than or equal to 1,000
      USD.
    range: MoneyBound
  upperBound:
    name: upperBound
    description: The upper bound of a money range, e.g. less than 10,000 USD.
    range: MoneyBound
attributes:
  lowerBound:
    name: lowerBound
    description: The lower bound of a money range, e.g. greater than or equal to 1,000
      USD.
    from_schema: https://w3id.org/lmodel/common-domain-model
    rank: 1000
    owner: MoneyRange
    domain_of:
    - PeriodRange
    - NumberRange
    - MoneyRange
    range: MoneyBound
  upperBound:
    name: upperBound
    description: The upper bound of a money range, e.g. less than 10,000 USD.
    from_schema: https://w3id.org/lmodel/common-domain-model
    rank: 1000
    owner: MoneyRange
    domain_of:
    - PeriodRange
    - NumberRange
    - MoneyRange
    range: MoneyBound
rules:
- postconditions:
    any_of:
    - slot_conditions:
        lowerBound:
          name: lowerBound
          required: true
    - slot_conditions:
        upperBound:
          name: upperBound
          required: true
  description: AtLeastOneOf