org.kuali.rice.kew.dto
Class ResponsiblePartyDTO

java.lang.Object
  extended by org.kuali.rice.kew.dto.ResponsiblePartyDTO
All Implemented Interfaces:
Serializable

public class ResponsiblePartyDTO
extends Object
implements Serializable

Transport for representing a principal, group, or role associated with and request

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
ResponsiblePartyDTO()
           
 
Method Summary
static ResponsiblePartyDTO fromGroupId(String groupId)
           
static ResponsiblePartyDTO fromPrincipalId(String principalId)
           
static ResponsiblePartyDTO fromRoleName(String roleName)
           
 String getGroupId()
           
 String getPrincipalId()
           
 String getRoleName()
           
 boolean isGroup()
           
 boolean isPrincipal()
           
 boolean isRole()
           
 void setGroupId(String groupId)
           
 void setPrincipalId(String principalId)
           
 void setRoleName(String roleName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResponsiblePartyDTO

public ResponsiblePartyDTO()
Method Detail

isPrincipal

public boolean isPrincipal()

isGroup

public boolean isGroup()

isRole

public boolean isRole()

getPrincipalId

public String getPrincipalId()

setPrincipalId

public void setPrincipalId(String principalId)

getRoleName

public String getRoleName()

setRoleName

public void setRoleName(String roleName)

getGroupId

public String getGroupId()

setGroupId

public void setGroupId(String groupId)

fromGroupId

public static ResponsiblePartyDTO fromGroupId(String groupId)

fromPrincipalId

public static ResponsiblePartyDTO fromPrincipalId(String principalId)

fromRoleName

public static ResponsiblePartyDTO fromRoleName(String roleName)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.