@PublicAPI public final class AliasToGroupAction extends AbstractStandardizerAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ABBREV_GROUPS_KEY
Property Key of the abbreviated group modification
|
CONFIG_PATH_KEY, FORMAT_KEY, ID_KEY, support
Constructor and Description |
---|
AliasToGroupAction(java.util.Map<java.lang.String,java.lang.String> params)
Initializes the action with parameters
|
Modifier and Type | Method and Description |
---|---|
AliasToGroupAction |
clone() |
java.util.Map<java.lang.String,Molecule> |
getGroups()
Gets the abbreviated groups of the action
|
void |
setGroups(java.util.Map<java.lang.String,Molecule> groups)
Sets the abbreviated groups of the 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 ABBREV_GROUPS_KEY
public AliasToGroupAction(java.util.Map<java.lang.String,java.lang.String> params)
params
- the parameters of the actionpublic void setGroups(java.util.Map<java.lang.String,Molecule> groups)
groups
- the abbreviated groups of the actionpublic java.util.Map<java.lang.String,Molecule> getGroups()
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 AliasToGroupAction clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractStandardizerAction
java.lang.CloneNotSupportedException
public java.lang.String toString()
toString
in class AbstractStandardizerAction