public class PropertyMap extends WcmObject implements IPropertyMap
Copyright SAP AG 2001-2004
| Modifier and Type | Field and Description |
|---|---|
protected Map |
exceptionMap |
protected HashMap |
map |
ORDER_TYPE_MANUAL, ORDER_TYPE_NONE| Modifier | Constructor and Description |
|---|---|
|
PropertyMap()
Constructs a new empty property map.
|
protected |
PropertyMap(int initialCapacity) |
|
PropertyMap(IPropertyMap propMap)
Constructs a new property map with the same mappings as the given map.
|
protected |
PropertyMap(Map m) |
|
PropertyMap(PropertyMap propMap)
Constructs a new property map with the same mappings as the given map.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProperty(IProperty property)
Returns true if the map contains the specified property.
|
boolean |
containsProperty(IPropertyName propertyName)
Returns true if the map contains a property with the specified name.
|
IProperty |
get(IPropertyName propertyName)
Returns the property with the specified name or
null if there
is no such property. |
Exception |
getException(IPropertyName propertyName)
Given a property that does not appear in the property map, query for a
possible exception that occured internally when computing it.
|
Map |
getExceptions()
Returns a map from IPropertyNames to Exceptions for every property for
which an internal error occured during retrieval (not being defined is
not an error condition).
|
IMutablePropertyMap |
getMutable()
Returns a copy of the map that can be modified.
|
boolean |
isEmpty()
Returns true if the map is empty.
|
IPropertyIterator |
iterator()
Returns an iterator for the property map.
|
int |
size()
Returns the number of properties in the map.
|
String |
toString() |
public PropertyMap()
public PropertyMap(PropertyMap propMap)
propMap - The map whose mappings are to be copied.public PropertyMap(IPropertyMap propMap)
propMap - The map whose mappings are to be copiedprotected PropertyMap(int initialCapacity)
protected PropertyMap(Map m)
public int size()
IPropertyMapsize in interface IPropertyMappublic boolean isEmpty()
IPropertyMapisEmpty in interface IPropertyMappublic boolean containsProperty(IPropertyName propertyName)
IPropertyMapcontainsProperty in interface IPropertyMappropertyName - the property name to search for.public boolean containsProperty(IProperty property)
IPropertyMapcontainsProperty in interface IPropertyMapproperty - the property to search for.public IProperty get(IPropertyName propertyName)
IPropertyMapnull if there
is no such property.get in interface IPropertyMappropertyName - the property name to search for.null if there
is no such property.public IPropertyIterator iterator()
IPropertyMapiterator in interface IPropertyMappublic IMutablePropertyMap getMutable()
IPropertyMapgetMutable in interface IPropertyMappublic Map getExceptions()
IPropertyMapgetExceptions in interface IPropertyMappublic Exception getException(IPropertyName propertyName)
IPropertyMapgetException in interface IPropertyMappropertyName - name of propertynull| 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