code: public void setTargetName (String targetName) {
          if (targetName == null) target = null;
          target = targetServer.getTarget(targetName);
      }
docs: Sets the target name and retrieves the target (if it exists) from the TargetServer
  
  @param targetName