lutaml-uml 0.4.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release.yml +22 -0
  3. data/Gemfile +1 -5
  4. data/README.adoc +4 -42
  5. data/Rakefile +0 -5
  6. data/lutaml-uml.gemspec +23 -38
  7. metadata +20 -292
  8. data/.github/workflows/macos.yml +0 -38
  9. data/.github/workflows/ubuntu.yml +0 -40
  10. data/.github/workflows/windows.yml +0 -51
  11. data/.gitignore +0 -12
  12. data/.rspec +0 -3
  13. data/.travis.yml +0 -6
  14. data/CODE_OF_CONDUCT.md +0 -74
  15. data/LUTAML.adoc +0 -372
  16. data/bin/console +0 -15
  17. data/bin/folder_yaml2lutaml.sh +0 -6
  18. data/bin/plantuml2lutaml +0 -59
  19. data/bin/setup +0 -8
  20. data/bin/yaml2lutaml +0 -144
  21. data/exe/lutaml-wsd2uml +0 -59
  22. data/exe/lutaml-yaml2uml +0 -144
  23. data/lib/lutaml/layout/engine.rb +0 -15
  24. data/lib/lutaml/layout/graph_viz_engine.rb +0 -19
  25. data/lib/lutaml/uml/abstraction.rb +0 -11
  26. data/lib/lutaml/uml/activity.rb +0 -11
  27. data/lib/lutaml/uml/actor.rb +0 -19
  28. data/lib/lutaml/uml/association.rb +0 -43
  29. data/lib/lutaml/uml/behavior.rb +0 -11
  30. data/lib/lutaml/uml/class.rb +0 -83
  31. data/lib/lutaml/uml/classifier.rb +0 -11
  32. data/lib/lutaml/uml/connector.rb +0 -21
  33. data/lib/lutaml/uml/constraint.rb +0 -12
  34. data/lib/lutaml/uml/constructor_end.rb +0 -16
  35. data/lib/lutaml/uml/data_type.rb +0 -75
  36. data/lib/lutaml/uml/dependency.rb +0 -21
  37. data/lib/lutaml/uml/diagram.rb +0 -8
  38. data/lib/lutaml/uml/document.rb +0 -81
  39. data/lib/lutaml/uml/enum.rb +0 -45
  40. data/lib/lutaml/uml/event.rb +0 -12
  41. data/lib/lutaml/uml/final_state.rb +0 -11
  42. data/lib/lutaml/uml/formatter/base.rb +0 -67
  43. data/lib/lutaml/uml/formatter/graphviz.rb +0 -334
  44. data/lib/lutaml/uml/formatter.rb +0 -21
  45. data/lib/lutaml/uml/has_attributes.rb +0 -14
  46. data/lib/lutaml/uml/has_members.rb +0 -30
  47. data/lib/lutaml/uml/instance.rb +0 -17
  48. data/lib/lutaml/uml/model.rb +0 -13
  49. data/lib/lutaml/uml/node/base.rb +0 -21
  50. data/lib/lutaml/uml/node/class_node.rb +0 -57
  51. data/lib/lutaml/uml/node/class_relationship.rb +0 -14
  52. data/lib/lutaml/uml/node/document.rb +0 -18
  53. data/lib/lutaml/uml/node/field.rb +0 -34
  54. data/lib/lutaml/uml/node/has_name.rb +0 -15
  55. data/lib/lutaml/uml/node/has_type.rb +0 -15
  56. data/lib/lutaml/uml/node/method.rb +0 -29
  57. data/lib/lutaml/uml/node/method_argument.rb +0 -16
  58. data/lib/lutaml/uml/node/relationship.rb +0 -28
  59. data/lib/lutaml/uml/opaque_behavior.rb +0 -11
  60. data/lib/lutaml/uml/operation.rb +0 -31
  61. data/lib/lutaml/uml/package.rb +0 -53
  62. data/lib/lutaml/uml/parsers/attribute.rb +0 -70
  63. data/lib/lutaml/uml/parsers/dsl.rb +0 -413
  64. data/lib/lutaml/uml/parsers/dsl_preprocessor.rb +0 -59
  65. data/lib/lutaml/uml/parsers/dsl_transform.rb +0 -27
  66. data/lib/lutaml/uml/parsers/yaml.rb +0 -46
  67. data/lib/lutaml/uml/port.rb +0 -8
  68. data/lib/lutaml/uml/primitive_type.rb +0 -14
  69. data/lib/lutaml/uml/property.rb +0 -27
  70. data/lib/lutaml/uml/pseudostate.rb +0 -11
  71. data/lib/lutaml/uml/realization.rb +0 -11
  72. data/lib/lutaml/uml/region.rb +0 -12
  73. data/lib/lutaml/uml/serializers/association.rb +0 -58
  74. data/lib/lutaml/uml/serializers/base.rb +0 -16
  75. data/lib/lutaml/uml/serializers/class.rb +0 -29
  76. data/lib/lutaml/uml/serializers/top_element_attribute.rb +0 -14
  77. data/lib/lutaml/uml/serializers/yaml_view.rb +0 -18
  78. data/lib/lutaml/uml/state.rb +0 -12
  79. data/lib/lutaml/uml/state_machine.rb +0 -12
  80. data/lib/lutaml/uml/top_element.rb +0 -58
  81. data/lib/lutaml/uml/top_element_attribute.rb +0 -38
  82. data/lib/lutaml/uml/transition.rb +0 -12
  83. data/lib/lutaml/uml/trigger.rb +0 -12
  84. data/lib/lutaml/uml/value.rb +0 -30
  85. data/lib/lutaml/uml/version.rb +0 -7
  86. data/lib/lutaml/uml/vertex.rb +0 -11
  87. data/lib/lutaml/uml.rb +0 -13
  88. data/spec/fixtures/datamodel/models/AddressClassProfile.yml +0 -90
  89. data/spec/fixtures/datamodel/models/AddressComponentProfile.yml +0 -63
  90. data/spec/fixtures/datamodel/models/AddressComponentSpecification.yml +0 -15
  91. data/spec/fixtures/datamodel/models/AddressProfile.yml +0 -36
  92. data/spec/fixtures/datamodel/models/AttributeProfile.yml +0 -32
  93. data/spec/fixtures/datamodel/models/InterchangeAddressClassProfile.yml +0 -79
  94. data/spec/fixtures/datamodel/models/Localization copy.yml +0 -23
  95. data/spec/fixtures/datamodel/models/Localization.yml +0 -23
  96. data/spec/fixtures/datamodel/models/ProfileCompliantAddress.yml +0 -36
  97. data/spec/fixtures/datamodel/models/ProfileCompliantAddressComponent.yml +0 -15
  98. data/spec/fixtures/datamodel/models/Signature.yml +0 -20
  99. data/spec/fixtures/datamodel/models/SignatureBlankDefinition.yml +0 -20
  100. data/spec/fixtures/datamodel/models/TextDirectionCode copy.yml +0 -16
  101. data/spec/fixtures/datamodel/models/TextDirectionCode.yml +0 -16
  102. data/spec/fixtures/datamodel/models/Validity.yml +0 -14
  103. data/spec/fixtures/datamodel/models/iso19160-1/Address.yml +0 -22
  104. data/spec/fixtures/datamodel/models/iso19160-1/AddressComponent.yml +0 -2
  105. data/spec/fixtures/datamodel/style.uml.inc +0 -37
  106. data/spec/fixtures/datamodel/views/AddressClassProfile.yml +0 -12
  107. data/spec/fixtures/datamodel/views/AddressProfile.yml +0 -3
  108. data/spec/fixtures/datamodel/views/CommonModels.yml +0 -9
  109. data/spec/fixtures/datamodel/views/TopDown.yml +0 -62
  110. data/spec/fixtures/dsl/broken_diagram.lutaml +0 -34
  111. data/spec/fixtures/dsl/diagram.lutaml +0 -3
  112. data/spec/fixtures/dsl/diagram_attributes.lutaml +0 -6
  113. data/spec/fixtures/dsl/diagram_blank_definion.lutaml +0 -6
  114. data/spec/fixtures/dsl/diagram_blank_entities.lutaml +0 -8
  115. data/spec/fixtures/dsl/diagram_class_assocation.lutaml +0 -29
  116. data/spec/fixtures/dsl/diagram_class_fields.lutaml +0 -25
  117. data/spec/fixtures/dsl/diagram_commented_includes.lutaml +0 -5
  118. data/spec/fixtures/dsl/diagram_comments.lutaml +0 -28
  119. data/spec/fixtures/dsl/diagram_concept_model.lutaml +0 -132
  120. data/spec/fixtures/dsl/diagram_data_types.lutaml +0 -44
  121. data/spec/fixtures/dsl/diagram_definitions.lutaml +0 -25
  122. data/spec/fixtures/dsl/diagram_includes.lutaml +0 -6
  123. data/spec/fixtures/dsl/diagram_multiply_classes.lutaml +0 -7
  124. data/spec/fixtures/dsl/diagram_non_existing_include.lutaml +0 -6
  125. data/spec/fixtures/dsl/shared.lutaml +0 -3
  126. data/spec/fixtures/dsl/shared1.lutaml +0 -4
  127. data/spec/fixtures/generated_dot/AddressClassProfile.dot +0 -170
  128. data/spec/fixtures/generated_dot/AddressProfile.dot +0 -34
  129. data/spec/lutaml/layout/graph_viz_engine_spec.rb +0 -31
  130. data/spec/lutaml/uml/formatter/graphviz_spec.rb +0 -41
  131. data/spec/lutaml/uml/parsers/dsl_spec.rb +0 -345
  132. data/spec/lutaml/uml/parsers/yaml_spec.rb +0 -18
  133. data/spec/lutaml/uml/serializers/yaml_view_spec.rb +0 -20
  134. data/spec/lutaml/uml_spec.rb +0 -7
  135. data/spec/spec_helper.rb +0 -25
@@ -1,36 +0,0 @@
1
- name: ProfileCompliantAddress
2
- modelType: class
3
- definition: |
4
- ProfileCompliantAddress extends from the `Address` model defined in
5
- <<ISO19160-1>> to represent an `Address` complying with an
6
- `AddressClassProfile`.
7
-
8
- A `ProfileCompliantAddress` MUST conform to the constraints and
9
- requirements specified in `AddressClassProfile`, and its associated
10
- profiles and specifications.
11
- relations:
12
- - target: Address
13
- relationship:
14
- target:
15
- type: inheritance
16
-
17
- - target: ProfileCompliantAddressComponent
18
- relationship:
19
- source:
20
- type: aggregation
21
- attributes:
22
- address:
23
- cardinality:
24
- min: 1
25
- max: "*"
26
- target:
27
- type: direct
28
- attributes:
29
- addressComponent:
30
- cardinality:
31
- min: 1
32
- max: "*"
33
- association: AddressComponentSpecification
34
- action:
35
- verb: comprises
36
- direction: target
@@ -1,15 +0,0 @@
1
- name: ProfileCompliantAddressComponent
2
- modelType: class
3
- definition: |
4
- ProfileCompliantAddressComponent extends from the AddressComponent model
5
- defined in <<ISO19160-1>> to represent an Address complying with an
6
- AddressClassProfile.
7
-
8
- A ProfileCompliantAddressComponent MUST conform to the constraints and
9
- requirements specified in AddressComponentProfile, and its associated
10
- profiles and specifications.
11
- relations:
12
- - target: AddressComponent
13
- relationship:
14
- target:
15
- type: inheritance
@@ -1,20 +0,0 @@
1
- name: Signature
2
- modelType: class
3
- definition: |
4
- A cryptographic signature used to determine data integrity and validity of the object it belongs to.
5
- attributes:
6
- algorithm:
7
- definition: The public key cryptographic algorithm used for this digital signature.
8
- type: iso14888Oid
9
- publicKey:
10
- definition: A reference to the actual public key used to verify the digital signature, a URI where the public key of the signer used for this signature is found.
11
- type: Uri
12
- signature:
13
- definition: The actual digital signature value encoded in Base64 format.
14
- type: CharacterString
15
- relations:
16
- - target: Localization
17
- relationship:
18
- target:
19
- type: direct
20
- direction: "[hidden]"
@@ -1,20 +0,0 @@
1
- name: Signature
2
- modelType: class
3
- definition: |
4
- A cryptographic signature used to determine data integrity and validity of the object it belongs to.
5
- attributes:
6
- algorithm:
7
- definition:
8
- type: iso14888Oid
9
- publicKey:
10
- definition:
11
- type: Uri
12
- signature:
13
- definition: The actual digital signature value encoded in Base64 format.
14
- type: CharacterString
15
- relations:
16
- - target: Localization
17
- relationship:
18
- target:
19
- type: direct
20
- direction: "[hidden]"
@@ -1,16 +0,0 @@
1
- name: TextDirectionCode
2
- modelType: enum
3
- definition: |
4
- An enumeration value of TextDirectionCode represents the reading
5
- direction of textual data whether it is from left to right or right to
6
- left, and from top to bottom or bottom to top.
7
- type: enumeration
8
- values:
9
- leftToRightTopToBottom:
10
- definition: Indicating that text should be read left to right, and top to bottom.
11
- rightToLeftTopToBottom:
12
- definition: Indicating that text should be read right to left, and top to bottom.
13
- leftToRightBottomToTop:
14
- definition: Indicating that text should be read left to right, and bottom to top.
15
- rightToLeftBottomToTop:
16
- definition: Indicating that text should be read right to left, and bottom to top.
@@ -1,16 +0,0 @@
1
- name: TextDirectionCode
2
- modelType: enum
3
- definition: |
4
- An enumeration value of TextDirectionCode represents the reading
5
- direction of textual data whether it is from left to right or right to
6
- left, and from top to bottom or bottom to top.
7
- type: enumeration
8
- values:
9
- leftToRightTopToBottom:
10
- definition: Indicating that text should be read left to right, and top to bottom.
11
- rightToLeftTopToBottom:
12
- definition: Indicating that text should be read right to left, and top to bottom.
13
- leftToRightBottomToTop:
14
- definition: Indicating that text should be read left to right, and bottom to top.
15
- rightToLeftBottomToTop:
16
- definition: Indicating that text should be read right to left, and bottom to top.
@@ -1,14 +0,0 @@
1
- name: Validity
2
- modelType: class
3
- definition: |
4
- The time interval where this interchange address profile is determined valid, and the revision number (represented as a date).
5
- attributes:
6
- validityBegins:
7
- definition: The date and time when this object becomes valid.
8
- type: iso19115CI_Date
9
- validityEnds:
10
- definition: The date and time when this object becomes invalid.
11
- type: iso19115CI_Date
12
- revision:
13
- definition: Issuance date/time of this object.
14
- type: iso19115CI_Date
@@ -1,22 +0,0 @@
1
- name: Address
2
- modelType: class
3
- relations:
4
- - target: AddressComponent
5
- relationship:
6
- source:
7
- type: aggregation
8
- attributes:
9
- address:
10
- cardinality:
11
- min: 1
12
- max: "*"
13
- target:
14
- type: direct
15
- attributes:
16
- addressComponent:
17
- cardinality:
18
- min: 1
19
- max: "*"
20
- action:
21
- verb: comprises
22
- direction: target
@@ -1,2 +0,0 @@
1
- name: AddressComponent
2
- modelType: class
@@ -1,37 +0,0 @@
1
- skinparam Dpi 150
2
- skinparam Monochrome false
3
- hide circle
4
- /' skinparam CircledCharacterRadius 0 '/
5
- /' skinparam CircledCharacterFontSize 0 '/
6
- skinparam Default {
7
- TextAlignment center
8
- FontName Helvetica
9
- }
10
- skinparam Class {
11
- AttributeIconSize 0
12
- BackgroundColor White
13
- ArrowColor Black
14
- BorderColor Black
15
- FontStyle bold
16
- StereotypeFontSize 10
17
- }
18
- skinparam Rectangle {
19
- BackgroundColor White
20
- ArrowColor Black
21
- BorderColor Black
22
- FontStyle bold
23
- FontSize 11
24
- StereotypeFontSize 10
25
- }
26
- skinparam Object {
27
- BackgroundColor White
28
- ArrowColor Black
29
- BorderColor Black
30
- FontStyle bold
31
- FontSize 11
32
- StereotypeFontSize 10
33
- }
34
-
35
- skinparam Entity {
36
- StereotypeFontSize 10
37
- }
@@ -1,12 +0,0 @@
1
- name: AddressClassProfile
2
- imports:
3
- AddressProfile:
4
- AddressClassProfile:
5
- AddressClassProfile:
6
- AddressComponentProfile:
7
- AttributeProfile:
8
- ProfileCompliantAddress:
9
- InterchangeAddressClassProfile:
10
- fidelity:
11
- hideMembers: true
12
- hideOtherClasses: true
@@ -1,3 +0,0 @@
1
- name: AddressProfile
2
- imports:
3
- AddressProfile:
@@ -1,9 +0,0 @@
1
- name: CommonModels
2
- title: Common models
3
- caption: Common models to be used in this standard
4
- directive: ix-common
5
- imports:
6
- Localization:
7
- Validity:
8
- Signature:
9
- TextDirectionCode:
@@ -1,62 +0,0 @@
1
- name: TopDown
2
- title: Address profile model overview
3
- caption: Address profile model overview in UML
4
- imports:
5
- iso19160-1/Address:
6
- iso19160-1/AddressComponent:
7
- ProfileCompliantAddress:
8
- ProfileCompliantAddressComponent:
9
- AddressProfile:
10
- AddressClassProfile:
11
- InterchangeAddressClassProfile:
12
- AddressComponentProfile:
13
- AddressComponentSpecification:
14
- AttributeProfile:
15
- groups:
16
- - - AddressProfile
17
- - - InterchangeAddressClassProfile
18
- - AddressClassProfile
19
- - AddressComponentProfile
20
- - - AddressComponentSpecification
21
- - - ProfileCompliantAddress
22
- - ProfileCompliantAddressComponent
23
- - - Address
24
- - AddressComponent
25
- relations:
26
- - source: InterchangeAddressClassProfile
27
- target: AddressClassProfile
28
- direction: '[hidden]right'
29
- - source: AddressClassProfile
30
- target: AddressComponentProfile
31
- direction: '[hidden]right'
32
-
33
- - source: ProfileCompliantAddress
34
- target: ProfileCompliantAddressComponent
35
- direction: '[hidden]right'
36
-
37
- - source: Address
38
- target: AddressComponent
39
- direction: '[hidden]right'
40
-
41
- - source: AddressProfile
42
- target: AddressClassProfile
43
- direction: '[hidden]down'
44
- - source: AddressClassProfile
45
- target: ProfileCompliantAddress
46
- direction: '[hidden]down'
47
- - source: AddressComponentProfile
48
- target: AddressComponentSpecification
49
- direction: '[hidden]down'
50
- - source: AddressComponentSpecification
51
- target: ProfileCompliantAddressComponent
52
- direction: '[hidden]down'
53
- - source: ProfileCompliantAddress
54
- target: Address
55
- direction: '[hidden]down'
56
- - source: ProfileCompliantAddressComponent
57
- target: AddressComponent
58
- direction: '[hidden]down'
59
-
60
- fidelity:
61
- hideMembers: true
62
- hideOtherClasses: true
@@ -1,34 +0,0 @@
1
- diagram MyView {
2
- title "my diagram"
3
-
4
- class AddressClassProfile {
5
- addressClassProfile
6
- }
7
- class AttributeProfile {
8
- attributeProfile
9
- }
10
-
11
- association BidirectionalAsscoiation {
12
- owner_type aggregation
13
- member_type direct
14
- owner AddressClassProfile#addressClassProfile
15
- member AttributeProfile#attributeProfile [0..*]
16
- }
17
-
18
- association DirectAsscoiation {
19
- member_type direct
20
- owner AddressClassProfile
21
- member AttributeProfile#attributeProfile
22
- }
23
-
24
- class Foo {
25
- +structuredidentifier[0..*]: StructuredIdentifierType
26
- +technicalcommittee[1..*]: TechnicalCommitteeType
27
- }
28
-
29
- association ReverseAsscoiation {
30
- owner_type aggregation
31
- owner AddressClassProfile#addressClassProfile
32
- member AttributeProfile
33
- }
34
- }
@@ -1,3 +0,0 @@
1
- diagram MyView {
2
- class Foo {}
3
- }
@@ -1,6 +0,0 @@
1
- diagram MyView {
2
- fontname "Arial"
3
- title "my diagram, another symbols: text."
4
- class Foo {}
5
- caption "Block elements of StandardDocument, adapted from BasicDocument. Another - symbol"
6
- }
@@ -1,6 +0,0 @@
1
- diagram MyView {
2
- class ImageMapAreaType {
3
- definition {
4
- }
5
- }
6
- }
@@ -1,8 +0,0 @@
1
- diagram MyView {
2
- class ImageMapAreaType {
3
- }
4
- enum SomeEnum {
5
- }
6
- data_type SomeEnum {
7
- }
8
- }
@@ -1,29 +0,0 @@
1
- diagram MyView {
2
- title "my diagram"
3
-
4
- class AddressClassProfile {
5
- addressClassProfile
6
- }
7
- class AttributeProfile {
8
- attributeProfile
9
- }
10
-
11
- association BidirectionalAsscoiation {
12
- owner_type aggregation
13
- member_type direct
14
- owner AddressClassProfile#addressClassProfile
15
- member AttributeProfile#attributeProfile [0..*]
16
- }
17
-
18
- association DirectAsscoiation {
19
- member_type direct
20
- owner AddressClassProfile
21
- member AttributeProfile#attributeProfile
22
- }
23
-
24
- association ReverseAsscoiation {
25
- owner_type aggregation
26
- owner AddressClassProfile#addressClassProfile
27
- member AttributeProfile
28
- }
29
- }
@@ -1,25 +0,0 @@
1
- diagram MyView {
2
- title "my diagram"
3
-
4
- class Component {}
5
-
6
- class AddressClassProfile {
7
- +addressClassProfile: CharacterString [0..1]
8
- }
9
-
10
- class AttributeProfile {
11
- imlicistAttributeProfile: CharacterString [0..1]
12
- +attributeProfile: <<BasicDocument>> LocalizedString [0..1]
13
- +attributeProfile1: <<BasicDocument>> 'LocalizedString'
14
- -privateAttributeProfile: CharacterString [1]
15
- ~friendlyAttributeProfile: <<Type>> "CharacterString" [1..*]
16
- ~friendlyAttributeProfile1: <<Type>> "CharacterString"
17
- #protectedAttributeProfile: CharacterString
18
- type/text: String
19
- slashType: slash/type
20
- application/docbook+xml
21
- application/tei+xml
22
- text/x-asciidoc
23
- application/x-isodoc+xml
24
- }
25
- }
@@ -1,5 +0,0 @@
1
- diagram MyView {
2
- title "my diagram"
3
-
4
- ** include ../models/bipm_document/BipmCommitteeAcronym.lutaml
5
- }
@@ -1,28 +0,0 @@
1
- diagram MyView {
2
- title "my diagram"
3
-
4
- ** My comment
5
-
6
- class Component {}
7
-
8
- *|
9
- this is multiline
10
- comment with {} special
11
- chars/
12
-
13
- +-|/
14
- |*
15
- class AddressClassProfile {
16
- // TODO: write attributes
17
- +addressClassProfile: CharacterString [0..1]
18
- }
19
-
20
- // TODO: description
21
- class AttributeProfile {
22
- ** this is attribute comment
23
- imlicistAttributeProfile: CharacterString [0..1]
24
- *| this is another comment line
25
- with multiply lines
26
- |*
27
- }
28
- }
@@ -1,132 +0,0 @@
1
- diagram Designations {
2
- title 'Designation models'
3
- association {
4
- owner NormativeStatus
5
- member_type direct
6
- member Designation
7
- }
8
- association {
9
- owner PrefixDesignation
10
- member_type inheritance
11
- member ExpressionDesignation
12
- }
13
- association {
14
- owner SuffixDesignation
15
- member_type inheritance
16
- member ExpressionDesignation
17
- }
18
- association {
19
- owner AbbreviationDesignation
20
- member_type inheritance
21
- member ExpressionDesignation
22
- }
23
- association {
24
- owner GrammarInfo
25
- member_type direct
26
- member ExpressionDesignation
27
- }
28
- association {
29
- owner AbbreviationType
30
- member_type direct
31
- member AbbreviationDesignation
32
- }
33
- association {
34
- owner GrammarGender
35
- member_type direct
36
- member GrammarInfo
37
- }
38
- association {
39
- owner GlossaristTextElementType
40
- member_type inheritance
41
- member TextElementType
42
- }
43
- association {
44
- owner GlossaristTextElementType
45
- member_type direct
46
- member ExpressionDesignation
47
- }
48
- association {
49
- owner TextElement
50
- member_type inheritance
51
- member GlossaristTextElement
52
- }
53
- association {
54
- owner EmptySlot
55
- member_type inheritance
56
- member GlossaristTextElement
57
- }
58
- association {
59
- owner GlossaristTextElement
60
- member_type direct
61
- member GlossaristTextElementType
62
- }
63
- class Designation {
64
- +normativeStatus: 'NormativeStatus'
65
- +absent: 'Boolean' [0..1]
66
- +geographicArea: 'Iso3166Code' [0..*]
67
- +sources: 'ConceptSource' [0..*]
68
- }
69
- enum NormativeStatus {
70
- }
71
- class ExpressionDesignation {
72
- +text: 'GlossaristTextElementType'
73
- +language: 'Iso639ThreeCharCode'
74
- +script: 'Iso15924Code' [0..1]
75
- +pronunciation: <<BasicDocument>> 'LocalizedString' [0..*]
76
- +grammarInfo: 'GrammarInfo' [0..*]
77
- }
78
- association {
79
- owner ExpressionDesignation
80
- member_type inheritance
81
- member Designation
82
- }
83
- class GrammarInfo {
84
- +gender: 'GrammarGender' [0..*]
85
- +isPreposition: 'Boolean' [0..1]
86
- +isParticiple: 'Boolean' [0..1]
87
- +isAdjective: 'Boolean' [0..1]
88
- +isVerb: 'Boolean' [0..1]
89
- +isAdverb: 'Boolean' [0..1]
90
- +isNoun: 'Boolean' [0..1]
91
- }
92
- class SymbolDesignation {
93
- +isInternational: 'Boolean'
94
- }
95
- association {
96
- owner SymbolDesignation
97
- member_type inheritance
98
- member Designation
99
- }
100
- class PrefixDesignation {
101
- }
102
- class SuffixDesignation {
103
- }
104
- class AbbreviationDesignation {
105
- +isInternational: 'Boolean'
106
- +abbreviationType: 'AbbreviationType' [0..1]
107
- }
108
- enum AbbreviationType {
109
- }
110
- class LetterSymbolDesignation {
111
- +text: <<BasicDocument>> 'LocalizedString'
112
- +language: 'Iso639ThreeCharCode'
113
- +script: 'Iso15924Code' [0..1]
114
- }
115
- association {
116
- owner LetterSymbolDesignation
117
- member_type inheritance
118
- member SymbolDesignation
119
- }
120
- class GraphicalSymbolDesignation {
121
- +text: <<BasicDocument>> 'LocalizedString' [0..1]
122
- +image: 'Image' [0..1]
123
- +isInternational: 'Boolean'
124
- }
125
- association {
126
- owner GraphicalSymbolDesignation
127
- member_type inheritance
128
- member SymbolDesignation
129
- }
130
- enum GrammarGender {
131
- }
132
- }
@@ -1,44 +0,0 @@
1
- diagram MyView {
2
- title "my diagram"
3
-
4
- enum MyEnum {}
5
-
6
- enum AddressClassProfile <<my_keyword>> {
7
- +addressClassProfile: CharacterString
8
- }
9
-
10
- data_type "Banking Information" {
11
- definition {
12
- Common code types used in banking.
13
- }
14
- "art code" {
15
- definition {
16
- The bank ART code.
17
- }
18
- }
19
- "CCT Number"
20
- }
21
-
22
- data_type DateTimeType {
23
- definition {
24
- Type of date time value.
25
- }
26
- year {
27
- definition {
28
- The value only provides year.
29
- }
30
- }
31
- monthYear
32
- dayMonthYear
33
- }
34
-
35
- primitive Integer
36
-
37
- enum Profile {
38
- imlicistAttributeProfile: CharacterString
39
- +attributeProfile: CharacterString
40
- -privateAttributeProfile: CharacterString
41
- ~friendlyAttributeProfile: CharacterString
42
- #protectedAttributeProfile: CharacterString
43
- }
44
- }
@@ -1,25 +0,0 @@
1
- diagram MyView {
2
- title "my diagram"
3
-
4
- class AddressClassProfile {
5
- definition {
6
- this is multiline with `ascidoc`
7
- comments
8
- and list
9
- \{foo\} \{name\}
10
- }
11
- +addressClassProfile: CharacterString [0..1]
12
- }
13
-
14
- class AttributeProfile {
15
- imlicistAttributeProfile: CharacterString [0..1] {
16
- definition
17
- {
18
- this is attribute definition
19
- with multiply lines
20
- \{foo\} \{name\}
21
- end definition
22
- }
23
- }
24
- }
25
- }
@@ -1,6 +0,0 @@
1
- diagram MyView {
2
- fontname "Arial"
3
- title "my diagram"
4
- include shared.lutaml
5
- include shared1.lutaml
6
- }
@@ -1,7 +0,0 @@
1
- diagram MyView {
2
- title "my diagram"
3
- class Foo {}
4
- class Doo {}
5
- class Koo {}
6
- class NamespacedClass <<MyNamespace>> {}
7
- }
@@ -1,6 +0,0 @@
1
- diagram MyView {
2
- fontname "Arial"
3
- title "my diagram"
4
- include none_existing.lutaml
5
- include none_existing1.lutaml
6
- }