net.sf.magicproject.database.data
Class TranslatedCollectionData
java.lang.Object
net.sf.magicproject.database.data.TranslatableData
net.sf.magicproject.database.data.CollectionData
net.sf.magicproject.database.data.TranslatedCollectionData
public class TranslatedCollectionData
- extends CollectionData
Represents a collection of translated data which is a name associated to a
table of String
objects. The isTranslated()
method always returns true
.
- Since:
- 0.90
- Author:
- Fabrice Daugan
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TranslatedCollectionData
public TranslatedCollectionData(PropertyConfig propertyConfig,
java.lang.String... values)
- Default public constructor.
- Parameters:
propertyConfig
- the property configuration of this data to usevalues
- the values of this data
getTranslatedValue
public java.lang.String getTranslatedValue(Proxy proxy)
- Description copied from class:
TranslatableData
- Returns the translated value. The translation is done only during the first
call.
- Overrides:
getTranslatedValue
in class CollectionData
- Parameters:
proxy
- is the proxy this data come from. Is used to translate from
private-proxy to public-tbs value.
- Returns:
- the translated value
Copyright © 2003-2007 Magic-Project. All Rights Reserved.