FileSystem.metamodel 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. {
  2. "types": {
  3. "Folder": [
  4. {
  5. "name": "path",
  6. "type": "string",
  7. "default": ""
  8. }
  9. ],
  10. "File": [
  11. {
  12. "name": "content",
  13. "type": "code",
  14. "default": ""
  15. },
  16. {
  17. "name": "path",
  18. "type": "string",
  19. "default": ""
  20. }
  21. ],
  22. "FSEntity": [
  23. {
  24. "name": "path",
  25. "type": "string",
  26. "default": ""
  27. }
  28. ],
  29. "Contains": []
  30. },
  31. "constraints": [
  32. {
  33. "name": "noAbstractInstances",
  34. "event": "pre-create",
  35. "code": "false",
  36. "targetType": "FSEntity"
  37. }
  38. ],
  39. "actions": [],
  40. "cardinalities": {
  41. "Folder": [
  42. {
  43. "dir": "out",
  44. "type": "Contains",
  45. "min": "0",
  46. "max": "Infinity"
  47. },
  48. {
  49. "dir": "in",
  50. "type": "Contains",
  51. "min": "0",
  52. "max": "Infinity"
  53. }
  54. ],
  55. "File": [
  56. {
  57. "dir": "in",
  58. "type": "Contains",
  59. "min": "0",
  60. "max": "Infinity"
  61. }
  62. ],
  63. "FSEntity": [
  64. {
  65. "dir": "in",
  66. "type": "Contains",
  67. "min": "0",
  68. "max": "Infinity"
  69. }
  70. ],
  71. "Contains": [
  72. {
  73. "dir": "in",
  74. "type": "Folder",
  75. "min": "0",
  76. "max": "1"
  77. },
  78. {
  79. "dir": "out",
  80. "type": "FSEntity",
  81. "min": "0",
  82. "max": "1"
  83. },
  84. {
  85. "dir": "out",
  86. "type": "Folder",
  87. "min": "0",
  88. "max": "1"
  89. },
  90. {
  91. "dir": "out",
  92. "type": "File",
  93. "min": "0",
  94. "max": "1"
  95. }
  96. ]
  97. },
  98. "legalConnections": {
  99. "Folder": {
  100. "FSEntity": [
  101. "Contains"
  102. ],
  103. "Folder": [
  104. "Contains"
  105. ],
  106. "File": [
  107. "Contains"
  108. ]
  109. }
  110. },
  111. "connectorTypes": {
  112. "Contains": "containment"
  113. },
  114. "types2parentTypes": {
  115. "Folder": [
  116. "FSEntity"
  117. ],
  118. "File": [
  119. "FSEntity"
  120. ],
  121. "FSEntity": [],
  122. "Contains": []
  123. }
  124. }