|
SAP NetWeaver 7.30 (SP05) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.netweaver.bc.uwl.config.Descriptions
public final class Descriptions
This class that represnts internalized strings for display. Global descriptions are shared by many configuration objects. Descriptions may either contain hashMap of language key to string values or contain pointer to ResourceBundles. Since sometimes bundles are stored per languages,there are method variants for accepting both string value of the locale and Locale object itself.
| Constructor Summary | |
|---|---|
Descriptions(IDescriptionResourceBundle descriptionBundle)
|
|
Descriptions(String defaultStr)
If this constructor is used, then short and long descriptions are used and no resource bundles are used. |
|
| Method Summary | |
|---|---|
void |
add(String key,
String shortDesc,
String longDesc)
|
void |
addLong(String key,
String longDesc)
|
void |
addShort(String key,
String shortDesc)
|
Object |
clone()
|
String |
getDefault()
|
Set |
getKeySet()
Used for itertating over the keys |
String |
getLong(Locale locale)
|
String |
getLong(String key)
Dont use this method. |
String |
getNonNullLong(Locale locale)
|
String |
getNonNullShort(Locale locale)
|
IDescriptionResourceBundle |
getResourceBundle()
Returns the resource bundle associated with it. |
String |
getShort(Locale locale)
|
String |
getShort(String key)
Dont use this method. |
boolean |
isShared()
Descriptions are shared if they are defined as part of the global description bundle under ConfigurationRoot or if they have description resource Bundles associated with them. |
void |
setGlobal()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Descriptions(IDescriptionResourceBundle descriptionBundle)
public Descriptions(String defaultStr)
defaultStr - | Method Detail |
|---|
public IDescriptionResourceBundle getResourceBundle()
public boolean isShared()
public String getDefault()
public String getLong(Locale locale)
locale - not null
public String getNonNullLong(Locale locale)
public String getShort(Locale locale)
locale -
public String getNonNullShort(Locale locale)
locale -
public String getLong(String key)
key - is not necessarily locale.toString() could just be langauge. If this
method is used, keys should have got through, getKeySet() method.
public String getShort(String key)
key - is not necessarily locale.toString() could just be langauge. If this
method is used, keys should have got through, getKeySet() method.
public Set getKeySet()
public void add(String key,
String shortDesc,
String longDesc)
public void addShort(String key,
String shortDesc)
public void addLong(String key,
String longDesc)
public void setGlobal()
public Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] UWLJWF
|
[sap.com] tc/kmc/bc.uwl/api
|
default
|
EP-BC-UWL
|
[sap.com] UWLJWF
|
[sap.com] tc/kmc/bc.uwl/api
|
-
|
EP-BC-UWL
|
|
SAP NetWeaver 7.30 (SP05) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||