203 lines
6.1 KiB
YAML
203 lines
6.1 KiB
YAML
---
|
|
# this is neat. by specifying 'customTagName', we can define new instance
|
|
# generation methods within the YAML itself!
|
|
# specify 'customTagName' on the instance for the defining tag name
|
|
# then specify 'customTagName' on each attribute or relationship to
|
|
# define the attributes/relationships that get set on the instance
|
|
#
|
|
# the system will automatically recognize 'index' as the suggested
|
|
# instance index value
|
|
|
|
- class: '&IDC_Relationship;'
|
|
name: Relationship
|
|
index: 3
|
|
customTagName: 'relationship'
|
|
attributes:
|
|
- instance: '&IDA_RelationshipType;'
|
|
customTagName: 'type'
|
|
- instance: '&IDA_Singular;'
|
|
customTagName: 'singular'
|
|
relationships:
|
|
- instance: '&IDR_Relationship__has_source__Class;'
|
|
customTagName: 'sourceClassId'
|
|
- instance: '&IDR_Relationship__has_destination__Class;'
|
|
customTagName: 'destinationClassId'
|
|
- instance: '&IDR_Relationship__has_sibling__Relationship;'
|
|
customTagName: 'siblingRelationshipId'
|
|
|
|
|
|
- relationship: '&IDR_Class__has__Attribute;'
|
|
index: 1
|
|
sourceClassId: '&IDC_Class;'
|
|
type: 'has'
|
|
destinationClassId: '&IDC_Attribute;'
|
|
siblingRelationshipId: '&IDR_Attribute__for__Class;'
|
|
singular: no
|
|
|
|
- relationship: '&IDR_Attribute__for__Class;'
|
|
index: 2
|
|
sourceClassId: '&IDC_Attribute;'
|
|
type: 'for'
|
|
destinationClassId: '&IDC_Class;'
|
|
siblingRelationshipId: '&IDR_Class__has__Attribute;'
|
|
singular: no
|
|
|
|
- relationship: '&IDR_Class__has__Relationship;'
|
|
index: 3
|
|
sourceClassId: '&IDC_Class;'
|
|
type: 'has'
|
|
destinationClassId: '&IDC_Relationship;'
|
|
siblingRelationshipId: '&IDR_Relationship__for__Class;'
|
|
singular: no
|
|
|
|
- relationship: '&IDR_Relationship__for__Class;'
|
|
index: 4
|
|
sourceClassId: '&IDC_Relationship;'
|
|
type: 'for'
|
|
destinationClassId: '&IDC_Class;'
|
|
siblingRelationshipId: '&IDR_Class__has__Attribute;'
|
|
singular: no
|
|
|
|
- relationship: '&IDR_Relationship__has_sibling__Relationship;'
|
|
index: 5
|
|
sourceClassId: '&IDC_Relationship;'
|
|
type: 'has sibling'
|
|
destinationClassId: '&IDC_Relationship;'
|
|
siblingRelationshipId: '&IDR_Relationship__is_sibling__Relationship;'
|
|
singular: yes
|
|
|
|
- relationship: '&IDR_Relationship__is_sibling__Relationship;'
|
|
index: 6
|
|
sourceClassId: '&IDC_Relationship;'
|
|
type: 'is sibling'
|
|
destinationClassId: '&IDC_Relationship;'
|
|
siblingRelationshipId: '&IDR_Relationship__has_sibling__Relationship;'
|
|
singular: yes
|
|
|
|
- relationship: '&IDR_Class__has_super__Class;'
|
|
index: 7
|
|
sourceClassId: '&IDC_Class;'
|
|
type: 'has super'
|
|
destinationClassId: '&IDC_Class;'
|
|
siblingRelationshipId: '&IDR_Class__has_sub__Class;'
|
|
singular: no
|
|
|
|
- relationship: '&IDR_Class__has_sub__Class;'
|
|
index: 8
|
|
sourceClassId: '&IDC_Class;'
|
|
type: 'has sub'
|
|
destinationClassId: '&IDC_Class;'
|
|
siblingRelationshipId: '&IDR_Class__has_super__Class;'
|
|
singular: no
|
|
|
|
- relationship: '&IDR_Work_Set__has_valid__Class;'
|
|
index: 9
|
|
sourceClassId: '&IDC_WorkSet;'
|
|
type: 'has valid'
|
|
destinationClassId: '&IDC_Class;'
|
|
siblingRelationshipId: '&IDR_Class__valid_for__Work_Set;'
|
|
singular: no
|
|
|
|
- relationship: '&IDR_Class__valid_for__Work_Set;'
|
|
index: 10
|
|
sourceClassId: '&IDC_Class;'
|
|
type: 'valid for'
|
|
destinationClassId: '&IDC_WorkSet;'
|
|
siblingRelationshipId: '&IDR_Work_Set__has_valid__Class;'
|
|
singular: no
|
|
|
|
- relationship: '&IDR_Control_Transaction_Method__processes__Element;'
|
|
index: 11
|
|
sourceClassId: '&IDC_ControlTransactionMethod;'
|
|
type: 'processes'
|
|
destinationClassId: '&IDC_Element;'
|
|
siblingRelationshipId: '&IDR_Element__processed_by__Control_Transaction_Method;'
|
|
singular: no
|
|
|
|
- relationship: '&IDR_Element__processed_by__Control_Transaction_Method;'
|
|
index: 12
|
|
sourceClassId: '&IDC_Element;'
|
|
type: 'processed by'
|
|
destinationClassId: '&IDC_ControlTransactionMethod;'
|
|
siblingRelationshipId: '&IDR_Control_Transaction_Method__processes__Element;'
|
|
singular: yes
|
|
|
|
#- relationship: '&IDR_Element__has_text_node_value__Attribute;'
|
|
# index: 13,
|
|
# sourceClassId: '&IDC_Element;'
|
|
# type: 'has text node value'
|
|
# destinationClassId: '&IDC_Attribute;'
|
|
# siblingRelationshipId: '&IDR_Element__processed_by__Control_Transaction_Method;'
|
|
# singular: yes
|
|
|
|
# - relationship: '&IDR_Attribute__is_text_node_value_for__Element;'
|
|
# index: 14,
|
|
# sourceClassId: '&IDC_Attribute;'
|
|
# type: 'is text node value for'
|
|
# destinationClassId: '&IDC_Element;'
|
|
# siblingRelationshipId: '&IDR_Element__has_text_node_value__Attribute;'
|
|
# singular: yes
|
|
|
|
- relationship: '&IDR_Class__has__Method;'
|
|
index: 15
|
|
sourceClassId: '&IDC_Class;'
|
|
type: 'has'
|
|
destinationClassId: '&IDC_Method;'
|
|
siblingRelationshipId: '&IDR_Method__for__Class;'
|
|
singular: no
|
|
|
|
- relationship: '&IDR_Method__for__Class;'
|
|
index: 16
|
|
sourceClassId: '&IDC_Method;'
|
|
type: 'for'
|
|
destinationClassId: '&IDC_Class;'
|
|
siblingRelationshipId: '&IDR_Class__has__Method;'
|
|
singular: no
|
|
|
|
# - relationship: '&IDR_Class__has_implementation__Method;'
|
|
# index: 17,
|
|
# sourceClassId: '&IDC_Class;'
|
|
# type: 'has implementation'
|
|
# destinationClassId: '&IDC_Method;'
|
|
# siblingRelationshipId: '&IDR_Method__implements_for__Class;'
|
|
# singular: no
|
|
|
|
# - relationship: '&IDR_Method__implements_for__Class;'
|
|
# index: 18,
|
|
# sourceClassId: '&IDC_Method;'
|
|
# type: 'implements for'
|
|
# destinationClassId: '&IDC_Class;'
|
|
# siblingRelationshipId: '&IDR_Class__has_implementation__Method;'
|
|
# singular: yes
|
|
|
|
# - relationship: '&IDR_Method__implements__Method;'
|
|
# index: 19
|
|
# sourceClassId: '&IDC_Method;'
|
|
# type: 'implements'
|
|
# destinationClassId: '&IDC_Method;'
|
|
# siblingRelationshipId: '&IDR_Method__implemented_by__Method;'
|
|
# singular: no
|
|
|
|
# - relationship: '&IDR_Method__implemented_by__Method;'
|
|
# index: 20,
|
|
# sourceClassId: '&IDC_Method;'
|
|
# type: 'implemented by'
|
|
# destinationClassId: '&IDC_Method;'
|
|
# siblingRelationshipId: '&IDR_Method__implements__Method;'
|
|
# singular: no
|
|
|
|
- relationship: '&IDR_Class__has__Instance;'
|
|
index: 249
|
|
sourceClassId: '&IDC_Class;'
|
|
type: 'has'
|
|
destinationClassId: '&IDC_Instance;'
|
|
siblingRelationshipId: '&IDR_Instance__for__Class;'
|
|
singular: no
|
|
|
|
- relationship: '&IDR_Instance__for__Class;'
|
|
index: 250
|
|
sourceClassId: '&IDC_Instance;'
|
|
type: 'for'
|
|
destinationClassId: '&IDC_Class;'
|
|
siblingRelationshipId: '&IDR_Class__has__Instance;'
|
|
singular: no |