Skip to content

Class: Measure

Defines a concrete measure as a single number associated to a unit. It extends MeasureBase by requiring a single value attribute to be present. A measure may be unit-less so the unit attribute is still optional.

URI: common_domain_model:Measure

 classDiagram
    class Measure
    click Measure href "../Measure/"
      MeasureBase <|-- Measure
        click MeasureBase href "../MeasureBase/"
      

      Measure <|-- NonNegativeMeasure
        click NonNegativeMeasure href "../NonNegativeMeasure/"
      

      Measure : datedValue
        
          
    
        
        
        Measure --> "*" DatedValue : datedValue
        click DatedValue href "../DatedValue/"
    

        
      Measure : unit
        
          
    
        
        
        Measure --> "0..1" UnitType : unit
        click UnitType href "../UnitType/"
    

        
      Measure : value
        
      
Name Cardinality and Range Description Inheritance
unit 0..1
UnitType
Qualifies the unit by which the amount is measured MeasureBase
value 1
Decimal
The value attribute must be present in a concrete measure Schedule
datedValue *
DatedValue
The schedule of step date and value pairs must be absent Schedule
Expressions & Logic

The class must satisfy all of:

  • AnonymousClassExpression({ ‘description’: (’From Schedule. ValueExists: A schedule may be specified as a single value or ’ ’as a set of date-value pairs. Both attributes may be specified, in which ’ ‘case the single amount number is the initial value.’), ‘any_of’: [AnonymousClassExpression({ ‘slot_conditions’: {‘value’: SlotDefinition({‘name’: ‘value’, ‘value_presence’: PresenceEnum(text=‘PRESENT’)})} }), AnonymousClassExpression({ ‘slot_conditions’: {‘datedValue’: SlotDefinition({‘name’: ‘datedValue’, ‘value_presence’: PresenceEnum(text=‘PRESENT’)})} })] })
  • AnonymousClassExpression({ ‘description’: (’DatedValueIsAbsent: Work around to ensure datedValue is absent because the 0 ’ ‘cardinality is not adequately handled at the language level.’), ‘slot_conditions’: {‘datedValue’: SlotDefinition({‘name’: ‘datedValue’, ‘value_presence’: PresenceEnum(text=‘ABSENT’)})} })
Mapping Type Mapped Value
self common_domain_model:Measure
native common_domain_model:Measure
name: Measure
description: Defines a concrete measure as a single number associated to a unit. It
extends MeasureBase by requiring a single value attribute to be present. A measure
may be unit-less so the unit attribute is still optional.
from_schema: https://w3id.org/lmodel/common-domain-model
is_a: MeasureBase
slot_usage:
value:
name: value
description: The value attribute must be present in a concrete measure.
range: decimal
required: true
datedValue:
name: datedValue
description: The schedule of step date and value pairs must be absent.
range: DatedValue
all_of:
- description: 'From Schedule. ValueExists: A schedule may be specified as a single
value or as a set of date-value pairs. Both attributes may be specified, in which
case the single amount number is the initial value.'
any_of:
- slot_conditions:
value:
name: value
value_presence: PRESENT
- slot_conditions:
datedValue:
name: datedValue
value_presence: PRESENT
- description: 'DatedValueIsAbsent: Work around to ensure datedValue is absent because
the 0 cardinality is not adequately handled at the language level.'
slot_conditions:
datedValue:
name: datedValue
value_presence: ABSENT
name: Measure
description: Defines a concrete measure as a single number associated to a unit. It
extends MeasureBase by requiring a single value attribute to be present. A measure
may be unit-less so the unit attribute is still optional.
from_schema: https://w3id.org/lmodel/common-domain-model
is_a: MeasureBase
slot_usage:
value:
name: value
description: The value attribute must be present in a concrete measure.
range: decimal
required: true
datedValue:
name: datedValue
description: The schedule of step date and value pairs must be absent.
range: DatedValue
attributes:
unit:
name: unit
description: Qualifies the unit by which the amount is measured. Optional because
a measure may be unit-less (e.g. when representing a ratio between amounts in
the same unit).
from_schema: https://w3id.org/lmodel/common-domain-model
rank: 1000
owner: Measure
domain_of:
- MeasureBase
range: UnitType
value:
name: value
description: The value attribute must be present in a concrete measure.
from_schema: https://w3id.org/lmodel/common-domain-model
owner: Measure
domain_of:
- DatedValue
- Schedule
- Taxonomy
- TaxonomyClassification
- CodeValue
- AccrualFactor
- AdjustmentFactor
- ClauseLibraryVariableSet
- CSAMinimumTransferAmountVariableSet
- CSAThresholdVariableSet
- DisputeResolution
- OtherEligibleAndPostedSupport
range: decimal
required: true
datedValue:
name: datedValue
description: The schedule of step date and value pairs must be absent.
from_schema: https://w3id.org/lmodel/common-domain-model
rank: 1000
owner: Measure
domain_of:
- Schedule
range: DatedValue
multivalued: true
all_of:
- description: 'From Schedule. ValueExists: A schedule may be specified as a single
value or as a set of date-value pairs. Both attributes may be specified, in which
case the single amount number is the initial value.'
any_of:
- slot_conditions:
value:
name: value
value_presence: PRESENT
- slot_conditions:
datedValue:
name: datedValue
value_presence: PRESENT
- description: 'DatedValueIsAbsent: Work around to ensure datedValue is absent because
the 0 cardinality is not adequately handled at the language level.'
slot_conditions:
datedValue:
name: datedValue
value_presence: ABSENT