1 package org.simantics.structural2.modelingRules;
3 import org.simantics.db.Resource;
5 public class ConnectionJudgement {
6 public static final ConnectionJudgement ILLEGAL =
7 new ConnectionJudgement(ConnectionJudgementType.ILLEGAL);
8 public static final ConnectionJudgement CANBEMADELEGAL =
9 new ConnectionJudgement(ConnectionJudgementType.CANBEMADELEGAL);
11 public ConnectionJudgementType type;
12 public Resource connectionType;
13 public IAttachmentRelationMap attachmentRelations;
15 public ConnectionJudgement(Resource connectionType) {
16 this.type = ConnectionJudgementType.LEGAL;
17 this.connectionType = connectionType;
20 public ConnectionJudgement(ConnectionJudgementType type, Resource connectionType) {
22 this.connectionType = connectionType;
25 public ConnectionJudgement(ConnectionJudgementType type) {