Package ome.xml.model.enums.handlers
Class UnitsPressureEnumHandler
java.lang.Object
ome.xml.model.enums.handlers.UnitsPressureEnumHandler
- All Implemented Interfaces:
IEnumerationHandler
public class UnitsPressureEnumHandler extends java.lang.Object implements IEnumerationHandler
Enumeration handler for UnitsPressure.
-
Constructor Summary
Constructors Constructor Description UnitsPressureEnumHandler()
-
Method Summary
Modifier and Type Method Description static Unit<Pressure>
getBaseUnit(UnitsPressure inModelUnit)
java.lang.Class<? extends Enumeration>
getEntity()
Retrieve the entity corresponding to this handler.Enumeration
getEnumeration(java.lang.String value)
Attempt to find an enumeration from a list of enumeration values.Enumeration
getEnumeration(Pressure inUnit)
static <T extends PrimitiveNumber>
PressuregetQuantity(T inValue, UnitsPressure inModelUnit)
-
Constructor Details
-
UnitsPressureEnumHandler
public UnitsPressureEnumHandler()
-
-
Method Details
-
getEnumeration
Description copied from interface:IEnumerationHandler
Attempt to find an enumeration from a list of enumeration values.- Specified by:
getEnumeration
in interfaceIEnumerationHandler
- Parameters:
value
- Value for which to find an enumeration.- Throws:
EnumerationException
-
getEnumeration
- Throws:
EnumerationException
-
getBaseUnit
-
getQuantity
public static <T extends PrimitiveNumber> Pressure getQuantity(T inValue, UnitsPressure inModelUnit) throws EnumerationException- Throws:
EnumerationException
-
getQuantity
public static <T extends java.lang.Number> Pressure getQuantity(T inValue, UnitsPressure inModelUnit) throws EnumerationException- Throws:
EnumerationException
-
getEntity
Description copied from interface:IEnumerationHandler
Retrieve the entity corresponding to this handler.- Specified by:
getEntity
in interfaceIEnumerationHandler
-