Class: AdjustableRelativeOrPeriodicDates
A class giving the choice between defining a series of dates as an explicit list of dates together with applicable adjustments or as relative to some other series of (anchor) dates, or as a calculation period schedule.
URI: common_domain_model:AdjustableRelativeOrPeriodicDates
classDiagram
class AdjustableRelativeOrPeriodicDates
click AdjustableRelativeOrPeriodicDates href "../AdjustableRelativeOrPeriodicDates/"
AdjustableRelativeOrPeriodicDates : adjustableDates
AdjustableRelativeOrPeriodicDates --> "0..1" AdjustableDates : adjustableDates
click AdjustableDates href "../AdjustableDates/"
AdjustableRelativeOrPeriodicDates : periodicDates
AdjustableRelativeOrPeriodicDates --> "0..1" PeriodicDates : periodicDates
click PeriodicDates href "../PeriodicDates/"
AdjustableRelativeOrPeriodicDates : relativeDates
AdjustableRelativeOrPeriodicDates --> "0..1" RelativeDates : relativeDates
click RelativeDates href "../RelativeDates/"
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| adjustableDates | 0..1 AdjustableDates |
A series of dates that shall be subject to adjustment if they would otherwise... | direct |
| relativeDates | 0..1 RelativeDates |
A series of dates specified as some offset to another series of dates (the an... | direct |
| periodicDates | 0..1 PeriodicDates |
A calculation period schedule | direct |
Usages
Rules
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
In Subsets
Comments
- Rosetta condition: AdjustableRelativeOrPeriodicDatesChoice — required choice adjustableDates, relativeDates, periodicDates
- Rosetta func: ResolveAdjustableDates
Identifier and Mapping Information
Annotations
| property | value |
|---|---|
| metadata_key | True |
| rosetta_functions | [{"name":"ResolveAdjustableDates","inputs":[{"name":"adjustableRelativeOrPeriodicDates","type":"AdjustableRelativeOrPeriodicDates","cardinality":"1..1"}],"output":{"name":"adjustedDates","type":"date","cardinality":"0..*"},"code_implementation":true}] |
Schema Source
- from schema: https://w3id.org/lmodel/common-domain-model
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | common_domain_model:AdjustableRelativeOrPeriodicDates |
| native | common_domain_model:AdjustableRelativeOrPeriodicDates |
| close | fpml_5_10:AdjustableRelativeOrPeriodicDates |
LinkML Source
Direct
name: AdjustableRelativeOrPeriodicDates
annotations:
metadata_key:
tag: metadata_key
value: true
rosetta_functions:
tag: rosetta_functions
value: '[{"name":"ResolveAdjustableDates","inputs":[{"name":"adjustableRelativeOrPeriodicDates","type":"AdjustableRelativeOrPeriodicDates","cardinality":"1..1"}],"output":{"name":"adjustedDates","type":"date","cardinality":"0..*"},"code_implementation":true}]'
description: A class giving the choice between defining a series of dates as an explicit
list of dates together with applicable adjustments or as relative to some other
series of (anchor) dates, or as a calculation period schedule.
comments:
- 'Rosetta condition: AdjustableRelativeOrPeriodicDatesChoice — required choice adjustableDates,
relativeDates, periodicDates'
- 'Rosetta func: ResolveAdjustableDates'
in_subset:
- cdm_base_datetime
from_schema: https://w3id.org/lmodel/common-domain-model
close_mappings:
- fpml_5_10:AdjustableRelativeOrPeriodicDates
slots:
- adjustableDates
- relativeDates
- periodicDates
rules:
- postconditions:
exactly_one_of:
- slot_conditions:
adjustableDates:
name: adjustableDates
required: true
- slot_conditions:
relativeDates:
name: relativeDates
required: true
- slot_conditions:
periodicDates:
name: periodicDates
required: true
description: Choice rule to represent an FpML choice construct.
Induced
name: AdjustableRelativeOrPeriodicDates
annotations:
metadata_key:
tag: metadata_key
value: true
rosetta_functions:
tag: rosetta_functions
value: '[{"name":"ResolveAdjustableDates","inputs":[{"name":"adjustableRelativeOrPeriodicDates","type":"AdjustableRelativeOrPeriodicDates","cardinality":"1..1"}],"output":{"name":"adjustedDates","type":"date","cardinality":"0..*"},"code_implementation":true}]'
description: A class giving the choice between defining a series of dates as an explicit
list of dates together with applicable adjustments or as relative to some other
series of (anchor) dates, or as a calculation period schedule.
comments:
- 'Rosetta condition: AdjustableRelativeOrPeriodicDatesChoice — required choice adjustableDates,
relativeDates, periodicDates'
- 'Rosetta func: ResolveAdjustableDates'
in_subset:
- cdm_base_datetime
from_schema: https://w3id.org/lmodel/common-domain-model
close_mappings:
- fpml_5_10:AdjustableRelativeOrPeriodicDates
attributes:
adjustableDates:
name: adjustableDates
description: A series of dates that shall be subject to adjustment if they would
otherwise fall on a day that is not a business day in the specified business
centers, together with the convention for adjusting the date.
from_schema: https://w3id.org/lmodel/common-domain-model
close_mappings:
- fpml_5_10:AdjustableOrRelativeDates.adjustableDates
rank: 1000
owner: AdjustableRelativeOrPeriodicDates
domain_of:
- AdjustableOrRelativeDates
- AdjustableRelativeOrPeriodicDates
- SettlementDate
range: AdjustableDates
relativeDates:
name: relativeDates
description: A series of dates specified as some offset to another series of dates
(the anchor dates).
from_schema: https://w3id.org/lmodel/common-domain-model
close_mappings:
- fpml_5_10:AdjustableOrRelativeDates.relativeDates
rank: 1000
owner: AdjustableRelativeOrPeriodicDates
domain_of:
- AdjustableOrRelativeDates
- AdjustableRelativeOrPeriodicDates
range: RelativeDates
periodicDates:
name: periodicDates
description: A calculation period schedule.
from_schema: https://w3id.org/lmodel/common-domain-model
close_mappings:
- fpml_5_10:AdjustableRelativeOrPeriodicDates.periodicDates
rank: 1000
owner: AdjustableRelativeOrPeriodicDates
domain_of:
- AdjustableRelativeOrPeriodicDates
range: PeriodicDates
rules:
- postconditions:
exactly_one_of:
- slot_conditions:
adjustableDates:
name: adjustableDates
required: true
- slot_conditions:
relativeDates:
name: relativeDates
required: true
- slot_conditions:
periodicDates:
name: periodicDates
required: true
description: Choice rule to represent an FpML choice construct.