Package org.openscience.cdk.dict
Class EntryReact
java.lang.Object
org.openscience.cdk.dict.Entry
org.openscience.cdk.dict.EntryReact
Entry in a Dictionary for reactions.
- Author:
- Miguel Rojas <miguelrojasch@users.sf.net>
- See Also:
- Source code:
- main
- Belongs to CDK module:
- dict
- Keywords:
- dictionary
- Created on:
- 2008-01-01
-
Constructor Summary
ConstructorsConstructorDescriptionEntryReact
(String identifier) Constructor of the EntryReact.EntryReact
(String identifier, String term) Constructor of the EntryReact. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExampleReaction
(String xml) add a example for this reaction.void
addParameter
(List<String> param) Add a IParameterReact's of the reaction.Get the mechanism of this reaction.Get the IParameterReact's of the reaction.Get the parameters of the reaction.Get the parameter value of the reaction.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
-
Constructor Details
-
EntryReact
Constructor of the EntryReact.- Parameters:
identifier
- The ID valueterm
-
-
EntryReact
Constructor of the EntryReact.- Parameters:
identifier
- The ID value
-
-
Method Details
-
setReactionMetadata
-
getReactionMetadata
-
setRepresentation
Set the representation of the reaction.- Parameters:
contentRepr
- The representation of the reaction as String
-
getRepresentations
Get the Representation of the reaction.- Returns:
- A List of String of the reaction representations
-
setParameters
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
Get the parameters of the reaction.- Returns:
- A HashMap with the parameters
-
getParameterClass
Get the IParameterReact's of the reaction.- Returns:
- A String List with the parameter class
-
addParameter
Add a IParameterReact's of the reaction.- Parameters:
param
- A String List containing the information about this parameter.
-
getParameterValue
Get the parameter value of the reaction.- Returns:
- A List with the parameter value
-
setMechanism
Set the mechanism of this reaction.- Parameters:
mechani
- The mechanism
-
getMechanism
Get the mechanism of this reaction.- Returns:
- The mechanism
-
addExampleReaction
add a example for this reaction.- Parameters:
xml
- A reaction in XML scheme
-
getExampleReactions
- Returns:
- A List of reactions in XML schema.
-