public class UnitsElectricPotentialEnumHandler extends Object implements IEnumerationHandler
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER
Logger for this class.
|
private static Hashtable<String,String> |
patterns
Every UnitsElectricPotential value must match one of these patterns.
|
Constructor and Description |
---|
UnitsElectricPotentialEnumHandler() |
Modifier and Type | Method and Description |
---|---|
static Unit<ElectricPotential> |
getBaseUnit(UnitsElectricPotential inModelUnit) |
Class<? extends Enumeration> |
getEntity()
Retrieve the entity corresponding to this handler.
|
Enumeration |
getEnumeration(ElectricPotential inUnit) |
Enumeration |
getEnumeration(String value)
Attempt to find an enumeration from a list of enumeration values.
|
static <T extends Number> |
getQuantity(T inValue,
UnitsElectricPotential inModelUnit) |
static <T extends PrimitiveNumber> |
getQuantity(T inValue,
UnitsElectricPotential inModelUnit) |
private static Hashtable<String,String> |
makePatterns() |
public Enumeration getEnumeration(String value) throws EnumerationException
IEnumerationHandler
getEnumeration
in interface IEnumerationHandler
value
- Value for which to find an enumeration.EnumerationException
public Enumeration getEnumeration(ElectricPotential inUnit) throws EnumerationException
EnumerationException
public static Unit<ElectricPotential> getBaseUnit(UnitsElectricPotential inModelUnit)
public static <T extends PrimitiveNumber> ElectricPotential getQuantity(T inValue, UnitsElectricPotential inModelUnit) throws EnumerationException
EnumerationException
public static <T extends Number> ElectricPotential getQuantity(T inValue, UnitsElectricPotential inModelUnit) throws EnumerationException
EnumerationException
public Class<? extends Enumeration> getEntity()
IEnumerationHandler
getEntity
in interface IEnumerationHandler
Copyright © 2015 Open Microscopy Environment