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
@PublicAPI public final class RemoveExplicitHydrogensAction extends AbstractStandardizerAction
Remove explicit H standardizer action- Since:
- 5.11
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_KEY_BRIDGEHEAD
Bridgehead propertystatic String
PROPERTY_KEY_CHARGED
Charged propertystatic String
PROPERTY_KEY_H_CONNECTED
H connected propertystatic String
PROPERTY_KEY_ISOTOPIC
Isotopic propertystatic String
PROPERTY_KEY_LONELY
Lonely propertystatic String
PROPERTY_KEY_MAPPED
Mapped propertystatic String
PROPERTY_KEY_METAL_CONNECTED
Metal connected propertystatic String
PROPERTY_KEY_POLYMER_END_GROUP
Polymer end group propertystatic String
PROPERTY_KEY_RADICAL
Radical propertystatic String
PROPERTY_KEY_SGROUP
S-group propertystatic String
PROPERTY_KEY_SGROUP_END
S-group end propertystatic String
PROPERTY_KEY_VALENCE_ERROR
Valence error propertystatic String
PROPERTY_KEY_WEDGED
Wedged property-
Fields inherited from class chemaxon.standardizer.AbstractStandardizerAction
CONFIG_PATH_KEY, FORMAT_KEY, ID_KEY, support
-
-
Constructor Summary
Constructors Constructor Description RemoveExplicitHydrogensAction(Map<String,String> params)
Initializes the remove explicit H action
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoveExplicitHydrogensAction
clone()
boolean
isBridgehead()
Gets the value of property for removing bridgehead Hboolean
isCharged()
Gets the value of property for removing charged Hboolean
isHconnected()
Gets the value of property for removing H connected Hboolean
isIsotopic()
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
isMetalconnected()
Gets the value of property for removing metal connected Hboolean
isPolymerendgroup()
Gets the value of property for removing polymer end group Hboolean
isRadical()
Gets the value of property for removing radical Hboolean
isSgroup()
Gets the value of property for removing s-group Hboolean
isSgroupend()
Gets the value of property for removing s-group end Hboolean
isValenceerror()
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.String
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 Detail
-
PROPERTY_KEY_LONELY
public static final String PROPERTY_KEY_LONELY
Lonely property- See Also:
- Constant Field Values
-
PROPERTY_KEY_CHARGED
public static final String PROPERTY_KEY_CHARGED
Charged property- See Also:
- Constant Field Values
-
PROPERTY_KEY_MAPPED
public static final String PROPERTY_KEY_MAPPED
Mapped property- See Also:
- Constant Field Values
-
PROPERTY_KEY_ISOTOPIC
public static final String PROPERTY_KEY_ISOTOPIC
Isotopic property- See Also:
- Constant Field Values
-
PROPERTY_KEY_RADICAL
public static final String PROPERTY_KEY_RADICAL
Radical property- See Also:
- Constant Field Values
-
PROPERTY_KEY_WEDGED
public static final String PROPERTY_KEY_WEDGED
Wedged property- See Also:
- Constant Field Values
-
PROPERTY_KEY_H_CONNECTED
public static final String PROPERTY_KEY_H_CONNECTED
H connected property- See Also:
- Constant Field Values
-
PROPERTY_KEY_METAL_CONNECTED
public static final String PROPERTY_KEY_METAL_CONNECTED
Metal connected property- See Also:
- Constant Field Values
-
PROPERTY_KEY_POLYMER_END_GROUP
public static final String PROPERTY_KEY_POLYMER_END_GROUP
Polymer end group property- See Also:
- Constant Field Values
-
PROPERTY_KEY_SGROUP_END
public static final String PROPERTY_KEY_SGROUP_END
S-group end property- See Also:
- Constant Field Values
-
PROPERTY_KEY_SGROUP
public static final String PROPERTY_KEY_SGROUP
S-group property- See Also:
- Constant Field Values
-
PROPERTY_KEY_VALENCE_ERROR
public static final String PROPERTY_KEY_VALENCE_ERROR
Valence error property- See Also:
- Constant Field Values
-
PROPERTY_KEY_BRIDGEHEAD
public static final String PROPERTY_KEY_BRIDGEHEAD
Bridgehead property- See Also:
- Constant Field Values
-
-
Method Detail
-
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 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
public RemoveExplicitHydrogensAction clone() throws CloneNotSupportedException
- 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
public String toString()
- Overrides:
toString
in classAbstractStandardizerAction
-
-