Package chemaxon.standardizer.actions
Class RemoveExplicitHydrogensAction
java.lang.Object
chemaxon.standardizer.AbstractStandardizerAction
chemaxon.standardizer.actions.RemoveExplicitHydrogensAction
- All Implemented Interfaces:
chemaxon.license.Licensable
,StandardizerAction
,PropertyChangeListener
,Cloneable
,EventListener
Remove explicit H standardizer action
- Since:
- 5.11
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Bridgehead propertystatic final String
Charged propertystatic final String
H connected propertystatic final String
Isotopic propertystatic final String
Lonely propertystatic final String
Mapped propertystatic final String
Metal connected propertystatic final String
Polymer end group propertystatic final String
Radical propertystatic final String
S-group propertystatic final String
S-group end propertystatic final String
Valence error propertystatic final String
Wedged propertyFields inherited from class chemaxon.standardizer.AbstractStandardizerAction
CONFIG_PATH_KEY, FORMAT_KEY, ID_KEY, support
-
Constructor Summary
ConstructorDescriptionRemoveExplicitHydrogensAction
(Map<String, String> params) Initializes the remove explicit H action -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Gets the value of property for removing bridgehead Hboolean
Gets the value of property for removing charged Hboolean
Gets the value of property for removing H connected Hboolean
Gets the value of property for removing isotopic Hboolean
isLonely()
Gets the value of property for removing lonely Hboolean
isMapped()
Gets the value of property for removing mapped Hboolean
Gets the value of property for removing metal connected Hboolean
Gets the value of property for removing polymer end group Hboolean
Gets the value of property for removing radical Hboolean
isSgroup()
Gets the value of property for removing s-group Hboolean
Gets the value of property for removing s-group end Hboolean
Gets the value of property for removing valence error Hboolean
isWedged()
Gets the value of property for removing wedged Hvoid
setBridgehead
(boolean bridgehead) Sets the value of property for removing bridgehead Hvoid
setCharged
(boolean charged) Sets the value of property for removing charged Hvoid
setHconnected
(boolean hconnected) Sets the value of property for removing H connected Hvoid
setIsotopic
(boolean isotopic) Sets the value of property for removing isotopic Hvoid
setLonely
(boolean lonely) Sets the value of property for removing lonely Hvoid
setMapped
(boolean mapped) Sets the value of property for removing mapped Hvoid
setMetalconnected
(boolean metalconnected) Sets the value of property for removing metal connected Hvoid
setPolymerendgroup
(boolean polymerendgroup) Sets the value of property for removing polymer end group Hvoid
setRadical
(boolean radical) Sets the value of property for removing radical Hvoid
setSgroup
(boolean sgroup) Sets the value of property for removing s-group Hvoid
setSgroupend
(boolean sgroupend) Sets the value of property for removing s-group end Hvoid
setValenceerror
(boolean valenceerror) Sets the value of property for removing valence error Hvoid
setWedged
(boolean wedged) Sets the value of property for removing wedged Hprotected Changes
standardize1
(Molecule molecule) This method contains the current standardization mechanism.toString()
Methods inherited from class chemaxon.standardizer.AbstractStandardizerAction
addPropertyChangeListener, addPropertyChangeListener, anyBooleanPropertyTrue, cloneItem, getComponents, getDescriptor, getID, isActive, isAvailable, isLicensed, isValid, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setActive, setID, setLicenseEnvironment, setValid, standardize
-
Field Details
-
PROPERTY_KEY_LONELY
Lonely property- See Also:
-
PROPERTY_KEY_CHARGED
Charged property- See Also:
-
PROPERTY_KEY_MAPPED
Mapped property- See Also:
-
PROPERTY_KEY_ISOTOPIC
Isotopic property- See Also:
-
PROPERTY_KEY_RADICAL
Radical property- See Also:
-
PROPERTY_KEY_WEDGED
Wedged property- See Also:
-
PROPERTY_KEY_H_CONNECTED
H connected property- See Also:
-
PROPERTY_KEY_METAL_CONNECTED
Metal connected property- See Also:
-
PROPERTY_KEY_POLYMER_END_GROUP
Polymer end group property- See Also:
-
PROPERTY_KEY_SGROUP_END
S-group end property- See Also:
-
PROPERTY_KEY_SGROUP
S-group property- See Also:
-
PROPERTY_KEY_VALENCE_ERROR
Valence error property- See Also:
-
PROPERTY_KEY_BRIDGEHEAD
Bridgehead property- See Also:
-
-
Constructor Details
-
RemoveExplicitHydrogensAction
Initializes the remove explicit H action- Parameters:
params
- the parameters of the action
-
-
Method Details
-
standardize1
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 methodAbstractStandardizerAction.getComponents(Molecule)
, andAbstractStandardizerAction.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 aLogger
, that can be collected by usingStandardizerLogger.getLogger()
method.- Specified by:
standardize1
in classAbstractStandardizerAction
- Parameters:
molecule
- theMolecule
instance to be standardized- Returns:
- the changes applied on the molecule during the standardization process
-
clone
- Overrides:
clone
in classAbstractStandardizerAction
- 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
- Overrides:
toString
in classAbstractStandardizerAction
-