|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.flex.runtime.resource.Translatable
public class Translatable
A string resource that is translatable and replicable.
Constructor Summary | |
---|---|
Translatable(ReplicableResource source,
java.util.Map<java.lang.String,java.lang.String> langToTranslationMap)
Constructs a translatable string resource that is replicable. |
|
Translatable(oracle.jbo.Row viewRow,
java.lang.String viewAttrName,
java.lang.String baseLanguage,
java.lang.String rsColName,
TranslationTable table,
java.lang.String... keyValues)
Constructs a translatable string resource based on a translation table. |
|
Translatable(java.lang.String universalStr,
java.util.List<java.lang.String> languages)
Constructs a translatable string which is the same in all languages. |
Method Summary | |
---|---|
ReplicableResource |
getSource()
Gets the replicable resource that represents this translatable string. |
java.util.Map<java.lang.String,java.lang.String> |
getTranslations()
Gets the translations. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Translatable(ReplicableResource source, java.util.Map<java.lang.String,java.lang.String> langToTranslationMap)
source
- the replicable resourcelangToTranslationMap
- the translations
java.lang.IllegalArgumentException
- if the given replicable resource is
nullpublic Translatable(oracle.jbo.Row viewRow, java.lang.String viewAttrName, java.lang.String baseLanguage, java.lang.String rsColName, TranslationTable table, java.lang.String... keyValues)
viewRow
- the view row to fetch the translationsviewAttrName
- the name of the view attribute that contains the
translatable string. It is assumed the associated
entity via "OA_TL_ENTITIES" contains an attribute of
the same name.baseLanguage
- the base language codersColName
- the name of the column where the resource is fromtable
- the translation tablekeyValues
- the key values to identify the row that contains the
resourcepublic Translatable(java.lang.String universalStr, java.util.List<java.lang.String> languages)
universalStr
- the universal stringlanguages
- the list of language codesMethod Detail |
---|
public final ReplicableResource getSource()
public final java.util.Map<java.lang.String,java.lang.String> getTranslations()
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |