@PublicAPI public final class ClearStereoAction extends AbstractStandardizerAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_KEY_CHIRALITY
Key of type for property change of mode
|
static java.lang.String |
PROPERTY_KEY_DOUBLE_BOND
Key of type for property change of mode
|
static java.lang.String |
PROPERTY_KEY_SINGLE_UP_OR_DOWN_BOND
Key of type for property change of mode
|
static java.lang.String |
TYPE_KEY
Key of type for parsing
|
CONFIG_PATH_KEY, FORMAT_KEY, ID_KEY, support
Constructor and Description |
---|
ClearStereoAction(java.util.Map<java.lang.String,java.lang.String> params)
Initializes the action with parameters
|
Modifier and Type | Method and Description |
---|---|
ClearStereoAction |
clone() |
java.lang.String |
getType()
Gets the type of the action as string.
|
boolean |
isChirality()
Gets the chirality value of absolute stereo action
|
boolean |
isDoubleBond()
Gets the double bond value of absolute stereo action
|
boolean |
isSingleUpOrDownBond()
Gets the single wedge value of absolute stereo action
|
void |
setChirality(boolean chirality)
Sets the chirality value of absolute stereo action
|
void |
setDoubleBond(boolean doubleBond)
Sets the double bond value of absolute stereo action
|
void |
setSingleUpOrDownBond(boolean singleUpOrDownBond)
Sets the single wedge value of absolute stereo 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 static final java.lang.String PROPERTY_KEY_CHIRALITY
public static final java.lang.String PROPERTY_KEY_DOUBLE_BOND
public static final java.lang.String PROPERTY_KEY_SINGLE_UP_OR_DOWN_BOND
public ClearStereoAction(java.util.Map<java.lang.String,java.lang.String> params)
params
- the parameters of the actionpublic java.lang.String getType()
public void setChirality(boolean chirality)
chirality
- the chirality value of absolute stereo actionpublic boolean isChirality()
public void setDoubleBond(boolean doubleBond)
doubleBond
- the double bond value of absolute stereo actionpublic boolean isDoubleBond()
public void setSingleUpOrDownBond(boolean singleUpOrDownBond)
singleUpOrDownBond
- the single wedge value of absolute stereo actionpublic boolean isSingleUpOrDownBond()
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 ClearStereoAction clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractStandardizerAction
java.lang.CloneNotSupportedException
public java.lang.String toString()
toString
in class AbstractStandardizerAction