Skip navigation links


oracle.iam.request.vo
Class Beneficiary

java.lang.Object
  extended by oracle.iam.request.vo.Beneficiary

All Implemented Interfaces:
java.io.Serializable

public class Beneficiary
extends java.lang.Object
implements java.io.Serializable

This value object stores beneficiary information associated with a request. Beneficiary exists only for following request types

See Also:
Serialized Form

Field Summary
static java.lang.String ORG_BENEFICIARY
          A constant for Organization beneficiary-type.
static java.lang.String USER_BENEFICIARY
          A constant for User beneficiary-type.

 

Constructor Summary
Beneficiary()
          Constructs a default Beneficiary object
Beneficiary(java.lang.String beneficiaryType, java.lang.String beneficiaryKey)
          Constructs a Beneficiary object by using specified beneficiary details

 

Method Summary
 java.lang.String getBeneficiaryKey()
          Gets the user key for this beneficiary
 java.lang.String getBeneficiaryType()
          Gets the beneficiary type associated with this object
 java.util.List getTargetEntities()
          Gets a list of entities , i.e.
 void setBeneficiaryType(java.lang.String beneficiaryType)
          Sets the beneficiary type in this object.
 void setTargetEntities(java.util.List beneficiarytEntities)
          Sets a list of entities i.e.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

USER_BENEFICIARY

public static final java.lang.String USER_BENEFICIARY
A constant for User beneficiary-type.
See Also:
Constant Field Values

ORG_BENEFICIARY

public static final java.lang.String ORG_BENEFICIARY
A constant for Organization beneficiary-type.
See Also:
Constant Field Values

Constructor Detail

Beneficiary

public Beneficiary()
Constructs a default Beneficiary object

Beneficiary

public Beneficiary(java.lang.String beneficiaryType,
                   java.lang.String beneficiaryKey)
Constructs a Beneficiary object by using specified beneficiary details
Parameters:
beneficiaryType - Beneficiary type i.e. "User"
beneficiaryKey - Beneficiary key i.e. User key

Method Detail

setBeneficiaryType

public void setBeneficiaryType(java.lang.String beneficiaryType)
Sets the beneficiary type in this object.
Parameters:
beneficiaryType - Beneficiary type i.e. "User"

getBeneficiaryType

public java.lang.String getBeneficiaryType()
Gets the beneficiary type associated with this object
Returns:
beneficiary type

getBeneficiaryKey

public java.lang.String getBeneficiaryKey()
Gets the user key for this beneficiary
Returns:
beneficiary key

getTargetEntities

public java.util.List getTargetEntities()
Gets a list of entities , i.e. Resource, Resource instance or Role,associated with a beneficiary.
Returns:
List of entities - resource, resource instance or roles based on request type.

setTargetEntities

public void setTargetEntities(java.util.List beneficiarytEntities)
Sets a list of entities i.e. Resource, Resource instance or Role,with this beneficiary.
Parameters:
beneficiarytEntities - Entities i.e Resource, Resource instance or Role.

Skip navigation links


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.