-package org.simantics.structural2.modelingRules;\r
-\r
-import org.simantics.db.Resource;\r
-\r
-public class ConnectionJudgement {\r
- public static final ConnectionJudgement ILLEGAL = \r
- new ConnectionJudgement(ConnectionJudgementType.ILLEGAL);\r
- public static final ConnectionJudgement CANBEMADELEGAL = \r
- new ConnectionJudgement(ConnectionJudgementType.CANBEMADELEGAL);\r
- \r
- public ConnectionJudgementType type;\r
- public Resource connectionType;\r
- public IAttachmentRelationMap attachmentRelations;\r
- \r
- public ConnectionJudgement(Resource connectionType) {\r
- this.type = ConnectionJudgementType.LEGAL;\r
- this.connectionType = connectionType;\r
- }\r
- \r
- public ConnectionJudgement(ConnectionJudgementType type, Resource connectionType) {\r
- this.type = type;\r
- this.connectionType = connectionType;\r
- }\r
- \r
- public ConnectionJudgement(ConnectionJudgementType type) {\r
- this.type = type;\r
- } \r
-}\r
+package org.simantics.structural2.modelingRules;
+
+import org.simantics.db.Resource;
+
+public class ConnectionJudgement {
+ public static final ConnectionJudgement ILLEGAL =
+ new ConnectionJudgement(ConnectionJudgementType.ILLEGAL);
+ public static final ConnectionJudgement CANBEMADELEGAL =
+ new ConnectionJudgement(ConnectionJudgementType.CANBEMADELEGAL);
+
+ public ConnectionJudgementType type;
+ public Resource connectionType;
+ public IAttachmentRelationMap attachmentRelations;
+
+ public ConnectionJudgement(Resource connectionType) {
+ this.type = ConnectionJudgementType.LEGAL;
+ this.connectionType = connectionType;
+ }
+
+ public ConnectionJudgement(ConnectionJudgementType type, Resource connectionType) {
+ this.type = type;
+ this.connectionType = connectionType;
+ }
+
+ public ConnectionJudgement(ConnectionJudgementType type) {
+ this.type = type;
+ }
+}