public static pt.ist.fenixframework.dml.runtime.DirectRelation<
         org.fenixedu.academic.domain.accessControl.PersistentTeacherGroup,
         org.fenixedu.academic.domain.Department>
     getRelationPersistentTeacherGroupDepartment() {
   return org.fenixedu.academic.domain.accessControl.PersistentTeacherGroup
       .getRelationPersistentTeacherGroupDepartment();
 }
 public Comparable<?> getKey(
     org.fenixedu.academic.domain.accessControl.PersistentTeacherGroup value) {
   return value.getOid();
 }