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

@param targetName