E
- the enum type that needs to be converted.public interface OpenJPAEnum<E extends Enum<?>>
Modifier and Type | Method and Description |
---|---|
int |
convertToKernelConstant(int i)
Convert the given integer to an equivalent kernel constant.
|
int |
convertToKernelConstant(String s)
Convert the given String to an equivalent kernel constant.
|
int |
toKernelConstant()
Convert this receiver to an equivalent kernel constant.
|
int toKernelConstant()
int convertToKernelConstant(int i)
throw
- IllegalArgumentException if no enum instance of the generic type matches the given integer.int convertToKernelConstant(String s)
throw
- IllegalArgumentException if no enum instance of the generic type matches the given String.Copyright © 2006–2018 Apache Software Foundation. All rights reserved.