Class ParameterReact
java.lang.Object
org.openscience.cdk.reaction.type.parameters.ParameterReact
- All Implemented Interfaces:
IParameterReact
- Direct Known Subclasses:
SetReactionCenter
Class which defines the allowed parameters of a reaction.
- Author:
- miguelrojasch
- Source code:
- main
- Belongs to CDK module:
- reaction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Get the value of the parameter.boolean
Get if this parameter needs to take account.void
setParameter
(boolean set) Set the parameter to take account.void
Set the value of the parameter.
-
Constructor Details
-
ParameterReact
public ParameterReact()
-
-
Method Details
-
setParameter
public void setParameter(boolean set) Set the parameter to take account.- Specified by:
setParameter
in interfaceIParameterReact
- Parameters:
set
- True, if the parameter needs to take account
-
isSetParameter
public boolean isSetParameter()Get if this parameter needs to take account.- Specified by:
isSetParameter
in interfaceIParameterReact
- Returns:
- True, if the parameter needs to take account
-
setValue
Set the value of the parameter.- Specified by:
setValue
in interfaceIParameterReact
- Parameters:
value
- The value of the parameter
-
getValue
Get the value of the parameter.- Specified by:
getValue
in interfaceIParameterReact
- Returns:
- The value of the parameter
-