public class StringKey extends Object implements Serializable, Comparable
| Constructor and Description |
|---|
StringKey(String id,
String defaultName) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object rhs) |
boolean |
equals(Object obj) |
String |
getId() |
static StringKey |
getKey(Class type,
String id)
Translates the stringified ID into the appropriate key instance.
|
static StringKey |
getKey(Class type,
String id,
List valueCache)
Translates the stringified ID into the appropriate key instance.
|
static <T> List<T> |
getKeys(Class<T> type) |
static <T> List<T> |
getKeys(Class<T> type,
boolean includeDeprecatedKeys) |
String |
getName() |
int |
hashCode() |
String |
toString() |
public String getId()
public String getName()
public static StringKey getKey(Class type, String id, List valueCache)
id - The stringified ID to be resolved.null if no key could be resolved.public static StringKey getKey(Class type, String id)
id - The stringified ID to be resolved.null if no key could be resolved.public int compareTo(Object rhs)
compareTo in interface ComparableCopyright © 2016 Eclipse Stardust. All Rights Reserved.