Cisco Systems Inc. Confidential

com.scms.common
Class PolicyProfile

java.lang.Object
  extended by com.scms.common.PolicyProfile

public class PolicyProfile
extends java.lang.Object

Represents subscriber's policy profile. In order to keep policy profile operations as generic as possible we define PolicyProfile as array of strings. The API user should fill PolicyProfile strings array according to the definitions of the specific application. Note that the API provides just a transport and does not interpret the encoding of PolicyProfile strings which is an entire responsibility of the application.


Constructor Summary
PolicyProfile(java.lang.String[] policy)
          Constructor
 
Method Summary
 void addPolicyProperty(java.lang.String property)
          This method allows adding a single policy property to the profile.
 java.lang.String[] getAsStrings()
          Retreives the array of policy properties within this profile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyProfile

public PolicyProfile(java.lang.String[] policy)
Constructor

Parameters:
policy - Array of policy properties. Each pro[erty should be encoded according to the specific application guidelines.
Method Detail

getAsStrings

public java.lang.String[] getAsStrings()
Retreives the array of policy properties within this profile

Returns:
String[] of policy properties

addPolicyProperty

public void addPolicyProperty(java.lang.String property)
This method allows adding a single policy property to the profile. Note: this method is not performance-optimized. For best performance use the constructor.

Parameters:
property - Property to add

Cisco Systems Inc. Confidential