com.sap.netweaver.bc.serialize

Class ContextMap.Creator

java.lang.Object
  extended by com.sap.netweaver.bc.serialize.ContextMap.Creator
Enclosing class:
ContextMap

public static class ContextMap.Creator
extends Object


Constructor Summary
ContextMap.Creator()
           
 
Method Summary
 Object add(RID rid, IPropertyMap map)
          adds a variant context (a.k.a. propertymap) for a repository to the map of contexts.
 ContextMap getMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextMap.Creator

public ContextMap.Creator()
Method Detail

add

public Object add(RID rid,
                  IPropertyMap map)
adds a variant context (a.k.a. propertymap) for a repository to the map of contexts. If a context has already been defined before for this instance, the old value will be lost. See Map.put(Object, Object) for details

Parameters:
rid - the rid that is a child or root of the repository. Must not be null
map - the propertymap defining the context. Must not be null. If a mutable propertymap is given, an immutable copy will be stored.

getMap

public ContextMap getMap()
Returns:
a representation of all data added to this instance as a new ContextMap instance
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