org.kuali.rice.kew.api.rule
Class RuleResponsibility

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.kew.api.rule.RuleResponsibility
All Implemented Interfaces:
Serializable, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, ModelObjectComplete, RuleResponsibilityContract

public final class RuleResponsibility
extends AbstractDataTransferObject
implements RuleResponsibilityContract

See Also:
Serialized Form

Nested Class Summary
static class RuleResponsibility.Builder
          A builder which can be used to construct RuleResponsibility instances.
static class RuleResponsibility.Cache
           
 
Method Summary
 boolean equals(Object o)
          All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract.
 String getActionRequestedCd()
          code for the Action Requested
 String getApprovePolicy()
          approval policy for the RuleResponsibility
 List<RuleDelegation> getDelegationRules()
          list of RuleDelegations for the RuleResponsibility
 String getGroupId()
          unique id of the Group for the RuleResponsibility
 String getId()
          The unique identifier for an object.
 String getObjectId()
          Return the globally unique object id of this object.
 String getPrincipalId()
          unique id of the Principal for the RuleResponsibility
 Integer getPriority()
          integer representation of the priority of the RuleResponsibility
 String getResolvedRoleName()
           
 String getResponsibilityId()
          Unique Id for Responsibility.
 String getRoleAttributeName()
           
 String getRoleName()
          unique name of the Role for the RuleResponsibility
 Long getVersionNumber()
          Returns the version number for this object.
 boolean isUsingGroup()
          determines if the RuleResponsibiltity is using a kim Group
 boolean isUsingPrincipal()
          determines if the RuleResponsibiltity is using a kim Principal
 boolean isUsingRole()
          determines if the RuleResponsibiltity is using a kim Role
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getId

public String getId()
Description copied from interface: Identifiable
The unique identifier for an object. This can be null.

Specified by:
getId in interface Identifiable
Returns:
the id

getPriority

public Integer getPriority()
Description copied from interface: RuleResponsibilityContract
integer representation of the priority of the RuleResponsibility

Specified by:
getPriority in interface RuleResponsibilityContract
Returns:
priority

getResponsibilityId

public String getResponsibilityId()
Description copied from interface: RuleResponsibilityContract
Unique Id for Responsibility.

This is the unique Id of the Responsibility

Specified by:
getResponsibilityId in interface RuleResponsibilityContract
Returns:
responsibilityId

getActionRequestedCd

public String getActionRequestedCd()
Description copied from interface: RuleResponsibilityContract
code for the Action Requested

This code matches the unique code for an ActionRequest

Specified by:
getActionRequestedCd in interface RuleResponsibilityContract
Returns:
actionRequestedCd

getApprovePolicy

public String getApprovePolicy()
Description copied from interface: RuleResponsibilityContract
approval policy for the RuleResponsibility

Specified by:
getApprovePolicy in interface RuleResponsibilityContract
Returns:
approvalPolicy

getPrincipalId

public String getPrincipalId()
Description copied from interface: RuleResponsibilityContract
unique id of the Principal for the RuleResponsibility

Specified by:
getPrincipalId in interface RuleResponsibilityContract
Returns:
principalId

getGroupId

public String getGroupId()
Description copied from interface: RuleResponsibilityContract
unique id of the Group for the RuleResponsibility

Specified by:
getGroupId in interface RuleResponsibilityContract
Returns:
groupId

getRoleName

public String getRoleName()
Description copied from interface: RuleResponsibilityContract
unique name of the Role for the RuleResponsibility

Specified by:
getRoleName in interface RuleResponsibilityContract
Returns:
groupId

getDelegationRules

public List<RuleDelegation> getDelegationRules()
Description copied from interface: RuleResponsibilityContract
list of RuleDelegations for the RuleResponsibility

Specified by:
getDelegationRules in interface RuleResponsibilityContract
Returns:
delegationRules

isUsingRole

public boolean isUsingRole()
Description copied from interface: RuleResponsibilityContract
determines if the RuleResponsibiltity is using a kim Role

Specified by:
isUsingRole in interface RuleResponsibilityContract
Returns:
boolean value representing if the RuleResponsibility is using a Role

isUsingPrincipal

public boolean isUsingPrincipal()
Description copied from interface: RuleResponsibilityContract
determines if the RuleResponsibiltity is using a kim Principal

Specified by:
isUsingPrincipal in interface RuleResponsibilityContract
Returns:
boolean value representing if the RuleResponsibility is using a Principal

isUsingGroup

public boolean isUsingGroup()
Description copied from interface: RuleResponsibilityContract
determines if the RuleResponsibiltity is using a kim Group

Specified by:
isUsingGroup in interface RuleResponsibilityContract
Returns:
boolean value representing if the RuleResponsibility is using a Group

getVersionNumber

public Long getVersionNumber()
Description copied from interface: Versioned
Returns the version number for this object. In general, this value should only be null if the object has not yet been stored to a persistent data store. This version number is generally used for the purposes of optimistic locking.

Specified by:
getVersionNumber in interface Versioned
Returns:
the version number, or null if one has not been assigned yet

getObjectId

public String getObjectId()
Description copied from interface: GloballyUnique
Return the globally unique object id of this object. In general, this value should only be null if the object has not yet been stored to a persistent data store.

Specified by:
getObjectId in interface GloballyUnique
Returns:
the objectId of this object, or null if it has not been set yet

getRoleAttributeName

public String getRoleAttributeName()

getResolvedRoleName

public String getResolvedRoleName()

equals

public boolean equals(Object o)
Description copied from interface: ModelObjectComplete
All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract.

Specified by:
equals in interface ModelObjectComplete
Overrides:
equals in class AbstractDataTransferObject
Parameters:
o - to object to compare for equality
Returns:
if equal


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.