Class: AdjustableOrRelativeDate
A class giving the choice between defining a date as an explicit date together with applicable adjustments or as relative to some other (anchor) date.
URI: common_domain_model:AdjustableOrRelativeDate
classDiagram
class AdjustableOrRelativeDate
click AdjustableOrRelativeDate href "../AdjustableOrRelativeDate/"
AdjustableOrRelativeDate : adjustableDate
AdjustableOrRelativeDate --> "0..1" AdjustableDate : adjustableDate
click AdjustableDate href "../AdjustableDate/"
AdjustableOrRelativeDate : relativeDate
AdjustableOrRelativeDate --> "0..1" AdjustedRelativeDateOffset : relativeDate
click AdjustedRelativeDateOffset href "../AdjustedRelativeDateOffset/"
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| adjustableDate | 0..1 AdjustableDate |
A date that shall be subject to adjustment if it would otherwise fall on a da… | direct |
| relativeDate | 0..1 AdjustedRelativeDateOffset |
A date specified as some offset to another date (the anchor date) | direct |
Expressions & Logic
All Of
Section titled “All Of”The class must satisfy all of:
- AnonymousClassExpression({ ‘description’: (’AdjustableOrRelativeDateChoice: Choice rule to represent an FpML choice ’ ‘construct.’), ‘exactly_one_of’: [AnonymousClassExpression({ ‘slot_conditions’: {‘adjustableDate’: SlotDefinition({‘name’: ‘adjustableDate’, ‘value_presence’: PresenceEnum(text=‘PRESENT’)})} }), AnonymousClassExpression({ ‘slot_conditions’: {‘relativeDate’: SlotDefinition({‘name’: ‘relativeDate’, ‘value_presence’: PresenceEnum(text=‘PRESENT’)})} })] })
Usages
Section titled “Usages”Identifier and Mapping Information
Section titled “Identifier and Mapping Information”Annotations
Section titled “Annotations”| property | value |
|---|---|
| rosetta_metadata | key |
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:AdjustableOrRelativeDate |
| native | common_domain_model:AdjustableOrRelativeDate |
LinkML Source
Section titled “LinkML Source”Direct
Section titled “Direct”name: AdjustableOrRelativeDateannotations: rosetta_metadata: tag: rosetta_metadata value: keydescription: A class giving the choice between defining a date as an explicit date together with applicable adjustments or as relative to some other (anchor) date.from_schema: https://w3id.org/lmodel/common-domain-modelattributes: adjustableDate: name: adjustableDate description: A date that shall be subject to adjustment if it 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/cdm_base_datetime rank: 1000 domain_of: - AdjustableOrRelativeDate range: AdjustableDate relativeDate: name: relativeDate description: A date specified as some offset to another date (the anchor date). from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime domain_of: - AdjustableOrAdjustedOrRelativeDate - AdjustableOrRelativeDate - Composite range: AdjustedRelativeDateOffsetall_of:- description: 'AdjustableOrRelativeDateChoice: Choice rule to represent an FpML choice construct.' exactly_one_of: - slot_conditions: adjustableDate: name: adjustableDate value_presence: PRESENT - slot_conditions: relativeDate: name: relativeDate value_presence: PRESENTInduced
Section titled “Induced”name: AdjustableOrRelativeDateannotations: rosetta_metadata: tag: rosetta_metadata value: keydescription: A class giving the choice between defining a date as an explicit date together with applicable adjustments or as relative to some other (anchor) date.from_schema: https://w3id.org/lmodel/common-domain-modelattributes: adjustableDate: name: adjustableDate description: A date that shall be subject to adjustment if it 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/cdm_base_datetime rank: 1000 owner: AdjustableOrRelativeDate domain_of: - AdjustableOrRelativeDate range: AdjustableDate relativeDate: name: relativeDate description: A date specified as some offset to another date (the anchor date). from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime owner: AdjustableOrRelativeDate domain_of: - AdjustableOrAdjustedOrRelativeDate - AdjustableOrRelativeDate - Composite range: AdjustedRelativeDateOffsetall_of:- description: 'AdjustableOrRelativeDateChoice: Choice rule to represent an FpML choice construct.' exactly_one_of: - slot_conditions: adjustableDate: name: adjustableDate value_presence: PRESENT - slot_conditions: relativeDate: name: relativeDate value_presence: PRESENT