Skip to content

Class: PeriodRange

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

URI: common_domain_model:PeriodRange

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





        PeriodRange --> "0..1" PeriodBound : lowerBound
        click PeriodBound href "../PeriodBound/"



      PeriodRange : upperBound





        PeriodRange --> "0..1" PeriodBound : upperBound
        click PeriodBound href "../PeriodBound/"



Slots

Name Cardinality and Range Description Inheritance
lowerBound 0..1
PeriodBound
Specifies the lower bound of a period range, e direct
upperBound 0..1
PeriodBound
Specifies the upper bound of a period range, e direct

Usages

used by used in type used
AssetMaturity maturityRange range PeriodRange

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:PeriodRange
native common_domain_model:PeriodRange

LinkML Source

Direct

name: PeriodRange
description: Indicates The period range defined as either a lower and upper period
  bound, or both.
comments:
- 'Rosetta condition: AtLeastOneOf  lowerBound exists or upperBound exists'
in_subset:
- cdm_base_datetime
from_schema: https://w3id.org/lmodel/common-domain-model
slots:
- lowerBound
- upperBound
rules:
- postconditions:
    any_of:
    - slot_conditions:
        lowerBound:
          name: lowerBound
          required: true
    - slot_conditions:
        upperBound:
          name: upperBound
          required: true
  description: AtLeastOneOf

Induced

name: PeriodRange
description: Indicates The period range defined as either a lower and upper period
  bound, or both.
comments:
- 'Rosetta condition: AtLeastOneOf  lowerBound exists or upperBound exists'
in_subset:
- cdm_base_datetime
from_schema: https://w3id.org/lmodel/common-domain-model
attributes:
  lowerBound:
    name: lowerBound
    description: Specifies the lower bound of a period range, e.g. greater than or
      equal to 5Y.
    from_schema: https://w3id.org/lmodel/common-domain-model
    rank: 1000
    owner: PeriodRange
    domain_of:
    - PeriodRange
    - NumberRange
    - MoneyRange
    range: PeriodBound
  upperBound:
    name: upperBound
    description: Specifies the upper bound of a period range, e.g. less than to 10Y.
    from_schema: https://w3id.org/lmodel/common-domain-model
    rank: 1000
    owner: PeriodRange
    domain_of:
    - PeriodRange
    - NumberRange
    - MoneyRange
    range: PeriodBound
rules:
- postconditions:
    any_of:
    - slot_conditions:
        lowerBound:
          name: lowerBound
          required: true
    - slot_conditions:
        upperBound:
          name: upperBound
          required: true
  description: AtLeastOneOf