Package chemaxon.standardizer.actions
Enum AromatizeAction.Type
- java.lang.Object
-
- java.lang.Enum<AromatizeAction.Type>
-
- chemaxon.standardizer.actions.AromatizeAction.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<AromatizeAction.Type>
- Enclosing class:
- AromatizeAction
public static enum AromatizeAction.Type extends Enum<AromatizeAction.Type>
Type of aromatization
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
Gets theMoleculeGraph
constant value of the aromatizationstatic AromatizeAction.Type
parse(String type)
Parses the type of the aromatize actionString
toString()
static AromatizeAction.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static AromatizeAction.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASIC
public static final AromatizeAction.Type BASIC
Basic aromatization
-
GENERAL
public static final AromatizeAction.Type GENERAL
General aromatization
-
LOOSE
public static final AromatizeAction.Type LOOSE
Loose aromatization
-
-
Method Detail
-
values
public static AromatizeAction.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AromatizeAction.Type c : AromatizeAction.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AromatizeAction.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public int getCode()
Gets theMoleculeGraph
constant value of the aromatization- Returns:
- the
MoleculeGraph
constant value of the aromatization
-
toString
public String toString()
- Overrides:
toString
in classEnum<AromatizeAction.Type>
-
parse
public static AromatizeAction.Type parse(String type)
Parses the type of the aromatize action- Parameters:
type
- the string representation of the type to be parsed- Returns:
- the type of the aromatize action
-
-