Enum DefaultSolubilityCategory
- java.lang.Object
-
- java.lang.Enum<DefaultSolubilityCategory>
-
- com.chemaxon.calculations.solubility.DefaultSolubilityCategory
-
- All Implemented Interfaces:
SolubilityCategory
,Serializable
,Comparable<DefaultSolubilityCategory>
@PublicAPI public enum DefaultSolubilityCategory extends Enum<DefaultSolubilityCategory> implements SolubilityCategory
Default solubility categories.Low: lower than 0.01 mg/ml Moderate: between 0.01 and 0.06 mg/ml High: higher than 0.06 mg/ml
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Description.double
getUpperLimit()
The upper limit of category.String
shortName()
Returns the name of category.static DefaultSolubilityCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static DefaultSolubilityCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOW
public static final DefaultSolubilityCategory LOW
Low solubility.
-
MODERATE
public static final DefaultSolubilityCategory MODERATE
Moderate solubility.
-
HIGH
public static final DefaultSolubilityCategory HIGH
High solubility.
-
-
Method Detail
-
values
public static DefaultSolubilityCategory[] 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 (DefaultSolubilityCategory c : DefaultSolubilityCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultSolubilityCategory 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
-
shortName
public String shortName()
Description copied from interface:SolubilityCategory
Returns the name of category.- Specified by:
shortName
in interfaceSolubilityCategory
- Returns:
- short name of category
- See Also:
SolubilityCategory.shortName()
-
description
public String description()
Description copied from interface:SolubilityCategory
Description.- Specified by:
description
in interfaceSolubilityCategory
- Returns:
- description of category.
- See Also:
SolubilityCategory.description()
-
getUpperLimit
public double getUpperLimit()
Description copied from interface:SolubilityCategory
The upper limit of category.- Specified by:
getUpperLimit
in interfaceSolubilityCategory
- Returns:
- the upper limit
- See Also:
SolubilityCategory.getUpperLimit()
-
-