Class: Instruction
Instruction to a function that will be used to perform a business event
URI: common_domain_model:Instruction
classDiagram
class Instruction
click Instruction href "../Instruction/"
Instruction : before
Instruction --> "0..1" TradeState : before
click TradeState href "../TradeState/"
Instruction : primitiveInstruction
Instruction --> "0..1" PrimitiveInstruction : primitiveInstruction
click PrimitiveInstruction href "../PrimitiveInstruction/"
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| primitiveInstruction | 0..1 PrimitiveInstruction |
Specifies the primitive instructions that will be used to call primitive even… | direct |
| before | 0..1 TradeState |
Specifies the trade state that will be acted on by the primitive event functi… | direct |
Usages
Section titled “Usages”| used by | used in | type | used |
|---|---|---|---|
| BusinessEvent | instruction | range | Instruction |
| EventInstruction | instruction | range | Instruction |
Comments
Section titled “Comments”- Rosetta condition ExclusiveSplitPrimitive is not stated in LinkML: if primitiveInstruction -> split exists then primitiveInstruction -> split only exists
- Rosetta condition NewTrade is not stated in LinkML: (if primitiveInstruction -> execution exists then before is absent else True) and (if before is absent then primitiveInstruction -> execution exists else True)
Identifier and Mapping Information
Section titled “Identifier and Mapping Information”Annotations
Section titled “Annotations”| property | value |
|---|---|
| rosetta_root_type | 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:Instruction |
| native | common_domain_model:Instruction |
LinkML Source
Section titled “LinkML Source”Direct
Section titled “Direct”name: Instructionannotations: rosetta_root_type: tag: rosetta_root_type value: 'true'description: Instruction to a function that will be used to perform a business eventcomments:- 'Rosetta condition ExclusiveSplitPrimitive is not stated in LinkML: if primitiveInstruction -> split exists then primitiveInstruction -> split only exists'- 'Rosetta condition NewTrade is not stated in LinkML: (if primitiveInstruction -> execution exists then before is absent else True) and (if before is absent then primitiveInstruction -> execution exists else True)'from_schema: https://w3id.org/lmodel/common-domain-modelattributes: primitiveInstruction: name: primitiveInstruction description: Specifies the primitive instructions that will be used to call primitive event functions. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common domain_of: - AgreementInstruction - Instruction range: PrimitiveInstruction before: name: before annotations: rosetta_metadata: tag: rosetta_metadata value: reference description: Specifies the trade state that will be acted on by the primitive event functions. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common domain_of: - AgreementInstruction - Instruction range: TradeStateInduced
Section titled “Induced”name: Instructionannotations: rosetta_root_type: tag: rosetta_root_type value: 'true'description: Instruction to a function that will be used to perform a business eventcomments:- 'Rosetta condition ExclusiveSplitPrimitive is not stated in LinkML: if primitiveInstruction -> split exists then primitiveInstruction -> split only exists'- 'Rosetta condition NewTrade is not stated in LinkML: (if primitiveInstruction -> execution exists then before is absent else True) and (if before is absent then primitiveInstruction -> execution exists else True)'from_schema: https://w3id.org/lmodel/common-domain-modelattributes: primitiveInstruction: name: primitiveInstruction description: Specifies the primitive instructions that will be used to call primitive event functions. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common owner: Instruction domain_of: - AgreementInstruction - Instruction range: PrimitiveInstruction before: name: before annotations: rosetta_metadata: tag: rosetta_metadata value: reference description: Specifies the trade state that will be acted on by the primitive event functions. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common owner: Instruction domain_of: - AgreementInstruction - Instruction range: TradeState