@Override protected boolean calcProblem(){
  String type=getTagWithKey(Tags.KEY_TYPE);
  if (type == null || type.equals("")) {
    return true;
  }
  return super.calcProblem();
}

@ Override protected boolean calcProblem ( ) { String type = getTagWithKey ( Tags . KEY_TYPE ) ; if ( type == null || type . equals ( "" ) ) { return true ; } return super . calcProblem ( ) ; }
test if the relation has a problem .
