org.kuali.rice.kim.impl.jaxb
Class RoleXmlDTO
java.lang.Object
org.kuali.rice.kim.impl.jaxb.RoleXmlDTO
- All Implemented Interfaces:
- Serializable
public class RoleXmlDTO
- extends Object
- implements Serializable
This class represents a <role> XML element.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleXmlDTO
public RoleXmlDTO()
RoleXmlDTO
public RoleXmlDTO(RoleContract role,
RoleMembersXmlDTO.WithinRole roleMembers,
RolePermissionsXmlDTO.WithinRole rolePermissions)
getRoleId
public String getRoleId()
- Returns:
- the roleId
setRoleId
public void setRoleId(String roleId)
- Parameters:
roleId
- the roleId to set
getRoleNameAndNamespace
public NameAndNamespacePair getRoleNameAndNamespace()
- Returns:
- the roleNameAndNamespace
setRoleNameAndNamespace
public void setRoleNameAndNamespace(NameAndNamespacePair roleNameAndNamespace)
- Parameters:
roleNameAndNamespace
- the roleNameAndNamespace to set
getKimTypeId
public String getKimTypeId()
- Returns:
- the kimTypeId
setKimTypeId
public void setKimTypeId(String kimTypeId)
- Parameters:
kimTypeId
- the kimTypeId to set
getRoleDescription
public String getRoleDescription()
- Returns:
- the roleDescription
setRoleDescription
public void setRoleDescription(String roleDescription)
- Parameters:
roleDescription
- the roleDescription to set
getActive
public Boolean getActive()
- Returns:
- the active
setActive
public void setActive(Boolean active)
- Parameters:
active
- the active to set
getRoleMembers
public RoleMembersXmlDTO.WithinRole getRoleMembers()
- Returns:
- the roleMembers
setRoleMembers
public void setRoleMembers(RoleMembersXmlDTO.WithinRole roleMembers)
- Parameters:
roleMembers
- the roleMembers to set
getRolePermissions
public RolePermissionsXmlDTO.WithinRole getRolePermissions()
- Returns:
- the rolePermissions
setRolePermissions
public void setRolePermissions(RolePermissionsXmlDTO.WithinRole rolePermissions)
- Parameters:
rolePermissions
- the rolePermissions to set
isAlreadyPersisted
public boolean isAlreadyPersisted()
- Returns:
- the alreadyPersisted
setAlreadyPersisted
public void setAlreadyPersisted(boolean alreadyPersisted)
- Parameters:
alreadyPersisted
- the alreadyPersisted to set
getExistingRoleMemberIds
public Set<String> getExistingRoleMemberIds()
- Returns:
- the existingRoleMemberIds
setExistingRoleMemberIds
public void setExistingRoleMemberIds(Set<String> existingRoleMemberIds)
- Parameters:
existingRoleMemberIds
- the existingRoleMemberIds to set
getRoleName
public String getRoleName()
- Retrieves the role's name from the role-name-and-namespace combo.
- Returns:
- The name of the role, or null if the role-name-and-namespace combo is null.
getNamespaceCode
public String getNamespaceCode()
- Retrieves the role's namespace code from the role-name-and-namespace combo.
- Returns:
- The namespace code of the role, or null if the role-name-and-namespace combo is null.
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.