Package ome.xml.model.enums.handlers
Class UnitsFrequencyEnumHandler
java.lang.Object
ome.xml.model.enums.handlers.UnitsFrequencyEnumHandler
- All Implemented Interfaces:
IEnumerationHandler
Enumeration handler for UnitsFrequency.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBaseUnit(UnitsFrequency 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(Frequency inUnit) static <T extends PrimitiveNumber>
FrequencygetQuantity(T inValue, UnitsFrequency inModelUnit)
-
Constructor Details
-
UnitsFrequencyEnumHandler
public UnitsFrequencyEnumHandler()
-
-
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> Frequency getQuantity(T inValue, UnitsFrequency inModelUnit) throws EnumerationException - Throws:
EnumerationException
-
getQuantity
public static <T extends Number> Frequency getQuantity(T inValue, UnitsFrequency inModelUnit) throws EnumerationException - Throws:
EnumerationException
-
getEntity
Description copied from interface:IEnumerationHandlerRetrieve the entity corresponding to this handler.- Specified by:
getEntityin interfaceIEnumerationHandler
-