Sets the designated parameter to a Reader object.
771948
@Override
    public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException
    {
        checkParameterBounds(parameterIndex);
        throw SQLError.noSupport();
    }
991742
@Override
    public void applyImplicitParameters(ReaderContext context, Operation operation, Method method) {
        // copied from io.swagger.servlet.extensions.ServletReaderExtension
        final ApiImplicitParams implicitParams = method.getAnnotation(ApiImplicitParams.class);
        if (implicitParams != null && implicitParams.value().length > 0) {
            for (ApiImplicitParam param : implicitParams.value()) {
                final Parameter p = readImplicitParam(context.getSwagger(), param);
                if (p != null) {
                    if (p instanceof BodyParameter && param.format() != null)
                        p.getVendorExtensions().put("format", param.format());
                    operation.parameter(p);
                }
            }
        }
    }
1133935
@Override
    public void setNClob(String parameterName, Reader reader) throws SQLException
    {
        checkClosed();
        throw SQLError.noSupport();
    }
592633
public void setParam(String type, String file, String fileName, String name, String value, String disposition, String contentID, Boolean oRemoveAfterSend)
	    throws PageException {
	if (file != null) {
	    boolean removeAfterSend = (oRemoveAfterSend == null) ? remove : oRemoveAfterSend.booleanValue();

	    setMimeattach(file, fileName, type, disposition, contentID, removeAfterSend);
	}
	else {
	    if (name.equalsIgnoreCase("bcc")) setBcc(value);
	    else if (name.equalsIgnoreCase("cc")) setCc(value);
	    else if (name.equalsIgnoreCase("charset")) setCharset(CharsetUtil.toCharset(value, null));
	    else if (name.equalsIgnoreCase("failto")) setFailto(value);
	    else if (name.equalsIgnoreCase("from")) setFrom(value);
	    else if (name.equalsIgnoreCase("mailerid")) setMailerid(value);
	    else if (name.equalsIgnoreCase("mimeattach")) setMimeattach(value);
	    else if (name.equalsIgnoreCase("priority")) setPriority(value);
	    else if (name.equalsIgnoreCase("replyto")) setReplyto(value);
	    else if (name.equalsIgnoreCase("subject")) setSubject(value);
	    else if (name.equalsIgnoreCase("to")) setTo(value);

	    else smtp.addHeader(name, value);
	}
    }
1129983
protected function setLogReaderParam()
    {
        if (array_key_exists('log-path', $this->option()) && ! empty($this->option('log-path'))) {
            $this->reader->setLogPath($this->option('log-path'));
        }

        if (array_key_exists('order-by', $this->option()) && ! empty($this->option('order-by'))) {
            if (array_key_exists('order-direction', $this->option()) && ! empty($this->option('order-direction'))) {
                $this->reader->orderBy($this->option('order-by'), $this->option('order-direction'));
            } else {
                $this->reader->orderBy($this->option('order-by'));
            }
        }

        if (array_key_exists('with-read', $this->option()) && $this->option('with-read')) {
            $this->reader->withRead();
        }

        if (array_key_exists('file-name', $this->option())) {
            $this->reader->filename($this->option('file-name'));
        }

        if (array_key_exists('env', $this->option())) {
            $this->reader->environment($this->option('env'));
        }

        if (array_key_exists('level', $this->option())) {
            $this->reader->level($this->option('level'));
        }
    }
117542
@Override
    public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException {
        internalStmt.setNCharacterStream(parameterIndex, value);
    }
188347
def set_parameters(self):
        
        for key in dir(self):
            if key.startswith('REQUIRES_'):
                setattr(self, key, getattr(self.gmpe, key))
            if key.startswith('DEFINED_'):
                if not key.endswith('FOR_INTENSITY_MEASURE_TYPES'):
                    setattr(self, key, getattr(self.gmpe, key))
428830
public void setParameters(ICalParameters parameters) {
		if (parameters == null) {
			throw new NullPointerException(Messages.INSTANCE.getExceptionMessage(16));
		}
		this.parameters = parameters;
	}
950261
private void initializeReader()
    {
        boolean isNative = kunderaQuery.isNative();

        if (!isNative)
        {
            getReader().setConditions(getKunderaQuery().getFilterClauseQueue());

            getReader().setFilter(getKunderaQuery().getFilter());
        }
    }
703471
def addReader(self, reader):
        
        self._sendToThread(self.reads.__setitem__, reader, 1)
        self.wakeUp()
1060630
@Override
    public synchronized void registerReader(ReadMarker readMarker, MessageReader... reader) {
        Preconditions.checkArgument(reader!=null && reader.length>0,"Must specify at least one reader");
        registerReaders(readMarker,Arrays.asList(reader));
    }
733643
def set(self, value):
        """"""
        if self.validate(value):
            #print "Parameter " + self.id + " successfully set to " + repr(value)
            self.hasvalue = True
            self.value = value
            return True
        else:
            #print "Parameter " + self.id + " COULD NOT BE set to " + repr(value)
            return False
116919
public<T> Param<List<T>> asAny (ParamReader<List<T>> reader, String name) {
        return getParam(reader, name);
    }
957607
def set_parameter(self, name, value):
        
        i = self.get_parameter_names(include_frozen=True).index(name)
        v = self.get_parameter_vector(include_frozen=True)
        v[i] = value
        self.set_parameter_vector(v, include_frozen=True)
1141831
@SuppressWarnings("unchecked")
	private void initInputReaders() throws Exception {
		
		MutableReader<?> inputReader;
		
		int numGates = 0;
		//  ---------------- create the input readers ---------------------
		// in case where a logical input unions multiple physical inputs, create a union reader
		final int groupSize = this.config.getGroupSize(0);
		numGates += groupSize;
		if (groupSize == 1) {
			// non-union case
			inputReader = new MutableRecordReader<DeserializationDelegate<IT>>(this);
		} else if (groupSize > 1){
			// union case
			
			MutableRecordReader<IOReadableWritable>[] readers = new MutableRecordReader[groupSize];
			for (int j = 0; j < groupSize; ++j) {
				readers[j] = new MutableRecordReader<IOReadableWritable>(this);
			}
			inputReader = new MutableUnionRecordReader<IOReadableWritable>(readers);
		} else {
			throw new Exception("Illegal input group size in task configuration: " + groupSize);
		}
		
		this.inputTypeSerializerFactory = this.config.getInputSerializer(0, this.userCodeClassLoader);
		
		if (this.inputTypeSerializerFactory.getDataType() == Record.class) {
			// record specific deserialization
			MutableReader<Record> reader = (MutableReader<Record>) inputReader;
			this.reader = (MutableObjectIterator<IT>)new RecordReaderIterator(reader);
		} else {
			// generic data type serialization
			MutableReader<DeserializationDelegate<?>> reader = (MutableReader<DeserializationDelegate<?>>) inputReader;
			@SuppressWarnings({ "rawtypes" })
			final MutableObjectIterator<?> iter = new ReaderIterator(reader, this.inputTypeSerializerFactory.getSerializer());
			this.reader = (MutableObjectIterator<IT>)iter;
		}
		
		// final sanity check
		if (numGates != this.config.getNumInputs()) {
			throw new Exception("Illegal configuration: Number of input gates and group sizes are not consistent.");
		}
	}
706534
protected int setReaderParameter(final PreparedStatement preparedStatement, int index) throws SQLException {
		if (len > -1) {
			preparedStatement.setCharacterStream(index, reader, len);
		} else {
			preparedStatement.setCharacterStream(index, reader);
		}
		parameterLog(index);
		index++;

		return index;
	}
101469
public void setReadMethod( Method getter ) throws IntrospectionException
  {
    super.setReadMethod( getter );
    if( _propertyClass == null )
    {
      _propertyClass = super.getPropertyType();
    }
  }