|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.magicproject.database.data.TranslatableData
public abstract class TranslatableData
Represents a translatable data. A data contains a key and a value. The key is always translated, but the value may not.
Constructor Summary | |
---|---|
TranslatableData(PropertyConfig propertyConfig)
Default public constructor. |
Method Summary | |
---|---|
java.lang.String |
getPropertyName()
The key. |
java.lang.String |
getTranslatedPropertyName()
Returns the translated property name. |
abstract java.lang.String |
getTranslatedValue(Proxy proxy)
Returns the translated value. |
abstract java.lang.String |
getValue()
The value. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TranslatableData(PropertyConfig propertyConfig)
propertyConfig
- the property configuration of this data to useMethod Detail |
---|
public final java.lang.String getTranslatedPropertyName()
public abstract java.lang.String getTranslatedValue(Proxy proxy)
proxy
- is the proxy this data come from. Is used to translate from
private-proxy to public-tbs value.
public final java.lang.String getPropertyName()
public abstract java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |