if ( t.getId().equals(type) ) {
if ( t.getName().equals(type) ) {
  public static SubjectType subjectType(String type) {    Grouper._init();    SubjectType st    = null;    Iterator    iter  = Grouper.subjectTypes().iterator();    while (iter.hasNext()) {      SubjectType t = (SubjectType) iter.next();      if ( t.getId().equals(type) ) {        st = t;        break;      }    }    return st;  }