public class Entitlement
extends java.lang.Object
implements java.io.Serializable
ProvisioningPolicy,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALL_OWNERSHIP_TYPE
Constant String indicating all ownership types
|
static int |
ENTITLEMENT_TYPE_AUTHORIZED
Entitlement type indicating manual account creation
|
static int |
ENTITLEMENT_TYPE_REQUIRED
Entitlement type indicating automatic account creation
|
| Constructor and Description |
|---|
Entitlement()
The default constructor.
|
Entitlement(int type,
ServiceTarget target,
ProvisioningParameters parameters,
DistinguishedName processDN)
The entitlement constructor with full set of parameters.
|
Entitlement(int type,
ServiceTarget target,
ProvisioningParameters parameters,
DistinguishedName processDN,
java.lang.String ownershipType)
The entitlement constructor with full set of parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object entitlement)
Compares this entitlement against the entitlement object
passed in.
|
java.lang.String |
getOwnershipType()
Returns the ownership type value.
|
DistinguishedName |
getProcessDN()
Returns the current DistinguishedName value of the
workflow process associated with this entitlement.
|
ProvisioningParameters |
getProvisioningParameters()
Returns the value of the provisioning parameters associated with
this entitlement.
|
ServiceTarget |
getTarget()
Return the current service target of the entitlement.
|
int |
getType()
Returns the entitlement type value.
|
void |
setOwnershipType(java.lang.String ownershipType)
Sets the value of the ownership type.
|
void |
setProcessDN(DistinguishedName processDN)
Sets the DistinguishedName value of the workflow process to
be associated with this entitlement.
|
void |
setProvisioningParameters(ProvisioningParameters parameters)
Sets the value of the provisioning parameters of the entitlement.
|
void |
setTarget(ServiceTarget target)
Sets the new value of the target property.
|
void |
setType(int type)
Sets the value of the Entitlement type.
|
public static final int ENTITLEMENT_TYPE_AUTHORIZED
public static final int ENTITLEMENT_TYPE_REQUIRED
public static final java.lang.String ALL_OWNERSHIP_TYPE
public Entitlement()
public Entitlement(int type,
ServiceTarget target,
ProvisioningParameters parameters,
DistinguishedName processDN)
type - The entitlement type. The possible values are
ENTITLEMENT_TYPE_AUTHORIZED and ENTITLEMENT_TYPE_REQUIRED.target - The ServiceTarget object.parameters - The ProvisioningParameters object.processDN - The DistinguishedName of the workflow process.public Entitlement(int type,
ServiceTarget target,
ProvisioningParameters parameters,
DistinguishedName processDN,
java.lang.String ownershipType)
type - The entitlement type. The possible values are
ENTITLEMENT_TYPE_AUTHORIZED and ENTITLEMENT_TYPE_REQUIRED.target - The ServiceTarget object.parameters - The ProvisioningParameters object.processDN - The DistinguishedName of the workflow process.ownershipType - The ownership type. The possible value can be any specific
ownership type configured in the system, or Entitlement.ALL_OWNERSHIP_TYPE.public void setTarget(ServiceTarget target)
target - The new ServiceTarget for this entitlement.public ServiceTarget getTarget()
public void setProcessDN(DistinguishedName processDN)
processDN - The new DistinguishedName value of the workflow process.public DistinguishedName getProcessDN()
public void setType(int type)
type - The entitlement type.public int getType()
public ProvisioningParameters getProvisioningParameters()
public void setProvisioningParameters(ProvisioningParameters parameters)
parameters - The new ProvisioningParameters object.public boolean equals(java.lang.Object entitlement)
equals in class java.lang.Objectentitlement - The object to be comparedpublic void setOwnershipType(java.lang.String ownershipType)
ownershipType - The ownership type.public java.lang.String getOwnershipType()