⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ireactionprocess.java

📁 化学图形处理软件
💻 JAVA
字号:
/* *  $RCSfile$ *  $Author: egonw $ *  $Date: 2006-03-29 10:27:08 +0200 (Wed, 29 Mar 2006) $ *  $Revision: 5855 $ * *  Copyright (C) 2006-2007  Miguel Rojas <miguel.rojas@uni-koeln.de> * *  Contact: cdk-devel@lists.sourceforge.net * *  This program is free software; you can redistribute it and/or *  modify it under the terms of the GNU Lesser General Public License *  as published by the Free Software Foundation; either version 2.1 *  of the License, or (at your option) any later version. * *  This program is distributed in the hope that it will be useful, *  but WITHOUT ANY WARRANTY; without even the implied warranty of *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the *  GNU Lesser General Public License for more details. * *  You should have received a copy of the GNU Lesser General Public License *  along with this program; if not, write to the Free Software *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */package org.openscience.cdk.reaction;import org.openscience.cdk.exception.CDKException;import org.openscience.cdk.interfaces.IMoleculeSet;import org.openscience.cdk.interfaces.IReactionSet;/** * Classes that implement this interface are Reactions types. * * @author      Miguel Rojas * @cdk.module  reaction */public interface IReactionProcess {	    	/**	 * Returns a <code>Map</code> which specifies which reaction	 * is implemented by this class. 	 *	 * These fields are used in the map:	 * <ul>	 * <li>Specification-Reference: refers to an entry in a unique dictionary or web page	 * <li>Implementation-Title: anything	 * <li>Implementation-Identifier: a unique identifier for this version of	 *  this class	 * <li>Implementation-Vendor: CDK, JOELib, or anything else	 * </ul>	 *	 * @return An object containing the reaction specification	 */    public ReactionSpecification getSpecification();    /**      * Returns the names of the parameters for this reaction.      *     * @return An array of String containing the names of the paraneters      * that this reaction can accept     */    public String[] getParameterNames();    /**      * Returns a class matching that of the parameter with the given name.     *     * @param name The name of the parameter whose type is requested     * @return An Object of the class corresponding to the parameter with the supplied name     */    public Object getParameterType(String name);        /**      * Sets the parameters for this reaction.      *     * Must be done before calling     * calculate as the parameters influence the calculation outcome.     *     * @param params An array of Object containing the parameters for this reaction     * @throws CDKException if invalid number of type of parameters are passed to it     *      * @see #getParameters     */    public void setParameters(Object[] params) throws CDKException;        /**      * Returns the current parameter values.     *     * @return An array of Object containing the parameter values     * @see #setParameters     * */    public Object[] getParameters();    /**      * Initiates the process for the given Reaction.     *      * Optionally, parameters may be set which can affect the course of the process.     *     * @param reactants   An {@link IMoleculeSet} for which this process should be initiate.     * @param agents      An {@link IMoleculeSet} for which this process should be initiate.     *      * @throws CDKException if an error occurs during the reaction process.      * See documentation for individual reaction processes     */    public IReactionSet initiate(IMoleculeSet reactants, IMoleculeSet agents) throws CDKException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -