public abstract class IdentifiableUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.logging.Logger |
LOGGER |
| Constructor and Description |
|---|
IdentifiableUtils() |
| Modifier and Type | Method and Description |
|---|---|
static long |
createId() |
static java.lang.Long |
createId(java.lang.Long baseId) |
static <T> T |
getId(java.lang.Object identifiableObject) |
static boolean |
isGetIdMethodAvailable(java.lang.Object identifiableObject) |
static <T> boolean |
isSetIdMethodAvailable(java.lang.Object identifiableObject,
T id) |
static <T> void |
setId(java.lang.Object identifiableObject,
T id) |
public static long createId()
public static java.lang.Long createId(java.lang.Long baseId)
public static <T> T getId(java.lang.Object identifiableObject)
public static boolean isGetIdMethodAvailable(java.lang.Object identifiableObject)
public static <T> void setId(java.lang.Object identifiableObject,
T id)
public static <T> boolean isSetIdMethodAvailable(java.lang.Object identifiableObject,
T id)