Commit d9958573 authored by Niina Helistö's avatar Niina Helistö
Browse files

Updating spinetoolbox project

Replacing relationship classes restype_released_for_realization, restype_inertia, and unit_fail with parameters that have value 1 if the objects should be included in the corresponding Backbone sets
parent ea7ed84c
......@@ -153,27 +153,36 @@
"Mapping 1": {
"mapping": [
{
"map_type": "RelationshipClass",
"map_type": "ObjectClass",
"position": "hidden",
"value": "unit_fail"
"value": "unit"
},
{
"map_type": "RelationshipClassObjectClass",
"position": "hidden",
"value": "unit"
"map_type": "Object",
"position": 0
},
{
"map_type": "Relationship",
"map_type": "ObjectMetadata",
"position": "hidden"
},
{
"map_type": "ParameterDefinition",
"position": "hidden",
"value": "relationship"
"value": "unit_fail"
},
{
"map_type": "RelationshipObject",
"position": 0
"map_type": "Alternative",
"position": "hidden",
"value": "Base"
},
{
"map_type": "RelationshipMetadata",
"map_type": "ParameterValueMetadata",
"position": "hidden"
},
{
"map_type": "ParameterValue",
"position": "hidden",
"value": "1"
}
]
}
......@@ -2278,27 +2287,36 @@
"Mapping 1": {
"mapping": [
{
"map_type": "RelationshipClass",
"map_type": "ObjectClass",
"position": "hidden",
"value": "restype_released_for_realization"
"value": "restype"
},
{
"map_type": "RelationshipClassObjectClass",
"position": "hidden",
"value": "restype"
"map_type": "Object",
"position": 0
},
{
"map_type": "Relationship",
"map_type": "ObjectMetadata",
"position": "hidden"
},
{
"map_type": "ParameterDefinition",
"position": "hidden",
"value": "relationship"
"value": "restypeReleasedForRealization"
},
{
"map_type": "RelationshipObject",
"position": 0
"map_type": "Alternative",
"position": "hidden",
"value": "Base"
},
{
"map_type": "RelationshipMetadata",
"map_type": "ParameterValueMetadata",
"position": "hidden"
},
{
"map_type": "ParameterValue",
"position": "hidden",
"value": "1"
}
]
}
......@@ -2309,28 +2327,36 @@
"Mapping 1": {
"mapping": [
{
"map_type": "RelationshipClass",
"map_type": "ObjectClass",
"position": "hidden",
"value": "restype_inertia"
"value": "restype"
},
{
"map_type": "RelationshipClassObjectClass",
"position": "hidden",
"value": "restype"
"map_type": "Object",
"position": 0
},
{
"map_type": "Relationship",
"map_type": "ObjectMetadata",
"position": "hidden"
},
{
"map_type": "ParameterDefinition",
"position": "hidden",
"value": "relationship"
"value": "restype_inertia"
},
{
"map_type": "RelationshipObject",
"position": 0,
"import_objects": true
"map_type": "Alternative",
"position": "hidden",
"value": "Base"
},
{
"map_type": "RelationshipMetadata",
"map_type": "ParameterValueMetadata",
"position": "hidden"
},
{
"map_type": "ParameterValue",
"position": "hidden",
"value": "1"
}
]
}
......@@ -3215,13 +3241,19 @@
"uss_bound": {}
},
"table_types": {
"ts_node": {
"unit_fail": {
"0": "string"
},
"p_unit": {
"0": "string",
"1": "string",
"2": "string",
"3": "string",
"4": "string",
"5": "string"
"2": "string"
},
"restypeReleasedForRealization": {
"0": "string"
},
"restype_inertia": {
"0": "string"
}
},
"table_row_types": {},
......
......@@ -23,33 +23,6 @@
"group_fn": "no_group",
"use_fixed_table_name": false
},
"1D_subsets": {
"type": "relationships",
"mapping": [
{
"map_type": "RelationshipClass",
"position": "table_name",
"filter_re": "restype_inertia|restypeReleasedForRealization|^unit_fail$"
},
{
"map_type": "RelationshipClassObjectClass",
"position": "hidden"
},
{
"map_type": "Relationship",
"position": "hidden"
},
{
"map_type": "RelationshipObject",
"position": 0,
"header": "*"
}
],
"enabled": true,
"always_export_header": true,
"group_fn": "no_group",
"use_fixed_table_name": false
},
"2D_sets": {
"type": "relationships",
"mapping": [
......@@ -201,7 +174,7 @@
{
"map_type": "ParameterDefinition",
"position": 1,
"filter_re": "^((?!(efficiency|becomeAvailable|becomeUnavailable|boundSamples)).)*$",
"filter_re": "^((?!(efficiency|becomeAvailable|becomeUnavailable|boundSamples|unit_fail)).)*$",
"header": "*"
},
{
......@@ -2644,6 +2617,147 @@
"always_export_header": true,
"group_fn": "no_group",
"use_fixed_table_name": true
},
"unit_fail": {
"type": "object_parameter_values",
"mapping": [
{
"map_type": "FixedValue",
"position": "table_name",
"value": "unit_fail"
},
{
"map_type": "ObjectClass",
"position": "hidden",
"filter_re": "^unit$"
},
{
"map_type": "ParameterDefinition",
"position": "hidden",
"filter_re": "unit_fail"
},
{
"map_type": "ParameterValueList",
"position": "hidden",
"ignorable": true
},
{
"map_type": "Object",
"position": 0,
"header": "*"
},
{
"map_type": "Alternative",
"position": "hidden"
},
{
"map_type": "ParameterValueType",
"position": "hidden"
},
{
"map_type": "ParameterValue",
"position": "hidden",
"filter_re": "1"
}
],
"enabled": true,
"always_export_header": true,
"group_fn": "no_group",
"use_fixed_table_name": true
},
"restypeReleasedForRealization": {
"type": "object_parameter_values",
"mapping": [
{
"map_type": "FixedValue",
"position": "table_name",
"value": "restypeReleasedForRealization"
},
{
"map_type": "ObjectClass",
"position": "hidden",
"filter_re": "^restype$"
},
{
"map_type": "ParameterDefinition",
"position": "hidden",
"filter_re": "restypeReleasedForRealization"
},
{
"map_type": "ParameterValueList",
"position": "hidden",
"ignorable": true
},
{
"map_type": "Object",
"position": 0,
"header": "*"
},
{
"map_type": "Alternative",
"position": "hidden"
},
{
"map_type": "ParameterValueType",
"position": "hidden"
},
{
"map_type": "ParameterValue",
"position": "hidden",
"filter_re": "1"
}
],
"enabled": true,
"always_export_header": true,
"group_fn": "no_group",
"use_fixed_table_name": true
},
"restype_inertia": {
"type": "object_parameter_values",
"mapping": [
{
"map_type": "FixedValue",
"position": "table_name",
"value": "restype_inertia"
},
{
"map_type": "ObjectClass",
"position": "hidden",
"filter_re": "^restype$"
},
{
"map_type": "ParameterDefinition",
"position": "hidden",
"filter_re": "restype_inertia"
},
{
"map_type": "ParameterValueList",
"position": "hidden",
"ignorable": true
},
{
"map_type": "Object",
"position": 0,
"header": "*"
},
{
"map_type": "Alternative",
"position": "hidden"
},
{
"map_type": "ParameterValueType",
"position": "hidden"
},
{
"map_type": "ParameterValue",
"position": "hidden",
"filter_re": "1"
}
],
"enabled": true,
"always_export_header": true,
"group_fn": "no_group",
"use_fixed_table_name": true
}
}
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment