com.sap.netweaver.bc.serialize

Class PropertiesClaim

java.lang.Object
  extended by com.sap.netweaver.bc.serialize.PropertiesClaim

public final class PropertiesClaim
extends Object

defines a list of IPropertyName instances and regular expressions for these names and allows to filter a IPropertyMap to remove IProperty instances that match this filter criteria.

Copyright 2004 SAP AG


Constructor Summary
PropertiesClaim(IPropertyNameList list)
           
PropertiesClaim(List claims)
          copy constructor to merge a list of claims.
 
Method Summary
 IPropertyMap filter(IPropertyMap map)
           
 IPropertyNameList getPropertyNameList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesClaim

public PropertiesClaim(IPropertyNameList list)
Parameters:
list - the list of names to be filtered by this instance. Must not be null, but can be an empty list

PropertiesClaim

public PropertiesClaim(List claims)
copy constructor to merge a list of claims. This new instance will filter out all properties that would have been filtered out by calling each of the included claims of this list.

Parameters:
claims - list of PropertiesClaim instances. Must not be null, but can be empty. Must only contain instances of PropertiesClaim
Method Detail

getPropertyNameList

public IPropertyNameList getPropertyNameList()
Returns:
the list of IPropertyName instances. Does not return null

filter

public IPropertyMap filter(IPropertyMap map)
Parameters:
map - the map of properties to be filtered. This map will not be modified by this method.
Returns:
a new instance of a IPropertyMap that will contain a subset of the IProperty instances contained in the map passed as parameter. Might be empty, but never null.
Access Rights

This class can be accessed from:


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 2014 SAP AG Complete Copyright Notice