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:
Source code:
main
Belongs to CDK module:
dict
Keywords:
dictionary
Created on:
2008-01-01
  • Constructor Details

    • EntryReact

      public EntryReact(String identifier, String term)
      Constructor of the EntryReact.
      Parameters:
      identifier - The ID value
      term -
    • EntryReact

      public EntryReact(String identifier)
      Constructor of the EntryReact.
      Parameters:
      identifier - The ID value
  • Method Details

    • setReactionMetadata

      public void setReactionMetadata(String metadata)
    • getReactionMetadata

      public List<String> getReactionMetadata()
    • 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 String
      typeParam - The parameter types of the reaction as String
      value - 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
    • getExampleReactions

      public List<String> getExampleReactions()
      Returns:
      A List of reactions in XML schema.