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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Unit<Pressure>getBaseUnit(UnitsPressure 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(Pressure inUnit)static <T extends PrimitiveNumber>
PressuregetQuantity(T inValue, UnitsPressure 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(Pressure inUnit) throws EnumerationException
- Throws:
EnumerationException
-
getBaseUnit
public static Unit<Pressure> getBaseUnit(UnitsPressure inModelUnit)
-
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
public java.lang.Class<? extends Enumeration> getEntity()
Description copied from interface:IEnumerationHandlerRetrieve the entity corresponding to this handler.- Specified by:
getEntityin interfaceIEnumerationHandler
-
-