public EList<Role> getUserroles(User value) {
   if (!(value == null)) {
     EList<Role> res = value.getRoles();
     return res;
   }
   return null;
 }
 public EList<User> getUserdelegates(User value) {
   if (!(value == null)) {
     EList<User> res = value.getDelegates();
     return res;
   }
   return null;
 }