public class LocaleString
extends java.lang.Object
Constructor and Description |
---|
LocaleString(java.lang.String id,
java.lang.String property,
java.lang.String value)
Only constructor, must provide all five values
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Returns the control id
|
java.lang.String |
getProperty()
Returns the property name
|
java.lang.String |
getUniqueKey()
Returns a single unique key for this label
|
java.lang.String |
getValue()
Returns the value for the label
|
static java.lang.String |
makeUniqueKey(java.lang.String id,
java.lang.String property)
Generates a single unique key for use in hashmaps.
|
public LocaleString(java.lang.String id, java.lang.String property, java.lang.String value)
locale
- locale or language for the stringid
- control id for the propertyproperty
- name of the propertyvalue
- value of the propertypublic java.lang.String getUniqueKey()
public static java.lang.String makeUniqueKey(java.lang.String id, java.lang.String property)
id
- control id for the propertyproperty
- name of the propertypublic java.lang.String getId()
public java.lang.String getProperty()
public java.lang.String getValue()