public final class StringDescriptor
extends java.lang.Object
Constructor and Description |
---|
StringDescriptor(java.lang.String bundleName,
java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
static StringDescriptor |
create(java.lang.String value)
Creates "trivial" StringDescriptor.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getBundleName() |
java.lang.String |
getDottedBundleName() |
java.lang.String |
getFormClass() |
java.lang.String |
getKey() |
java.lang.String |
getResolvedValue() |
java.lang.String |
getValue() |
int |
hashCode() |
boolean |
isNoI18n() |
void |
setFormClass(java.lang.String formClass) |
void |
setNoI18n(boolean noI18n) |
void |
setResolvedValue(java.lang.String resolvedValue) |
java.lang.String |
toString() |
public StringDescriptor(java.lang.String bundleName, java.lang.String key)
public static StringDescriptor create(java.lang.String value)
public java.lang.String getValue()
null
value if this is "trivial" StringDescriptor.
If StringDescriptor is "trivial" then getBundleName()
and getKey()
return null
.public java.lang.String getBundleName()
null
value if this is non "trivial" StringDescriptor.public java.lang.String getDottedBundleName()
public java.lang.String getKey()
null
value if this is non "trivial" StringDescriptor.public java.lang.String getResolvedValue()
public void setResolvedValue(java.lang.String resolvedValue)
resolvedValue
- can be nullpublic boolean isNoI18n()
public void setNoI18n(boolean noI18n)
public java.lang.String getFormClass()
public void setFormClass(java.lang.String formClass)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object