public abstract static class DisplayData.Identifier
extends java.lang.Object
implements java.io.Serializable
Identifiers are composed of:
path
based on the component hierarchy
key
it is registered with
namespace
generated from the class of the component which
registered the item.
Display data registered with the same key from different components will have different
namespaces and thus will both be represented in the composed DisplayData
. If a single
component registers multiple metadata items with the same key, only the most recent item will
be retained; previous versions are discarded.
Constructor and Description |
---|
Identifier() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getKey() |
abstract java.lang.Class<?> |
getNamespace() |
abstract DisplayData.Path |
getPath() |
static DisplayData.Identifier |
of(DisplayData.Path path,
java.lang.Class<?> namespace,
java.lang.String key) |
java.lang.String |
toString() |
public abstract DisplayData.Path getPath()
public abstract java.lang.Class<?> getNamespace()
public abstract java.lang.String getKey()
public static DisplayData.Identifier of(DisplayData.Path path, java.lang.Class<?> namespace, java.lang.String key)
public java.lang.String toString()
toString
in class java.lang.Object