public interface ResourceIdentifier<T> extends ResourceIdentifiable<T>
Modifier and Type | Method and Description |
---|---|
String |
getId() |
String |
getKey() |
String |
getTypeId() |
static <T> ResourceIdentifier<T> |
ofId(String id) |
static <T> ResourceIdentifier<T> |
ofId(String id,
String typeId) |
static <T> ResourceIdentifier<T> |
ofIdOrKey(String id,
String key) |
static <T> ResourceIdentifier<T> |
ofIdOrKey(String id,
String key,
String typeId) |
static <T> ResourceIdentifier<T> |
ofKey(String key) |
static <T> ResourceIdentifier<T> |
ofKey(String key,
String typeId) |
default ResourceIdentifier<T> |
toResourceIdentifier() |
default ResourceIdentifier<T> toResourceIdentifier()
toResourceIdentifier
in interface ResourceIdentifiable<T>
static <T> ResourceIdentifier<T> ofKey(String key)
static <T> ResourceIdentifier<T> ofKey(String key, String typeId)
static <T> ResourceIdentifier<T> ofId(String id)
static <T> ResourceIdentifier<T> ofId(String id, String typeId)
static <T> ResourceIdentifier<T> ofIdOrKey(@Nullable String id, @Nullable String key)