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