APL/APL2.1/TP04/segment.mdj
2022-02-15 11:26:26 +01:00

752 lines
18 KiB
Plaintext

{
"_type": "Project",
"_id": "AAAAAAFF+h6SjaM2Hec=",
"name": "Untitled",
"ownedElements": [
{
"_type": "UMLModel",
"_id": "AAAAAAFF+qBWK6M3Z8Y=",
"_parent": {
"$ref": "AAAAAAFF+h6SjaM2Hec="
},
"name": "Model",
"ownedElements": [
{
"_type": "UMLClassDiagram",
"_id": "AAAAAAFF+qBtyKM79qY=",
"_parent": {
"$ref": "AAAAAAFF+qBWK6M3Z8Y="
},
"name": "Main",
"defaultDiagram": true,
"ownedViews": [
{
"_type": "UMLClassView",
"_id": "AAAAAAF++P9mLDGlT9M=",
"_parent": {
"$ref": "AAAAAAFF+qBtyKM79qY="
},
"model": {
"$ref": "AAAAAAF++P9mKjGjLlo="
},
"subViews": [
{
"_type": "UMLNameCompartmentView",
"_id": "AAAAAAF++P9mLTGmxNI=",
"_parent": {
"$ref": "AAAAAAF++P9mLDGlT9M="
},
"model": {
"$ref": "AAAAAAF++P9mKjGjLlo="
},
"subViews": [
{
"_type": "LabelView",
"_id": "AAAAAAF++P9mLTGnnpc=",
"_parent": {
"$ref": "AAAAAAF++P9mLTGmxNI="
},
"visible": false,
"font": "Arial;13;0",
"top": -16,
"height": 13
},
{
"_type": "LabelView",
"_id": "AAAAAAF++P9mLTGo7jo=",
"_parent": {
"$ref": "AAAAAAF++P9mLTGmxNI="
},
"font": "Arial;13;1",
"left": 437,
"top": 247,
"width": 190,
"height": 13,
"text": "Point"
},
{
"_type": "LabelView",
"_id": "AAAAAAF++P9mLTGpofU=",
"_parent": {
"$ref": "AAAAAAF++P9mLTGmxNI="
},
"visible": false,
"font": "Arial;13;0",
"top": -16,
"width": 73.67724609375,
"height": 13,
"text": "(from Model)"
},
{
"_type": "LabelView",
"_id": "AAAAAAF++P9mLTGqyOw=",
"_parent": {
"$ref": "AAAAAAF++P9mLTGmxNI="
},
"visible": false,
"font": "Arial;13;0",
"top": -16,
"height": 13,
"horizontalAlignment": 1
}
],
"font": "Arial;13;0",
"left": 432,
"top": 240,
"width": 200,
"height": 25,
"stereotypeLabel": {
"$ref": "AAAAAAF++P9mLTGnnpc="
},
"nameLabel": {
"$ref": "AAAAAAF++P9mLTGo7jo="
},
"namespaceLabel": {
"$ref": "AAAAAAF++P9mLTGpofU="
},
"propertyLabel": {
"$ref": "AAAAAAF++P9mLTGqyOw="
}
},
{
"_type": "UMLAttributeCompartmentView",
"_id": "AAAAAAF++P9mLjGrfh4=",
"_parent": {
"$ref": "AAAAAAF++P9mLDGlT9M="
},
"model": {
"$ref": "AAAAAAF++P9mKjGjLlo="
},
"subViews": [
{
"_type": "UMLAttributeView",
"_id": "AAAAAAF++P94fDHQmic=",
"_parent": {
"$ref": "AAAAAAF++P9mLjGrfh4="
},
"model": {
"$ref": "AAAAAAF++P94YzHNmxU="
},
"font": "Arial;13;0",
"left": 437,
"top": 270,
"width": 190,
"height": 13,
"text": "+int: x",
"horizontalAlignment": 0
},
{
"_type": "UMLAttributeView",
"_id": "AAAAAAF++P+eLjHXd+0=",
"_parent": {
"$ref": "AAAAAAF++P9mLjGrfh4="
},
"model": {
"$ref": "AAAAAAF++P+eIjHU7RM="
},
"font": "Arial;13;0",
"left": 437,
"top": 285,
"width": 190,
"height": 13,
"text": "+int: y",
"horizontalAlignment": 0
}
],
"font": "Arial;13;0",
"left": 432,
"top": 265,
"width": 200,
"height": 38
},
{
"_type": "UMLOperationCompartmentView",
"_id": "AAAAAAF++P9mLjGsVuo=",
"_parent": {
"$ref": "AAAAAAF++P9mLDGlT9M="
},
"model": {
"$ref": "AAAAAAF++P9mKjGjLlo="
},
"subViews": [
{
"_type": "UMLOperationView",
"_id": "AAAAAAF++P/iFzHebjY=",
"_parent": {
"$ref": "AAAAAAF++P9mLjGsVuo="
},
"model": {
"$ref": "AAAAAAF++P/iAzHb/6k="
},
"visible": false,
"font": "Arial;13;0",
"left": 437,
"top": 300,
"width": 190,
"height": 13,
"text": "+Point getLocation()",
"horizontalAlignment": 0
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAF++QFuCDHw7GQ=",
"_parent": {
"$ref": "AAAAAAF++P9mLjGsVuo="
},
"model": {
"$ref": "AAAAAAF++QFt/THtfRM="
},
"font": "Arial;13;0",
"left": 437,
"top": 310,
"width": 190,
"height": 13,
"text": "+Point getLocation()",
"horizontalAlignment": 0
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAF++QGMPDH3DPI=",
"_parent": {
"$ref": "AAAAAAF++P9mLjGsVuo="
},
"model": {
"$ref": "AAAAAAF++QGMNzH0Llc="
},
"font": "Arial;13;0",
"left": 437,
"top": 325,
"width": 190,
"height": 13,
"text": "+void translate()",
"horizontalAlignment": 0
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAF++QHkmzICe8I=",
"_parent": {
"$ref": "AAAAAAF++P9mLjGsVuo="
},
"model": {
"$ref": "AAAAAAF++QHkljH/XKc="
},
"font": "Arial;13;0",
"left": 437,
"top": 340,
"width": 190,
"height": 13,
"text": "+double distance()",
"horizontalAlignment": 0
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAF++QKn9TIW4dI=",
"_parent": {
"$ref": "AAAAAAF++P9mLjGsVuo="
},
"model": {
"$ref": "AAAAAAF++QKn5TITu/k="
},
"font": "Arial;13;0",
"left": 437,
"top": 355,
"width": 190,
"height": 13,
"text": "+double getX()",
"horizontalAlignment": 0
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAF++QLwbzIdE7U=",
"_parent": {
"$ref": "AAAAAAF++P9mLjGsVuo="
},
"model": {
"$ref": "AAAAAAF++QLwaTIajQ4="
},
"font": "Arial;13;0",
"left": 437,
"top": 370,
"width": 190,
"height": 13,
"text": "+double getY()",
"horizontalAlignment": 0
}
],
"font": "Arial;13;0",
"left": 432,
"top": 303,
"width": 200,
"height": 85
},
{
"_type": "UMLReceptionCompartmentView",
"_id": "AAAAAAF++P9mLjGtkSQ=",
"_parent": {
"$ref": "AAAAAAF++P9mLDGlT9M="
},
"model": {
"$ref": "AAAAAAF++P9mKjGjLlo="
},
"visible": false,
"font": "Arial;13;0",
"top": -8,
"width": 10,
"height": 10
},
{
"_type": "UMLTemplateParameterCompartmentView",
"_id": "AAAAAAF++P9mLjGuD7g=",
"_parent": {
"$ref": "AAAAAAF++P9mLDGlT9M="
},
"model": {
"$ref": "AAAAAAF++P9mKjGjLlo="
},
"visible": false,
"font": "Arial;13;0",
"top": -8,
"width": 10,
"height": 10
}
],
"font": "Arial;13;0",
"containerChangeable": true,
"left": 432,
"top": 240,
"width": 200,
"height": 148,
"nameCompartment": {
"$ref": "AAAAAAF++P9mLTGmxNI="
},
"attributeCompartment": {
"$ref": "AAAAAAF++P9mLjGrfh4="
},
"operationCompartment": {
"$ref": "AAAAAAF++P9mLjGsVuo="
},
"receptionCompartment": {
"$ref": "AAAAAAF++P9mLjGtkSQ="
},
"templateParameterCompartment": {
"$ref": "AAAAAAF++P9mLjGuD7g="
}
},
{
"_type": "UMLClassView",
"_id": "AAAAAAF++QO9xzIm4q4=",
"_parent": {
"$ref": "AAAAAAFF+qBtyKM79qY="
},
"model": {
"$ref": "AAAAAAF++QO9xjIkuQo="
},
"subViews": [
{
"_type": "UMLNameCompartmentView",
"_id": "AAAAAAF++QO9xzIn1FA=",
"_parent": {
"$ref": "AAAAAAF++QO9xzIm4q4="
},
"model": {
"$ref": "AAAAAAF++QO9xjIkuQo="
},
"subViews": [
{
"_type": "LabelView",
"_id": "AAAAAAF++QO9xzIo5jc=",
"_parent": {
"$ref": "AAAAAAF++QO9xzIn1FA="
},
"visible": false,
"font": "Arial;13;0",
"height": 13
},
{
"_type": "LabelView",
"_id": "AAAAAAF++QO9xzIpi6A=",
"_parent": {
"$ref": "AAAAAAF++QO9xzIn1FA="
},
"font": "Arial;13;1",
"left": 269,
"top": 487,
"width": 142,
"height": 13,
"text": "Segment"
},
{
"_type": "LabelView",
"_id": "AAAAAAF++QO9xzIqLoo=",
"_parent": {
"$ref": "AAAAAAF++QO9xzIn1FA="
},
"visible": false,
"font": "Arial;13;0",
"width": 73.67724609375,
"height": 13,
"text": "(from Model)"
},
{
"_type": "LabelView",
"_id": "AAAAAAF++QO9yDIrWhg=",
"_parent": {
"$ref": "AAAAAAF++QO9xzIn1FA="
},
"visible": false,
"font": "Arial;13;0",
"height": 13,
"horizontalAlignment": 1
}
],
"font": "Arial;13;0",
"left": 264,
"top": 480,
"width": 152,
"height": 25,
"stereotypeLabel": {
"$ref": "AAAAAAF++QO9xzIo5jc="
},
"nameLabel": {
"$ref": "AAAAAAF++QO9xzIpi6A="
},
"namespaceLabel": {
"$ref": "AAAAAAF++QO9xzIqLoo="
},
"propertyLabel": {
"$ref": "AAAAAAF++QO9yDIrWhg="
}
},
{
"_type": "UMLAttributeCompartmentView",
"_id": "AAAAAAF++QO9yDIsFdg=",
"_parent": {
"$ref": "AAAAAAF++QO9xzIm4q4="
},
"model": {
"$ref": "AAAAAAF++QO9xjIkuQo="
},
"subViews": [
{
"_type": "UMLAttributeView",
"_id": "AAAAAAF++QPKyDJR07g=",
"_parent": {
"$ref": "AAAAAAF++QO9yDIsFdg="
},
"model": {
"$ref": "AAAAAAF++QPKwzJOnpw="
},
"font": "Arial;13;0",
"left": 269,
"top": 510,
"width": 142,
"height": 13,
"text": "+Point: p1",
"horizontalAlignment": 0
},
{
"_type": "UMLAttributeView",
"_id": "AAAAAAF++QPdcTJYUsw=",
"_parent": {
"$ref": "AAAAAAF++QO9yDIsFdg="
},
"model": {
"$ref": "AAAAAAF++QPdazJVM+8="
},
"font": "Arial;13;0",
"left": 269,
"top": 525,
"width": 142,
"height": 13,
"text": "+Point: p2",
"horizontalAlignment": 0
}
],
"font": "Arial;13;0",
"left": 264,
"top": 505,
"width": 152,
"height": 38
},
{
"_type": "UMLOperationCompartmentView",
"_id": "AAAAAAF++QO9yDItBjI=",
"_parent": {
"$ref": "AAAAAAF++QO9xzIm4q4="
},
"model": {
"$ref": "AAAAAAF++QO9xjIkuQo="
},
"subViews": [
{
"_type": "UMLOperationView",
"_id": "AAAAAAF++QP8OTJfnr0=",
"_parent": {
"$ref": "AAAAAAF++QO9yDItBjI="
},
"model": {
"$ref": "AAAAAAF++QP8MDJc0ts="
},
"font": "Arial;13;0",
"left": 269,
"top": 548,
"width": 142,
"height": 13,
"text": "+double length()",
"horizontalAlignment": 0
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAF++QQwWjJmz5M=",
"_parent": {
"$ref": "AAAAAAF++QO9yDItBjI="
},
"model": {
"$ref": "AAAAAAF++QQwVDJjrS0="
},
"font": "Arial;13;0",
"left": 269,
"top": 563,
"width": 142,
"height": 13,
"text": "+void setStart()",
"horizontalAlignment": 0
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAF++QRxwzJtsEc=",
"_parent": {
"$ref": "AAAAAAF++QO9yDItBjI="
},
"model": {
"$ref": "AAAAAAF++QRxvjJqWkA="
},
"font": "Arial;13;0",
"left": 269,
"top": 578,
"width": 142,
"height": 13,
"text": "+void setEnd()",
"horizontalAlignment": 0
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAF++QSOFzJ017U=",
"_parent": {
"$ref": "AAAAAAF++QO9yDItBjI="
},
"model": {
"$ref": "AAAAAAF++QSOEjJxMuI="
},
"font": "Arial;13;0",
"left": 269,
"top": 593,
"width": 142,
"height": 13,
"text": "+boolean equals()",
"horizontalAlignment": 0
}
],
"font": "Arial;13;0",
"left": 264,
"top": 543,
"width": 152,
"height": 68
},
{
"_type": "UMLReceptionCompartmentView",
"_id": "AAAAAAF++QO9yDIuS/M=",
"_parent": {
"$ref": "AAAAAAF++QO9xzIm4q4="
},
"model": {
"$ref": "AAAAAAF++QO9xjIkuQo="
},
"visible": false,
"font": "Arial;13;0",
"width": 10,
"height": 10
},
{
"_type": "UMLTemplateParameterCompartmentView",
"_id": "AAAAAAF++QO9yDIvlzs=",
"_parent": {
"$ref": "AAAAAAF++QO9xzIm4q4="
},
"model": {
"$ref": "AAAAAAF++QO9xjIkuQo="
},
"visible": false,
"font": "Arial;13;0",
"width": 10,
"height": 10
}
],
"font": "Arial;13;0",
"containerChangeable": true,
"left": 264,
"top": 480,
"width": 152,
"height": 131,
"nameCompartment": {
"$ref": "AAAAAAF++QO9xzIn1FA="
},
"attributeCompartment": {
"$ref": "AAAAAAF++QO9yDIsFdg="
},
"operationCompartment": {
"$ref": "AAAAAAF++QO9yDItBjI="
},
"receptionCompartment": {
"$ref": "AAAAAAF++QO9yDIuS/M="
},
"templateParameterCompartment": {
"$ref": "AAAAAAF++QO9yDIvlzs="
}
}
]
},
{
"_type": "UMLClass",
"_id": "AAAAAAF++P9mKjGjLlo=",
"_parent": {
"$ref": "AAAAAAFF+qBWK6M3Z8Y="
},
"name": "Point",
"attributes": [
{
"_type": "UMLAttribute",
"_id": "AAAAAAF++P94YzHNmxU=",
"_parent": {
"$ref": "AAAAAAF++P9mKjGjLlo="
},
"name": "int",
"type": "x"
},
{
"_type": "UMLAttribute",
"_id": "AAAAAAF++P+eIjHU7RM=",
"_parent": {
"$ref": "AAAAAAF++P9mKjGjLlo="
},
"name": "int",
"type": "y"
}
],
"operations": [
{
"_type": "UMLOperation",
"_id": "AAAAAAF++P/iAzHb/6k=",
"_parent": {
"$ref": "AAAAAAF++P9mKjGjLlo="
},
"name": "Point getLocation"
},
{
"_type": "UMLOperation",
"_id": "AAAAAAF++QFt/THtfRM=",
"_parent": {
"$ref": "AAAAAAF++P9mKjGjLlo="
},
"name": "Point getLocation"
},
{
"_type": "UMLOperation",
"_id": "AAAAAAF++QGMNzH0Llc=",
"_parent": {
"$ref": "AAAAAAF++P9mKjGjLlo="
},
"name": "void translate"
},
{
"_type": "UMLOperation",
"_id": "AAAAAAF++QHkljH/XKc=",
"_parent": {
"$ref": "AAAAAAF++P9mKjGjLlo="
},
"name": "double distance"
},
{
"_type": "UMLOperation",
"_id": "AAAAAAF++QKn5TITu/k=",
"_parent": {
"$ref": "AAAAAAF++P9mKjGjLlo="
},
"name": "double getX"
},
{
"_type": "UMLOperation",
"_id": "AAAAAAF++QLwaTIajQ4=",
"_parent": {
"$ref": "AAAAAAF++P9mKjGjLlo="
},
"name": "double getY"
}
]
},
{
"_type": "UMLClass",
"_id": "AAAAAAF++QO9xjIkuQo=",
"_parent": {
"$ref": "AAAAAAFF+qBWK6M3Z8Y="
},
"name": "Segment",
"attributes": [
{
"_type": "UMLAttribute",
"_id": "AAAAAAF++QPKwzJOnpw=",
"_parent": {
"$ref": "AAAAAAF++QO9xjIkuQo="
},
"name": "Point",
"type": "p1"
},
{
"_type": "UMLAttribute",
"_id": "AAAAAAF++QPdazJVM+8=",
"_parent": {
"$ref": "AAAAAAF++QO9xjIkuQo="
},
"name": "Point",
"type": "p2"
}
],
"operations": [
{
"_type": "UMLOperation",
"_id": "AAAAAAF++QP8MDJc0ts=",
"_parent": {
"$ref": "AAAAAAF++QO9xjIkuQo="
},
"name": "double length"
},
{
"_type": "UMLOperation",
"_id": "AAAAAAF++QQwVDJjrS0=",
"_parent": {
"$ref": "AAAAAAF++QO9xjIkuQo="
},
"name": "void setStart"
},
{
"_type": "UMLOperation",
"_id": "AAAAAAF++QRxvjJqWkA=",
"_parent": {
"$ref": "AAAAAAF++QO9xjIkuQo="
},
"name": "void setEnd"
},
{
"_type": "UMLOperation",
"_id": "AAAAAAF++QSOEjJxMuI=",
"_parent": {
"$ref": "AAAAAAF++QO9xjIkuQo="
},
"name": "boolean equals"
}
]
}
]
}
]
}