public class MutablePropertyMap extends PropertyMap implements IMutablePropertyMap
exceptionMap, map
ORDER_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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
containsProperty, containsProperty, get, getException, getExceptions, isEmpty, iterator, size
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)
public IProperty put(IProperty property)
IMutablePropertyMap
IPropertyName
as a key in this map. If the map previously contained a
mapping for this name, the old property is replaced.put
in interface IMutablePropertyMap
property
- The property to add.public IProperty remove(IPropertyName propertyName)
IMutablePropertyMap
remove
in interface IMutablePropertyMap
propertyName
- TBD: Description of the incoming method parameterpublic IPropertyMap getImmutable()
IMutablePropertyMap
getImmutable
in interface IMutablePropertyMap
public void addException(IPropertyName propertyName, Exception ex)
IMutablePropertyMap
addException
in interface IMutablePropertyMap
propertyName
- name of propertyex
- exceptionpublic IMutablePropertyMap getMutable()
IPropertyMap
getMutable
in interface IPropertyMap
getMutable
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 2018 SAP AG Complete Copyright Notice