- 更新日時:
- 2014/02/17 16:11:59 (11 年 前)
- ファイル:
-
- 1 変更
凡例:
- 変更なし
- 追加
- 削除
-
BH13SPARQLBuilder/src/org/biohackathon/SPARQLBuilder/OWL/ClassLink.java
r26 r46 13 13 private Direction direction = null; 14 14 private int numOfLinks = 0; 15 15 private int numOfLinkedInstances = 0; 16 private int numOfOriginInstances = 0; 17 16 18 /** 17 19 * 繝励Ο繝代ユ繧」URI縲√Μ繝ウ繧ッ蜈茨シ亥��峨け繝ゥ繧ケ縲√Μ繝ウ繧ッ縺ョ蜷代″繧剃ク弱∴繧区ァ区�蟄� … … 24 26 * @since 28.01.2014 25 27 */ 26 public ClassLink(String propertyURI, String linkedClassURI, Direction direction, int numLinks ){28 public ClassLink(String propertyURI, String linkedClassURI, Direction direction, int numLinks, int numofOriginInstances, int numOfLinkedInstances){ 27 29 this.propertyURI = propertyURI; 28 30 this.linkedClassURI = linkedClassURI; 29 31 this.direction = direction; 30 32 this.numOfLinks = numLinks; 33 this.numOfLinkedInstances = numOfLinkedInstances; 34 this.numOfOriginInstances = numOfOriginInstances; 31 35 } 32 36 … … 88 92 this.direction = direction; 89 93 } 94 95 public final int getNumOfLinkedInstances() { 96 return numOfLinkedInstances; 97 } 98 99 public final void setNumOfLinkedInstances(int numOfLinkedInstances) { 100 this.numOfLinkedInstances = numOfLinkedInstances; 101 } 102 103 104 public final int getNumOfOriginInstances() { 105 return numOfOriginInstances; 106 } 107 108 109 public final void setNumOfOriginInstances(int numOfOriginInstances) { 110 this.numOfOriginInstances = numOfOriginInstances; 111 } 90 112 113 114 91 115 // private String[] propertyDomainClassURIs = null; 92 116 // private String[] propertyRangeClassURIs = null; 93 94 117 118 119 95 120 }