com.netscape.cms.profile.common
Class ProfilePolicy

java.lang.Object
  extended by com.netscape.cms.profile.common.ProfilePolicy
All Implemented Interfaces:
IProfilePolicy

public class ProfilePolicy
extends java.lang.Object
implements IProfilePolicy

This class implements a profile policy that contains a default policy and a constraint policy.

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Constructor Summary
ProfilePolicy(java.lang.String id, IPolicyDefault def, IPolicyConstraint constraint)
           
 
Method Summary
 IPolicyConstraint getConstraint()
          Retrieves the constraint policy.
 IPolicyDefault getDefault()
          Retrieves the default policy.
 java.lang.String getId()
          Retrieves the policy id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfilePolicy

public ProfilePolicy(java.lang.String id,
                     IPolicyDefault def,
                     IPolicyConstraint constraint)
Method Detail

getId

public java.lang.String getId()
Description copied from interface: IProfilePolicy
Retrieves the policy id

Specified by:
getId in interface IProfilePolicy
Returns:
policy id

getDefault

public IPolicyDefault getDefault()
Description copied from interface: IProfilePolicy
Retrieves the default policy.

Specified by:
getDefault in interface IProfilePolicy
Returns:
default policy

getConstraint

public IPolicyConstraint getConstraint()
Description copied from interface: IProfilePolicy
Retrieves the constraint policy.

Specified by:
getConstraint in interface IProfilePolicy
Returns:
constraint policy