public class MutablePropertyMap extends PropertyMap implements IMutablePropertyMap
exceptionMap, mapORDER_TYPE_MANUAL, ORDER_TYPE_NONE| Modifier | Constructor and Description |
|---|---|
|
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
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
containsProperty, containsProperty, get, getException, getExceptions, isEmpty, iterator, size, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsProperty, containsProperty, get, getException, getExceptions, isEmpty, iterator, sizepublic 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)
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)
IMutablePropertyMapremove in interface IMutablePropertyMappropertyName - TBD: Description of the incoming method parameterpublic IPropertyMap getImmutable()
IMutablePropertyMapgetImmutable in interface IMutablePropertyMappublic void addException(IPropertyName propertyName, Exception ex)
IMutablePropertyMapaddException in interface IMutablePropertyMappropertyName - name of propertyex - exceptionpublic IMutablePropertyMap getMutable()
IPropertyMapgetMutable 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
|
Copyright 2021 SAP SE Complete Copyright Notice