@Override public GenericUserBO toBO(SystemAdminTO to) { GenericUserBO converted = new GenericUserBO(); converted.setKey(KeyFactory.keyToString(to.getKey())); converted.setUsername(to.getUsername()); converted.setPassword(to.getPassword()); converted.setActive(true); converted.setRank(new UserType(UserType.eTypes.SYSADMIN)); return converted; }