- 更新日時:
- 2014/02/17 19:05:46 (11 年 前)
- ファイル:
-
- 1 変更
凡例:
- 変更なし
- 追加
- 削除
-
BH13SPARQLBuilder/src/org/biohackathon/SPARQLBuilder/OWL/ClassLink.java
r46 r49 15 15 private int numOfLinkedInstances = 0; 16 16 private int numOfOriginInstances = 0; 17 private int numOfOriginClassInstances = 0; 18 private int numOfLinkedClassInstances = 0; 17 19 18 20 /** … … 26 28 * @since 28.01.2014 27 29 */ 28 public ClassLink(String propertyURI, String linkedClassURI, Direction direction, int numLinks, int numofOriginInstances, int numOfLinkedInstances){ 30 public ClassLink(String propertyURI, String linkedClassURI, Direction direction, 31 int numLinks, int numOfOriginInstances, int numOfLinkedInstances, 32 int numOfOriginClassInstances, int numofLinkedClassInstances){ 29 33 this.propertyURI = propertyURI; 30 34 this.linkedClassURI = linkedClassURI; … … 33 37 this.numOfLinkedInstances = numOfLinkedInstances; 34 38 this.numOfOriginInstances = numOfOriginInstances; 39 this.numOfOriginClassInstances = numOfOriginClassInstances; 40 this.numOfLinkedClassInstances = numofLinkedClassInstances; 35 41 } 36 42 … … 69 75 sb.append(linkedClassURI); 70 76 sb.append(" ["); 77 sb.append(numOfOriginInstances); 78 sb.append("/"); 79 sb.append(numOfOriginClassInstances); 80 sb.append("]縲---"); 81 82 83 sb.append(" ["); 71 84 sb.append(numOfLinks); 85 sb.append("] --->"); 86 87 sb.append(" ["); 88 sb.append(numOfLinkedInstances); 89 sb.append("/"); 90 sb.append(numOfLinkedClassInstances); 72 91 sb.append("]"); 73 92 return sb.toString(); 74 93 } 75 94 … … 110 129 this.numOfOriginInstances = numOfOriginInstances; 111 130 } 131 132 133 public final int getNumOfOriginClassInstances() { 134 return numOfOriginClassInstances; 135 } 136 137 138 public final void setNumOfOriginClassInstances(int numOfOriginClassInstances) { 139 this.numOfOriginClassInstances = numOfOriginClassInstances; 140 } 141 142 143 public final int getNumOfLinkedClassInstances() { 144 return numOfLinkedClassInstances; 145 } 146 147 148 public final void setNumOfLinkedClassInstances(int numOfLinkedClassInstances) { 149 this.numOfLinkedClassInstances = numOfLinkedClassInstances; 150 } 112 151 113 152