com.sapportals.wcm.repository
Class MutablePropertyMap
[contained in: com.sap.netweaver.bc.rf.par - bc.rf.framework_api.jar]
java.lang.Object
|
+--com.sapportals.wcm.WcmObject
|
+--com.sapportals.wcm.repository.PropertyMap
|
+--com.sapportals.wcm.repository.MutablePropertyMap
- All Implemented Interfaces:
- IMutablePropertyMap, IPropertyMap
- public class MutablePropertyMap
- extends PropertyMap
- implements IMutablePropertyMap
Holds a mutable map of Property objects.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MutablePropertyMap
public MutablePropertyMap()
- Constructs a new, empty property map
MutablePropertyMap
public MutablePropertyMap(MutablePropertyMap propMap)
- Constructs a new property map with the same mappings as the given map
- Parameters:
propMap - The map whose mappings are to be places in this map
MutablePropertyMap
public MutablePropertyMap(int initialCapacity)
- Constructs a new, empty property map with the specified initial capacity
- Parameters:
initialCapacity - The initial capacity of the contained map
MutablePropertyMap
protected MutablePropertyMap(java.util.HashMap m)
put
public IProperty put(IProperty property)
- Description copied from interface:
IMutablePropertyMap
- Puts a property into the map. Associates the property with the it's
IPropertyName as a key in this map. If the map previously contained a
mapping for this name, the old property is replaced.
- Specified by:
put in interface IMutablePropertyMap
- Following copied from interface:
com.sapportals.wcm.repository.IMutablePropertyMap
- Parameters:
property - The property to add.- Returns:
- previous value associated with specified property's name, or null
if there was no mapping.
remove
public IProperty remove(IPropertyName propertyName)
- Description copied from interface:
IMutablePropertyMap
- Removes the mapping for the specified property name from this map if
present.
- Specified by:
remove in interface IMutablePropertyMap
- Following copied from interface:
com.sapportals.wcm.repository.IMutablePropertyMap
- Parameters:
propertyName - TBD: Description of the incoming method parameter- Returns:
- previous value associated with specified name, or null if there was
no mapping.
getImmutable
public IPropertyMap getImmutable()
- Description copied from interface:
IMutablePropertyMap
- Returns a read-only version of this map. The map is not copied.
- Specified by:
getImmutable in interface IMutablePropertyMap
- Following copied from interface:
com.sapportals.wcm.repository.IMutablePropertyMap
- Returns:
- a read-only version of this map
addException
public void addException(IPropertyName propertyName,
java.lang.Exception ex)
- Description copied from interface:
IMutablePropertyMap
- Record an exception for a particular property.
- Specified by:
addException in interface IMutablePropertyMap
- Following copied from interface:
com.sapportals.wcm.repository.IMutablePropertyMap
- Parameters:
propertyName - name of propertyex - exception
getMutable
public IMutablePropertyMap getMutable()
- Description copied from interface:
IPropertyMap
- Returns a copy of the map that can be modified.
- Specified by:
getMutable in interface IPropertyMap- Overrides:
getMutable in class PropertyMap
- Following copied from interface:
com.sapportals.wcm.repository.IPropertyMap
- Returns:
- a copy of the map that can be modified.
Copyright © 2004 by
SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein
as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other
countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.
Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies
("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are
those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.