com.sapportals.wcm.util.controlstatus

Class MetaInfoMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by com.sapportals.wcm.util.controlstatus.MetaInfoMap
All Implemented Interfaces:
Serializable, Cloneable, Map

public final class MetaInfoMap
extends HashMap

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
MetaInfoMap(String label)
          creates a new instance that holds two map entries - label and tooltip.
MetaInfoMap(String labelkey, Locale locale, ResourceBundles bundle)
          creates a new, translated metamap instance.
MetaInfoMap(String label, String tooltip)
          creates a new instance that holds two map entries - label and tooltip.
MetaInfoMap(String labelkey, String tooltipkey, Locale locale, ResourceBundles bundle)
          creates a new, translated metamap instance.
 
Method Summary
 String getMetaInfo(MetaInfo info)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

MetaInfoMap

public MetaInfoMap(String label,
                   String tooltip)
creates a new instance that holds two map entries - label and tooltip. This will create an untranslated meta info.

Parameters:
label -
tooltip -

MetaInfoMap

public MetaInfoMap(String label)
creates a new instance that holds two map entries - label and tooltip. The tooltip will hold the same value as the label. This constructor will create an untranslated meta info

Parameters:
label -

MetaInfoMap

public MetaInfoMap(String labelkey,
                   String tooltipkey,
                   Locale locale,
                   ResourceBundles bundle)
creates a new, translated metamap instance. None of the parameters must be null.


MetaInfoMap

public MetaInfoMap(String labelkey,
                   Locale locale,
                   ResourceBundles bundle)
creates a new, translated metamap instance. None of the parameters must be null. The given labelkey will also be used to retrieve a tooltip.

Method Detail

getMetaInfo

public String getMetaInfo(MetaInfo info)
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice