- 更新日時:
- 2014/07/03 14:59:43 (10 年 前)
- ファイル:
-
- 1 変更
凡例:
- 変更なし
- 追加
- 削除
-
BH13SPARQLBuilder/src/org/biohackathon/SPARQLBuilder/OWL/ClassLink.java
r76 r94 20 20 private int numOfOriginClassInstances = 0; 21 21 private int numOfLinkedClassInstances = 0; 22 private boolean domainClassLimitedQ = false; 23 private boolean rangeClassLimitedQ = false; 24 22 25 23 26 /** … … 33 36 public ClassLink(String propertyURI, String linkedClassURI, Direction direction, 34 37 int numLinks, int numOfOriginInstances, int numOfLinkedInstances, 35 int numOfOriginClassInstances, int numofLinkedClassInstances){ 38 int numOfOriginClassInstances, int numofLinkedClassInstances, 39 boolean domainClassLimitedQ, boolean rangeClassLimitedQ){ 36 40 this.propertyURI = propertyURI; 37 41 this.linkedClassURI = linkedClassURI; … … 42 46 this.numOfOriginClassInstances = numOfOriginClassInstances; 43 47 this.numOfLinkedClassInstances = numofLinkedClassInstances; 48 this.domainClassLimitedQ = domainClassLimitedQ; 49 this.rangeClassLimitedQ = rangeClassLimitedQ; 44 50 } 45 51 … … 122 128 sb.append(linkedClassURI); 123 129 sb.append(" ["); 130 sb.append(numOfOriginClassInstances); 131 sb.append("/"); 124 132 sb.append(numOfOriginInstances); 125 sb.append("/");126 sb.append(numOfOriginClassInstances);127 133 sb.append("]縲---"); 128 134 … … 133 139 134 140 sb.append(" ["); 141 sb.append(numOfLinkedClassInstances); 142 sb.append("/"); 135 143 sb.append(numOfLinkedInstances); 136 sb.append("/");137 sb.append(numOfLinkedClassInstances);138 144 sb.append("]"); 139 145 return sb.toString(); … … 168 174 169 175 176 177 178 public final boolean isDomainClassLimitedQ() { 179 return domainClassLimitedQ; 180 } 181 182 183 public final boolean isRangeClassLimitedQ() { 184 return rangeClassLimitedQ; 185 } 186 187 170 188 public final int getNumOfOriginInstances() { 171 189 return numOfOriginInstances;