Class: DirectionRatingSet
A logical container to hold a defined set of related data. In this case the collation of Ratings Agency, Rating value and an associated direction that are grouped by either AND or OR logic.
URI: common_domain_model:DirectionRatingSet
classDiagram
class DirectionRatingSet
click DirectionRatingSet href "../DirectionRatingSet/"
DirectionRatingSet : AllDirectionRating
DirectionRatingSet --> "0..1" AllDirectionRating : AllDirectionRating
click AllDirectionRating href "../AllDirectionRating/"
DirectionRatingSet : AnyDirectionRating
DirectionRatingSet --> "0..1" AnyDirectionRating : AnyDirectionRating
click AnyDirectionRating href "../AnyDirectionRating/"
DirectionRatingSet : DirectionRating
DirectionRatingSet --> "0..1" DirectionRating : DirectionRating
click DirectionRating href "../DirectionRating/"
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| AllDirectionRating | 0..1 AllDirectionRating |
Enables two or more Direction and Ratings to be combined using AND logic | direct |
| AnyDirectionRating | 0..1 AnyDirectionRating |
Enables two or more Direction and Ratings to be combined using OR logic | direct |
| DirectionRating | 0..1 DirectionRating |
A logical container to hold a defined set of related data | direct |
Expressions & Logic
All Of
Section titled “All Of”The class must satisfy all of:
- AnonymousClassExpression({ ‘description’: ‘OneOf: A choice type holds exactly one of its options.’, ‘exactly_one_of’: [AnonymousClassExpression({ ‘slot_conditions’: {‘AllDirectionRating’: SlotDefinition({‘name’: ‘AllDirectionRating’, ‘value_presence’: PresenceEnum(text=‘PRESENT’)})} }), AnonymousClassExpression({ ‘slot_conditions’: {‘AnyDirectionRating’: SlotDefinition({‘name’: ‘AnyDirectionRating’, ‘value_presence’: PresenceEnum(text=‘PRESENT’)})} }), AnonymousClassExpression({ ‘slot_conditions’: {‘DirectionRating’: SlotDefinition({‘name’: ‘DirectionRating’, ‘value_presence’: PresenceEnum(text=‘PRESENT’)})} })] })
Usages
Section titled “Usages”| used by | used in | type | used |
|---|---|---|---|
| AllDirectionRating | allDirectionRating | range | DirectionRatingSet |
| AnyDirectionRating | anyDirectionRating | range | DirectionRatingSet |
| DirectionRatingMultiplier | variableSet | range | DirectionRatingSet |
Identifier and Mapping Information
Section titled “Identifier and Mapping Information”Annotations
Section titled “Annotations”| property | value |
|---|---|
| rosetta_choice | true |
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:DirectionRatingSet |
| native | common_domain_model:DirectionRatingSet |
LinkML Source
Section titled “LinkML Source”Direct
Section titled “Direct”name: DirectionRatingSetannotations: rosetta_choice: tag: rosetta_choice value: 'true'description: A logical container to hold a defined set of related data. In this case the collation of Ratings Agency, Rating value and an associated direction that are grouped by either AND or OR logic.from_schema: https://w3id.org/lmodel/common-domain-modelattributes: AllDirectionRating: name: AllDirectionRating description: Enables two or more Direction and Ratings to be combined using AND logic. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_legaldocumentation_csa rank: 1000 domain_of: - DirectionRatingSet range: AllDirectionRating AnyDirectionRating: name: AnyDirectionRating description: Enables two or more Direction and Ratings to be combined using OR logic. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_legaldocumentation_csa rank: 1000 domain_of: - DirectionRatingSet range: AnyDirectionRating DirectionRating: name: DirectionRating description: A logical container to hold a defined set of related data. In this case the collation of Ratings Agency, Rating value and an associated direction. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_legaldocumentation_csa rank: 1000 domain_of: - DirectionRatingSet range: DirectionRatingall_of:- description: 'OneOf: A choice type holds exactly one of its options.' exactly_one_of: - slot_conditions: AllDirectionRating: name: AllDirectionRating value_presence: PRESENT - slot_conditions: AnyDirectionRating: name: AnyDirectionRating value_presence: PRESENT - slot_conditions: DirectionRating: name: DirectionRating value_presence: PRESENTInduced
Section titled “Induced”name: DirectionRatingSetannotations: rosetta_choice: tag: rosetta_choice value: 'true'description: A logical container to hold a defined set of related data. In this case the collation of Ratings Agency, Rating value and an associated direction that are grouped by either AND or OR logic.from_schema: https://w3id.org/lmodel/common-domain-modelattributes: AllDirectionRating: name: AllDirectionRating description: Enables two or more Direction and Ratings to be combined using AND logic. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_legaldocumentation_csa rank: 1000 owner: DirectionRatingSet domain_of: - DirectionRatingSet range: AllDirectionRating AnyDirectionRating: name: AnyDirectionRating description: Enables two or more Direction and Ratings to be combined using OR logic. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_legaldocumentation_csa rank: 1000 owner: DirectionRatingSet domain_of: - DirectionRatingSet range: AnyDirectionRating DirectionRating: name: DirectionRating description: A logical container to hold a defined set of related data. In this case the collation of Ratings Agency, Rating value and an associated direction. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_legaldocumentation_csa rank: 1000 owner: DirectionRatingSet domain_of: - DirectionRatingSet range: DirectionRatingall_of:- description: 'OneOf: A choice type holds exactly one of its options.' exactly_one_of: - slot_conditions: AllDirectionRating: name: AllDirectionRating value_presence: PRESENT - slot_conditions: AnyDirectionRating: name: AnyDirectionRating value_presence: PRESENT - slot_conditions: DirectionRating: name: DirectionRating value_presence: PRESENT