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