Skip to content

Class: NonNegativeMeasure

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

URI: common_domain_model:NonNegativeMeasure

 classDiagram
    class NonNegativeMeasure
    click NonNegativeMeasure href "../NonNegativeMeasure/"
      Measure <|-- NonNegativeMeasure
        click Measure href "../Measure/"
      
      NonNegativeMeasure : datedValue
        
          
    
        
        
        NonNegativeMeasure --> "*" DatedValue : datedValue
        click DatedValue href "../DatedValue/"
    

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

        
      NonNegativeMeasure : value
        
      
Name Cardinality and Range Description Inheritance
unit 0..1
UnitType
Qualifies the unit by which the amount is measured MeasureBase
value 1
NonNegativeNumber
The value attribute must be present in a concrete measure and non-negative 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’: (’From Measure. 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’)})} })
used by used in type used
NonNegativeQuantity multiplier range NonNegativeMeasure
NonNegativeQuantitySchedule multiplier range NonNegativeMeasure
Quantity multiplier range NonNegativeMeasure
QuantitySchedule multiplier range NonNegativeMeasure
Money multiplier range NonNegativeMeasure
Mapping Type Mapped Value
self common_domain_model:NonNegativeMeasure
native common_domain_model:NonNegativeMeasure
name: NonNegativeMeasure
description: Defines a concrete non-negative measure as a number associated to a unit.
It extends Measure by requiring the value attribute to be non-negative. A measure
may be unit-less so the unit attribute is still optional.
from_schema: https://w3id.org/lmodel/common-domain-model
is_a: Measure
slot_usage:
value:
name: value
description: The value attribute must be present in a concrete measure and non-negative.
range: NonNegativeNumber
required: 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: 'From Measure. 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: NonNegativeMeasure
description: Defines a concrete non-negative measure as a number associated to a unit.
It extends Measure by requiring the value attribute to be non-negative. A measure
may be unit-less so the unit attribute is still optional.
from_schema: https://w3id.org/lmodel/common-domain-model
is_a: Measure
slot_usage:
value:
name: value
description: The value attribute must be present in a concrete measure and non-negative.
range: NonNegativeNumber
required: true
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: NonNegativeMeasure
domain_of:
- MeasureBase
range: UnitType
value:
name: value
description: The value attribute must be present in a concrete measure and non-negative.
from_schema: https://w3id.org/lmodel/common-domain-model
owner: NonNegativeMeasure
domain_of:
- DatedValue
- Schedule
- Taxonomy
- TaxonomyClassification
- CodeValue
- AccrualFactor
- AdjustmentFactor
- ClauseLibraryVariableSet
- CSAMinimumTransferAmountVariableSet
- CSAThresholdVariableSet
- DisputeResolution
- OtherEligibleAndPostedSupport
range: NonNegativeNumber
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: NonNegativeMeasure
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: 'From Measure. 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