Package org.openscience.cdk.dict
Class EntryReact
- java.lang.Object
-
- org.openscience.cdk.dict.Entry
-
- org.openscience.cdk.dict.EntryReact
-
public class EntryReact extends Entry
Entry in a Dictionary for reactions.- Author:
- Miguel Rojas <miguelrojasch@users.sf.net>
- See Also:
Dictionary
- Source code:
- main
- Belongs to CDK module:
- dict
- Keywords:
- dictionary
- Created on:
- 2008-01-01
-
-
Constructor Summary
Constructors Constructor Description EntryReact(String identifier)
Constructor of the EntryReact.EntryReact(String identifier, String term)
Constructor of the EntryReact.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExampleReaction(String xml)
add a example for this reaction.void
addParameter(List<String> param)
Add a IParameterReact's of the reaction.List<String>
getExampleReactions()
String
getMechanism()
Get the mechanism of this reaction.List<List<String>>
getParameterClass()
Get the IParameterReact's of the reaction.HashMap<String,String>
getParameters()
Get the parameters of the reaction.List<String>
getParameterValue()
Get the parameter value of the reaction.List<String>
getReactionMetadata()
List<String>
getRepresentations()
Get the Representation of the reaction.void
setMechanism(String mechani)
Set the mechanism of this reaction.void
setParameters(String nameParam, String typeParam, String value)
Set the parameters of the reaction.void
setReactionMetadata(String metadata)
void
setRepresentation(String contentRepr)
Set the representation of the reaction.-
Methods inherited from class org.openscience.cdk.dict.Entry
getClassName, getDefinition, getDescription, getDescriptorMetadata, getID, getLabel, getRawContent, setClassName, setDefinition, setDescription, setDescriptorMetadata, setID, setLabel, setRawContent, toString
-
-
-
-
Method Detail
-
setReactionMetadata
public void setReactionMetadata(String metadata)
-
setRepresentation
public void setRepresentation(String contentRepr)
Set the representation of the reaction.- Parameters:
contentRepr
- The representation of the reaction as String
-
getRepresentations
public List<String> getRepresentations()
Get the Representation of the reaction.- Returns:
- A List of String of the reaction representations
-
setParameters
public void setParameters(String nameParam, String typeParam, String value)
Set the parameters of the reaction.- Parameters:
nameParam
- The parameter names of the reaction as StringtypeParam
- The parameter types of the reaction as Stringvalue
- The value default of the parameter
-
getParameters
public HashMap<String,String> getParameters()
Get the parameters of the reaction.- Returns:
- A HashMap with the parameters
-
getParameterClass
public List<List<String>> getParameterClass()
Get the IParameterReact's of the reaction.- Returns:
- A String List with the parameter class
-
addParameter
public void addParameter(List<String> param)
Add a IParameterReact's of the reaction.- Parameters:
param
- A String List containing the information about this parameter.
-
getParameterValue
public List<String> getParameterValue()
Get the parameter value of the reaction.- Returns:
- A List with the parameter value
-
setMechanism
public void setMechanism(String mechani)
Set the mechanism of this reaction.- Parameters:
mechani
- The mechanism
-
getMechanism
public String getMechanism()
Get the mechanism of this reaction.- Returns:
- The mechanism
-
addExampleReaction
public void addExampleReaction(String xml)
add a example for this reaction.- Parameters:
xml
- A reaction in XML scheme
-
-