T
- the actual typepublic static class TypedUIProperties.Type<T> extends Object
TypedUIProperties.Type
objects may share the same Class
object
but with different or even equal generic parameters.Modifier and Type | Method and Description |
---|---|
String |
getKey()
Gets the key of this type.
|
String |
getKey(String id)
Gets the identifier that should be used as replacement for a resource with identifier
id
and with type this . |
Path |
getKind(Path kind)
|
public Type(String key)
key
- the key of this type, must not be null
, must at least contain
one character, must not contain the character ".", must pass Path.isValidPath(String)
public String getKey()
null
public String getKey(String id)
id
and with type this
.id
- the id of some identifierthis
and id