@PublicAPI public final class SetHydrogenIsotopeSymbolAction extends AbstractStandardizerAction
Modifier and Type | Class and Description |
---|---|
static class |
SetHydrogenIsotopeSymbolAction.Type
Hydrogen isotope representation type
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_KEY
Key of type for parsing and property change
|
CONFIG_PATH_KEY, FORMAT_KEY, ID_KEY, support
Constructor and Description |
---|
SetHydrogenIsotopeSymbolAction(java.util.Map<java.lang.String,java.lang.String> params)
Initializes the action
|
Modifier and Type | Method and Description |
---|---|
SetHydrogenIsotopeSymbolAction |
clone() |
SetHydrogenIsotopeSymbolAction.Type |
getType()
Gets the type of action
|
void |
setType(SetHydrogenIsotopeSymbolAction.Type type)
Sets the type of action
|
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 TYPE_KEY
public SetHydrogenIsotopeSymbolAction(java.util.Map<java.lang.String,java.lang.String> params)
params
- the parameters of the actionpublic void setType(SetHydrogenIsotopeSymbolAction.Type type)
type
- the type of actionpublic SetHydrogenIsotopeSymbolAction.Type getType()
protected 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 SetHydrogenIsotopeSymbolAction clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractStandardizerAction
java.lang.CloneNotSupportedException
public java.lang.String toString()
toString
in class AbstractStandardizerAction