|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.WcmObject
com.sapportals.wcm.repository.PropertyMap
com.sapportals.wcm.repository.MutablePropertyMap
public class MutablePropertyMap
Holds a mutable map of Property objects.
| Field Summary |
|---|
| Fields inherited from class com.sapportals.wcm.repository.PropertyMap |
|---|
exceptionMap, map |
| Fields inherited from class com.sapportals.wcm.WcmObject |
|---|
ORDER_TYPE_MANUAL, ORDER_TYPE_NONE |
| Constructor Summary | |
|---|---|
|
MutablePropertyMap()
Constructs a new, empty property map |
protected |
MutablePropertyMap(HashMap m)
|
|
MutablePropertyMap(int initialCapacity)
Constructs a new, empty property map with the specified initial capacity |
|
MutablePropertyMap(MutablePropertyMap propMap)
Constructs a new property map with the same mappings as the given map |
| Method Summary | |
|---|---|
void |
addException(IPropertyName propertyName,
Exception ex)
Record an exception for a particular property. |
IPropertyMap |
getImmutable()
Returns a read-only version of this map. |
IMutablePropertyMap |
getMutable()
Returns a copy of the map that can be modified. |
IProperty |
put(IProperty property)
Puts a property into the map. |
IProperty |
remove(IPropertyName propertyName)
Removes the mapping for the specified property name from this map if present. |
| Methods inherited from class com.sapportals.wcm.repository.PropertyMap |
|---|
containsProperty, containsProperty, get, getException, getExceptions, isEmpty, iterator, size, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sapportals.wcm.repository.IPropertyMap |
|---|
containsProperty, containsProperty, get, getException, getExceptions, isEmpty, iterator, size |
| Constructor Detail |
|---|
public MutablePropertyMap()
public MutablePropertyMap(MutablePropertyMap propMap)
propMap - The map whose mappings are to be places in this mappublic MutablePropertyMap(int initialCapacity)
initialCapacity - The initial capacity of the contained mapprotected MutablePropertyMap(HashMap m)
| Method Detail |
|---|
public IProperty put(IProperty property)
IMutablePropertyMapIPropertyName as a key in this map. If the map previously contained a
mapping for this name, the old property is replaced.
put in interface IMutablePropertyMapproperty - The property to add.
public IProperty remove(IPropertyName propertyName)
IMutablePropertyMap
remove in interface IMutablePropertyMappropertyName - TBD: Description of the incoming method parameter
public IPropertyMap getImmutable()
IMutablePropertyMap
getImmutable in interface IMutablePropertyMap
public void addException(IPropertyName propertyName,
Exception ex)
IMutablePropertyMap
addException in interface IMutablePropertyMappropertyName - name of propertyex - exceptionpublic IMutablePropertyMap getMutable()
IPropertyMap
getMutable in interface IPropertyMapgetMutable in class PropertyMap| Access Rights |
|---|
| 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
|
|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||