@PublicAPI public final class RemoveExplicitHydrogensAction extends AbstractStandardizerAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_KEY_BRIDGEHEAD
Bridgehead property
|
static java.lang.String |
PROPERTY_KEY_CHARGED
Charged property
|
static java.lang.String |
PROPERTY_KEY_H_CONNECTED
H connected property
|
static java.lang.String |
PROPERTY_KEY_ISOTOPIC
Isotopic property
|
static java.lang.String |
PROPERTY_KEY_LONELY
Lonely property
|
static java.lang.String |
PROPERTY_KEY_MAPPED
Mapped property
|
static java.lang.String |
PROPERTY_KEY_METAL_CONNECTED
Metal connected property
|
static java.lang.String |
PROPERTY_KEY_POLYMER_END_GROUP
Polymer end group property
|
static java.lang.String |
PROPERTY_KEY_RADICAL
Radical property
|
static java.lang.String |
PROPERTY_KEY_SGROUP
S-group property
|
static java.lang.String |
PROPERTY_KEY_SGROUP_END
S-group end property
|
static java.lang.String |
PROPERTY_KEY_VALENCE_ERROR
Valence error property
|
static java.lang.String |
PROPERTY_KEY_WEDGED
Wedged property
|
CONFIG_PATH_KEY, FORMAT_KEY, ID_KEY, support
Constructor and Description |
---|
RemoveExplicitHydrogensAction(java.util.Map<java.lang.String,java.lang.String> params)
Initializes the remove explicit H action
|
Modifier and Type | Method and Description |
---|---|
RemoveExplicitHydrogensAction |
clone() |
boolean |
isBridgehead()
Gets the value of property for removing bridgehead H
|
boolean |
isCharged()
Gets the value of property for removing charged H
|
boolean |
isHconnected()
Gets the value of property for removing H connected H
|
boolean |
isIsotopic()
Gets the value of property for removing isotopic H
|
boolean |
isLonely()
Gets the value of property for removing lonely H
|
boolean |
isMapped()
Gets the value of property for removing mapped H
|
boolean |
isMetalconnected()
Gets the value of property for removing metal connected H
|
boolean |
isPolymerendgroup()
Gets the value of property for removing polymer end group H
|
boolean |
isRadical()
Gets the value of property for removing radical H
|
boolean |
isSgroup()
Gets the value of property for removing s-group H
|
boolean |
isSgroupend()
Gets the value of property for removing s-group end H
|
boolean |
isValenceerror()
Gets the value of property for removing valence error H
|
boolean |
isWedged()
Gets the value of property for removing wedged H
|
void |
setBridgehead(boolean bridgehead)
Sets the value of property for removing bridgehead H
|
void |
setCharged(boolean charged)
Sets the value of property for removing charged H
|
void |
setHconnected(boolean hconnected)
Sets the value of property for removing H connected H
|
void |
setIsotopic(boolean isotopic)
Sets the value of property for removing isotopic H
|
void |
setLonely(boolean lonely)
Sets the value of property for removing lonely H
|
void |
setMapped(boolean mapped)
Sets the value of property for removing mapped H
|
void |
setMetalconnected(boolean metalconnected)
Sets the value of property for removing metal connected H
|
void |
setPolymerendgroup(boolean polymerendgroup)
Sets the value of property for removing polymer end group H
|
void |
setRadical(boolean radical)
Sets the value of property for removing radical H
|
void |
setSgroup(boolean sgroup)
Sets the value of property for removing s-group H
|
void |
setSgroupend(boolean sgroupend)
Sets the value of property for removing s-group end H
|
void |
setValenceerror(boolean valenceerror)
Sets the value of property for removing valence error H
|
void |
setWedged(boolean wedged)
Sets the value of property for removing wedged H
|
protected Changes |
standardize1(Molecule molecule)
This method contains the current standardization mechanism.
|
java.lang.String |
toString() |
addPropertyChangeListener, addPropertyChangeListener, cloneItem, getComponents, getDescriptor, getID, isActive, isAvailable, isLicensed, isValid, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setActive, setID, setLicenseEnvironment, setValid, standardize
public static final java.lang.String PROPERTY_KEY_LONELY
public static final java.lang.String PROPERTY_KEY_CHARGED
public static final java.lang.String PROPERTY_KEY_MAPPED
public static final java.lang.String PROPERTY_KEY_ISOTOPIC
public static final java.lang.String PROPERTY_KEY_RADICAL
public static final java.lang.String PROPERTY_KEY_WEDGED
public static final java.lang.String PROPERTY_KEY_H_CONNECTED
public static final java.lang.String PROPERTY_KEY_METAL_CONNECTED
public static final java.lang.String PROPERTY_KEY_POLYMER_END_GROUP
public static final java.lang.String PROPERTY_KEY_SGROUP_END
public static final java.lang.String PROPERTY_KEY_SGROUP
public static final java.lang.String PROPERTY_KEY_VALENCE_ERROR
public static final java.lang.String PROPERTY_KEY_BRIDGEHEAD
public RemoveExplicitHydrogensAction(java.util.Map<java.lang.String,java.lang.String> params)
params
- the parameters of the actionprotected Changes standardize1(Molecule molecule)
AbstractStandardizerAction
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.Logger
, that can
be collected by using StandardizerLogger.getLogger()
method.standardize1
in class AbstractStandardizerAction
molecule
- the Molecule
instance to be standardizedpublic RemoveExplicitHydrogensAction clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractStandardizerAction
java.lang.CloneNotSupportedException
public boolean isLonely()
public void setLonely(boolean lonely)
lonely
- property for removing lonely Hpublic boolean isCharged()
public void setCharged(boolean charged)
charged
- property for removing charged Hpublic boolean isMapped()
public void setMapped(boolean mapped)
mapped
- property for removing mapped Hpublic boolean isIsotopic()
public void setIsotopic(boolean isotopic)
isotopic
- property for removing isotopic Hpublic boolean isRadical()
public void setRadical(boolean radical)
radical
- property for removing radical Hpublic boolean isWedged()
public void setWedged(boolean wedged)
wedged
- property for removing wedged Hpublic boolean isHconnected()
public void setHconnected(boolean hconnected)
hconnected
- property for removing H connected Hpublic boolean isMetalconnected()
public void setMetalconnected(boolean metalconnected)
metalconnected
- property for removing metal connected Hpublic boolean isPolymerendgroup()
public void setPolymerendgroup(boolean polymerendgroup)
polymerendgroup
- property for removing polymer end group Hpublic boolean isSgroupend()
public void setSgroupend(boolean sgroupend)
sgroupend
- property for removing s-group end Hpublic boolean isSgroup()
public void setSgroup(boolean sgroup)
sgroup
- property for removing s-group Hpublic boolean isValenceerror()
public void setValenceerror(boolean valenceerror)
valenceerror
- property for removing valence error Hpublic boolean isBridgehead()
public void setBridgehead(boolean bridgehead)
bridgehead
- property for removing bridgehead Hpublic java.lang.String toString()
toString
in class AbstractStandardizerAction