Package ome.xml.model.enums.handlers
Class UnitsElectricPotentialEnumHandler
- java.lang.Object
-
- ome.xml.model.enums.handlers.UnitsElectricPotentialEnumHandler
-
- All Implemented Interfaces:
IEnumerationHandler
public class UnitsElectricPotentialEnumHandler extends java.lang.Object implements IEnumerationHandler
Enumeration handler for UnitsElectricPotential.
-
-
Constructor Summary
Constructors Constructor Description UnitsElectricPotentialEnumHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Unit<ElectricPotential>getBaseUnit(UnitsElectricPotential inModelUnit)java.lang.Class<? extends Enumeration>getEntity()Retrieve the entity corresponding to this handler.EnumerationgetEnumeration(java.lang.String value)Attempt to find an enumeration from a list of enumeration values.EnumerationgetEnumeration(ElectricPotential inUnit)static <T extends PrimitiveNumber>
ElectricPotentialgetQuantity(T inValue, UnitsElectricPotential inModelUnit)
-
-
-
Method Detail
-
getEnumeration
public Enumeration getEnumeration(java.lang.String value) throws EnumerationException
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
public Enumeration getEnumeration(ElectricPotential inUnit) throws EnumerationException
- Throws:
EnumerationException
-
getBaseUnit
public static Unit<ElectricPotential> getBaseUnit(UnitsElectricPotential inModelUnit)
-
getQuantity
public static <T extends PrimitiveNumber> ElectricPotential getQuantity(T inValue, UnitsElectricPotential inModelUnit) throws EnumerationException
- Throws:
EnumerationException
-
getQuantity
public static <T extends java.lang.Number> ElectricPotential getQuantity(T inValue, UnitsElectricPotential inModelUnit) throws EnumerationException
- Throws:
EnumerationException
-
getEntity
public java.lang.Class<? extends Enumeration> getEntity()
Description copied from interface:IEnumerationHandlerRetrieve the entity corresponding to this handler.- Specified by:
getEntityin interfaceIEnumerationHandler
-
-