Uses of Enum Class
org.salespointframework.quantity.Metric
Package
Description
Domain types to work with quantities.
-
Uses of Metric in org.salespointframework.catalog
-
Uses of Metric in org.salespointframework.quantity
Modifier and TypeMethodDescriptionstatic Metric
Returns theMetric
for the given abbreviation.@NonNull Metric
Quantity.getMetric()
The metric of the Quantity.static Metric
Returns the enum constant of this class with the specified name.static Metric[]
Metric.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionboolean
Metric.isCompatibleWith
(Metric metric) Returns whether the givenMetric
isboolean
Quantity.isCompatibleWith
(Metric metric) static Quantity
static Quantity
ModifierConstructorDescriptionMetricMismatchException
(String text, Metric m1, Metric m2) MetricMismatchException
(Metric m1, Metric m2)