|
SAP NetWeaver 7.40 SP 07 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
public class PropertyMap
Holds a read-only map of Property objects.
Copyright SAP AG 2001-2004
| Field Summary | |
|---|---|
protected Map |
exceptionMap
|
protected HashMap |
map
|
| Fields inherited from class com.sapportals.wcm.WcmObject |
|---|
ORDER_TYPE_MANUAL, ORDER_TYPE_NONE |
| Constructor Summary | |
|---|---|
|
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. |
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected HashMap map
protected Map exceptionMap
| Constructor Detail |
|---|
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)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic int size()
IPropertyMap
size in interface IPropertyMappublic boolean isEmpty()
IPropertyMap
isEmpty in interface IPropertyMappublic boolean containsProperty(IPropertyName propertyName)
IPropertyMap
containsProperty in interface IPropertyMappropertyName - the property name to search for.
public boolean containsProperty(IProperty property)
IPropertyMap
containsProperty 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()
IPropertyMap
iterator in interface IPropertyMappublic IMutablePropertyMap getMutable()
IPropertyMap
getMutable in interface IPropertyMappublic Map getExceptions()
IPropertyMap
getExceptions in interface IPropertyMappublic Exception getException(IPropertyName propertyName)
IPropertyMap
getException in interface IPropertyMappropertyName - name of property
null| 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 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||