3 @JavaType "org.simantics.structural2.procedural.Property"
5 @FieldNames [relation, value]
8 instance Show Property where
9 sb <+ Property relation value = sb << "(Property " <+ relation << ")"
11 @JavaType "org.simantics.structural2.procedural.ConnectionPoint"
12 data ConnectionPoint =
13 @JavaType "org.simantics.structural2.procedural.Terminal"
14 @FieldNames [component, relation]
15 Terminal String Resource
16 | @JavaType "org.simantics.structural2.procedural.Interface"
17 @FieldNames [relation]
20 deriving instance Show ConnectionPoint
22 @JavaType "org.simantics.structural2.procedural.SubstructureElement"
23 data SubstructureElement =
24 @JavaType "org.simantics.structural2.procedural.Component"
25 @FieldNames [name, "type", properties]
26 Component String Resource [Property]
27 | @JavaType "org.simantics.structural2.procedural.Connection"
28 @FieldNames [connectionPoints]
29 Connection [ConnectionPoint]
31 deriving instance Show SubstructureElement