Class: CalculationFrequency
Represents the parameters for describing how often something (such as collateral interest) is to be calculated.
URI: common_domain_model:CalculationFrequency
classDiagram
class CalculationFrequency
click CalculationFrequency href "../CalculationFrequency/"
CalculationFrequency : businessCenter
CalculationFrequency --> "*" BusinessCenter : businessCenter
click BusinessCenter href "../BusinessCenter/"
CalculationFrequency : dateLocation
CalculationFrequency --> "1" BusinessCenterTime : dateLocation
click BusinessCenterTime href "../BusinessCenterTime/"
CalculationFrequency : dayOfMonth
CalculationFrequency : dayOfWeek
CalculationFrequency --> "0..1" DayOfWeekEnum : dayOfWeek
click DayOfWeekEnum href "../DayOfWeekEnum/"
CalculationFrequency : monthOfYear
CalculationFrequency : offsetDays
CalculationFrequency : period
CalculationFrequency --> "1" Period : period
click Period href "../Period/"
CalculationFrequency : weekOfMonth
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| period | 1 Period |
Specifies the time period at which calculation is performed, e | direct |
| monthOfYear | 0..1 Decimal |
Specifies the month of the year if used | direct |
| dayOfMonth | 0..1 Decimal |
Specifies the day of the month if used | direct |
| dayOfWeek | 0..1 DayOfWeekEnum |
Specifies the day of the week if used | direct |
| weekOfMonth | 0..1 Decimal |
Specifies the week of the month if used | direct |
| offsetDays | 1 Decimal |
Specifies how many days from the trigger event should the payment occur | direct |
| dateLocation | 1 BusinessCenterTime |
Specifies where is the time measured | direct |
| businessCenter | * BusinessCenter |
Specifies the business center for adjustment of calculation period | direct |
Usages
Section titled “Usages”| used by | used in | type | used |
|---|---|---|---|
| CollateralInterestParameters | interestCalculationFrequency | range | CalculationFrequency |
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| slot_conditions | {'monthOfYear': {'value_presence': 'PRESENT'}} |
{'monthOfYear': {'maximum_value': 12, 'value_presence': 'PRESENT'}} |
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| slot_conditions | {'dayOfMonth': {'value_presence': 'PRESENT'}} |
{'dayOfMonth': {'maximum_value': 31, 'value_presence': 'PRESENT'}} |
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| slot_conditions | {'weekOfMonth': {'value_presence': 'PRESENT'}} |
{'weekOfMonth': {'maximum_value': 5, 'value_presence': 'PRESENT'}} |
Comments
Section titled “Comments”- Rosetta condition MoyTerm is not stated in LinkML: if monthOfYear exists then (period -> period = PeriodEnum -> Y)
- Rosetta condition DomTerm is not stated in LinkML: if dayOfMonth exists then (period -> period = PeriodEnum -> M)
- Rosetta condition DowTerm is not stated in LinkML: if dayOfWeek exists then (period -> period = PeriodEnum -> W)
- Rosetta condition WomTerm is not stated in LinkML: if weekOfMonth exists then (period -> period = PeriodEnum -> M)
Identifier and Mapping Information
Section titled “Identifier and Mapping Information”Schema Source
Section titled “Schema Source”- from schema: https://w3id.org/lmodel/common-domain-model
Mappings
Section titled “Mappings”| Mapping Type | Mapped Value |
|---|---|
| self | common_domain_model:CalculationFrequency |
| native | common_domain_model:CalculationFrequency |
LinkML Source
Section titled “LinkML Source”Direct
Section titled “Direct”name: CalculationFrequencydescription: Represents the parameters for describing how often something (such as collateral interest) is to be calculated.comments:- 'Rosetta condition MoyTerm is not stated in LinkML: if monthOfYear exists then (period -> period = PeriodEnum -> Y)'- 'Rosetta condition DomTerm is not stated in LinkML: if dayOfMonth exists then (period -> period = PeriodEnum -> M)'- 'Rosetta condition DowTerm is not stated in LinkML: if dayOfWeek exists then (period -> period = PeriodEnum -> W)'- 'Rosetta condition WomTerm is not stated in LinkML: if weekOfMonth exists then (period -> period = PeriodEnum -> M)'from_schema: https://w3id.org/lmodel/common-domain-modelattributes: period: name: period description: Specifies the time period at which calculation is performed, e.g. 1 month. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 domain_of: - CalculationFrequency - Frequency - Period - PeriodBound - Velocity - AverageTradingVolume range: Period required: true monthOfYear: name: monthOfYear description: Specifies the month of the year if used. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 domain_of: - CalculationFrequency range: decimal dayOfMonth: name: dayOfMonth description: Specifies the day of the month if used. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 domain_of: - CalculationFrequency range: decimal dayOfWeek: name: dayOfWeek description: Specifies the day of the week if used. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 domain_of: - CalculationFrequency - ParametricDates - AssetDeliveryProfileBlock range: DayOfWeekEnum weekOfMonth: name: weekOfMonth description: Specifies the week of the month if used. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 domain_of: - CalculationFrequency range: decimal offsetDays: name: offsetDays description: Specifies how many days from the trigger event should the payment occur. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 domain_of: - CalculationFrequency - ObservationShiftCalculation - OffsetCalculation range: decimal required: true dateLocation: name: dateLocation description: Specifies where is the time measured. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 domain_of: - CalculationFrequency range: BusinessCenterTime required: true businessCenter: name: businessCenter description: Specifies the business center for adjustment of calculation period. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime domain_of: - BusinessCenterTime - BusinessCenters - CalculationFrequency - ValuationCalculationDateLocationElection - CreditEventNotice - ExerciseNotice range: BusinessCenter multivalued: truerules:- preconditions: slot_conditions: monthOfYear: name: monthOfYear value_presence: PRESENT postconditions: slot_conditions: monthOfYear: name: monthOfYear maximum_value: 12 value_presence: PRESENT description: Moy- preconditions: slot_conditions: dayOfMonth: name: dayOfMonth value_presence: PRESENT postconditions: slot_conditions: dayOfMonth: name: dayOfMonth maximum_value: 31 value_presence: PRESENT description: Dom- preconditions: slot_conditions: weekOfMonth: name: weekOfMonth value_presence: PRESENT postconditions: slot_conditions: weekOfMonth: name: weekOfMonth maximum_value: 5 value_presence: PRESENT description: WomInduced
Section titled “Induced”name: CalculationFrequencydescription: Represents the parameters for describing how often something (such as collateral interest) is to be calculated.comments:- 'Rosetta condition MoyTerm is not stated in LinkML: if monthOfYear exists then (period -> period = PeriodEnum -> Y)'- 'Rosetta condition DomTerm is not stated in LinkML: if dayOfMonth exists then (period -> period = PeriodEnum -> M)'- 'Rosetta condition DowTerm is not stated in LinkML: if dayOfWeek exists then (period -> period = PeriodEnum -> W)'- 'Rosetta condition WomTerm is not stated in LinkML: if weekOfMonth exists then (period -> period = PeriodEnum -> M)'from_schema: https://w3id.org/lmodel/common-domain-modelattributes: period: name: period description: Specifies the time period at which calculation is performed, e.g. 1 month. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 owner: CalculationFrequency domain_of: - CalculationFrequency - Frequency - Period - PeriodBound - Velocity - AverageTradingVolume range: Period required: true monthOfYear: name: monthOfYear description: Specifies the month of the year if used. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 owner: CalculationFrequency domain_of: - CalculationFrequency range: decimal dayOfMonth: name: dayOfMonth description: Specifies the day of the month if used. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 owner: CalculationFrequency domain_of: - CalculationFrequency range: decimal dayOfWeek: name: dayOfWeek description: Specifies the day of the week if used. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 owner: CalculationFrequency domain_of: - CalculationFrequency - ParametricDates - AssetDeliveryProfileBlock range: DayOfWeekEnum weekOfMonth: name: weekOfMonth description: Specifies the week of the month if used. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 owner: CalculationFrequency domain_of: - CalculationFrequency range: decimal offsetDays: name: offsetDays description: Specifies how many days from the trigger event should the payment occur. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 owner: CalculationFrequency domain_of: - CalculationFrequency - ObservationShiftCalculation - OffsetCalculation range: decimal required: true dateLocation: name: dateLocation description: Specifies where is the time measured. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 owner: CalculationFrequency domain_of: - CalculationFrequency range: BusinessCenterTime required: true businessCenter: name: businessCenter description: Specifies the business center for adjustment of calculation period. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime owner: CalculationFrequency domain_of: - BusinessCenterTime - BusinessCenters - CalculationFrequency - ValuationCalculationDateLocationElection - CreditEventNotice - ExerciseNotice range: BusinessCenter multivalued: truerules:- preconditions: slot_conditions: monthOfYear: name: monthOfYear value_presence: PRESENT postconditions: slot_conditions: monthOfYear: name: monthOfYear maximum_value: 12 value_presence: PRESENT description: Moy- preconditions: slot_conditions: dayOfMonth: name: dayOfMonth value_presence: PRESENT postconditions: slot_conditions: dayOfMonth: name: dayOfMonth maximum_value: 31 value_presence: PRESENT description: Dom- preconditions: slot_conditions: weekOfMonth: name: weekOfMonth value_presence: PRESENT postconditions: slot_conditions: weekOfMonth: name: weekOfMonth maximum_value: 5 value_presence: PRESENT description: Wom