public interface KeyReference<T>
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Key of the object this reference represents.
|
T |
getObj() |
String |
getTypeId()
Type id of the object this reference represents, e.g.
|
static <T> KeyReference<T> |
of(String key,
String typeId) |
static <T> KeyReference<T> |
of(String key,
String typeId,
T obj) |
String getKey()
String getTypeId()
static <T> KeyReference<T> of(String key, String typeId)
static <T> KeyReference<T> of(String key, String typeId, @Nullable T obj)