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