Class RemoveExplicitHydrogensAction

java.lang.Object
chemaxon.standardizer.AbstractStandardizerAction
chemaxon.standardizer.actions.RemoveExplicitHydrogensAction
All Implemented Interfaces:
chemaxon.license.Licensable, StandardizerAction, PropertyChangeListener, Cloneable, EventListener

@PublicApi public final class RemoveExplicitHydrogensAction extends AbstractStandardizerAction
Remove explicit H standardizer action
Since:
5.11
  • Field Details

  • Constructor Details

    • RemoveExplicitHydrogensAction

      public RemoveExplicitHydrogensAction(Map<String,String> params)
      Initializes the remove explicit H action
      Parameters:
      params - the parameters of the action
  • Method Details

    • standardize1

      protected Changes standardize1(Molecule molecule)
      Description copied from class: AbstractStandardizerAction
      This method contains the current standardization mechanism. Descendants needs to implement this method.
      Special molecules containing more components (e.g. RgMolecule, RxnMolecule) are decomponented by the method AbstractStandardizerAction.getComponents(Molecule), and AbstractStandardizerAction.standardize1(Molecule) method is called on each component, before applied on the original molecule. If a descendant does not want this to occur, this method must be overridden.
      Logs of standardization should be generated to a Logger, that can be collected by using StandardizerLogger.getLogger() method.
      Specified by:
      standardize1 in class AbstractStandardizerAction
      Parameters:
      molecule - the Molecule instance to be standardized
      Returns:
      the changes applied on the molecule during the standardization process
    • clone

      Overrides:
      clone in class AbstractStandardizerAction
      Throws:
      CloneNotSupportedException
    • isLonely

      public boolean isLonely()
      Gets the value of property for removing lonely H
      Returns:
      property for removing lonely H
    • setLonely

      public void setLonely(boolean lonely)
      Sets the value of property for removing lonely H
      Parameters:
      lonely - property for removing lonely H
    • isCharged

      public boolean isCharged()
      Gets the value of property for removing charged H
      Returns:
      property for removing charged H
    • setCharged

      public void setCharged(boolean charged)
      Sets the value of property for removing charged H
      Parameters:
      charged - property for removing charged H
    • isMapped

      public boolean isMapped()
      Gets the value of property for removing mapped H
      Returns:
      property for removing mapped H
    • setMapped

      public void setMapped(boolean mapped)
      Sets the value of property for removing mapped H
      Parameters:
      mapped - property for removing mapped H
    • isIsotopic

      public boolean isIsotopic()
      Gets the value of property for removing isotopic H
      Returns:
      property for removing isotopic H
    • setIsotopic

      public void setIsotopic(boolean isotopic)
      Sets the value of property for removing isotopic H
      Parameters:
      isotopic - property for removing isotopic H
    • isRadical

      public boolean isRadical()
      Gets the value of property for removing radical H
      Returns:
      property for removing radical H
    • setRadical

      public void setRadical(boolean radical)
      Sets the value of property for removing radical H
      Parameters:
      radical - property for removing radical H
    • isWedged

      public boolean isWedged()
      Gets the value of property for removing wedged H
      Returns:
      property for removing wedged H
    • setWedged

      public void setWedged(boolean wedged)
      Sets the value of property for removing wedged H
      Parameters:
      wedged - property for removing wedged H
    • isHconnected

      public boolean isHconnected()
      Gets the value of property for removing H connected H
      Returns:
      property for removing H connected H
    • setHconnected

      public void setHconnected(boolean hconnected)
      Sets the value of property for removing H connected H
      Parameters:
      hconnected - property for removing H connected H
    • isMetalconnected

      public boolean isMetalconnected()
      Gets the value of property for removing metal connected H
      Returns:
      property for removing metal connected H
    • setMetalconnected

      public void setMetalconnected(boolean metalconnected)
      Sets the value of property for removing metal connected H
      Parameters:
      metalconnected - property for removing metal connected H
    • isPolymerendgroup

      public boolean isPolymerendgroup()
      Gets the value of property for removing polymer end group H
      Returns:
      property for removing polymer end group H
    • setPolymerendgroup

      public void setPolymerendgroup(boolean polymerendgroup)
      Sets the value of property for removing polymer end group H
      Parameters:
      polymerendgroup - property for removing polymer end group H
    • isSgroupend

      public boolean isSgroupend()
      Gets the value of property for removing s-group end H
      Returns:
      property for removing s-group end H
    • setSgroupend

      public void setSgroupend(boolean sgroupend)
      Sets the value of property for removing s-group end H
      Parameters:
      sgroupend - property for removing s-group end H
    • isSgroup

      public boolean isSgroup()
      Gets the value of property for removing s-group H
      Returns:
      property for removing s-group H
    • setSgroup

      public void setSgroup(boolean sgroup)
      Sets the value of property for removing s-group H
      Parameters:
      sgroup - property for removing s-group H
    • isValenceerror

      public boolean isValenceerror()
      Gets the value of property for removing valence error H
      Returns:
      property for removing valence error H
    • setValenceerror

      public void setValenceerror(boolean valenceerror)
      Sets the value of property for removing valence error H
      Parameters:
      valenceerror - property for removing valence error H
    • isBridgehead

      public boolean isBridgehead()
      Gets the value of property for removing bridgehead H
      Returns:
      property for removing bridgehead H
    • setBridgehead

      public void setBridgehead(boolean bridgehead)
      Sets the value of property for removing bridgehead H
      Parameters:
      bridgehead - property for removing bridgehead H
    • toString

      public String toString()
      Overrides:
      toString in class AbstractStandardizerAction