com.ibm.itim.policy.analysis

Class PPAEntitlement

  • java.lang.Object
    • com.ibm.itim.policy.analysis.PPAEntitlement


  • public class PPAEntitlement
    extends java.lang.Object
    This class contains information that can be used in the analysis of an entitlement for a provisioning parameter. Included in the entitlement are:
    • The provisioning parameters.
    • The name of the target.
    • The type of the target.
    • An indication as to whether or not workflow is required.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int ALL
      Target type value that indicates that the target type is all services for all profiles.
      static int HOST_SELECTION_POLICY
      Target type value that indicates that the target type is a host selection policy.
      static int SERVICE_INSTANCE
      Target type value that indicates that the target type is a service instance.
      static int SERVICE_TYPE
      Target type value that indicates that the target type is a service type.
    • Field Detail

      • ALL

        public static final int ALL
        Target type value that indicates that the target type is all services for all profiles.
        See Also:
        Constant Field Values
      • HOST_SELECTION_POLICY

        public static final int HOST_SELECTION_POLICY
        Target type value that indicates that the target type is a host selection policy.
        See Also:
        Constant Field Values
      • SERVICE_INSTANCE

        public static final int SERVICE_INSTANCE
        Target type value that indicates that the target type is a service instance.
        See Also:
        Constant Field Values
      • SERVICE_TYPE

        public static final int SERVICE_TYPE
        Target type value that indicates that the target type is a service type.
        See Also:
        Constant Field Values
    • Method Detail

      • getProvisioningParameters

        public java.util.Collection<PPAProvisioningParameter> getProvisioningParameters()
        Returns the provisioning parameters for the entitlement.
        Returns:
        The collection of PPAProvisioningParameter objects for the entitlement.
        See Also:
        PPAProvisioningParameter
      • getTargetName

        public java.lang.String getTargetName()
        Returns the name of the target.
        Returns:
        The name of the target.
      • getTargetType

        public int getTargetType()
        Returns the type of the target.
        Returns:
        The type of the target. Possible return values include:
        • PPAEntitlement.SERVICE_TYPE if the type of the target is a service type.
        • PPAEntitlement.SERVICE_INSTANCE if the type of the target is a service instance.
        • PPAEntitlement.ALL if the type of the target is all services for all profiles.
        • PPAEntitlement.HOST_SELECTION_POLICY if the type of the target is a host selection policy.
      • isWorkflowRequired

        public boolean isWorkflowRequired()
        Returns an indication as to whether or not workflow is required.
        Returns:
        An indication as to whether or not workflow is required:
        • true if workflow is required.
        • false if workflow is not required.
      • getOwnershipType

        public java.lang.String getOwnershipType()
        Returns the ownership type value. The possible value can be any specific ownership type configured in the system, or Entitlement.ALL_OWNERSHIP_TYPE.
        Returns:
        the current value of the ownership type.
      • setOwnershipType

        public void setOwnershipType(java.lang.String ownershipType)
        Sets the value of the ownership type. The possible value can be any specific ownership type configured in the system, or Entitlement.ALL_OWNERSHIP_TYPE.
        Parameters:
        ownershipType - The ownership type.