コード例 #1
0
 public String getTypeString() {
   if (candidateConcept.isType(alignType.aligningClasses)) return "Class";
   else return "Property";
 }
コード例 #2
0
 public Mapping getMapping() {
   if (candidateConcept.getCandidateMappings() == null
       || candidateConcept.getCandidateMappings().size() <= index)
     throw new RuntimeException("A row referring to no candidate mapping exists in the table.");
   else return candidateConcept.getCandidateMappings().get(index);
 }