org.kuali.rice.kim.impl.jaxb
Class PermissionXmlDTO
java.lang.Object
org.kuali.rice.kim.impl.jaxb.PermissionXmlDTO
- All Implemented Interfaces:
- Serializable
public class PermissionXmlDTO
- extends Object
- implements Serializable
This class represents a <permission> 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 |
PermissionXmlDTO
public PermissionXmlDTO()
PermissionXmlDTO
public PermissionXmlDTO(PermissionContract permission)
getPermissionId
public String getPermissionId()
- Returns:
- the permissionId
setPermissionId
public void setPermissionId(String permissionId)
- Parameters:
permissionId
- the permissionId to set
getPermissionNameAndNamespace
public NameAndNamespacePair getPermissionNameAndNamespace()
- Returns:
- the permissionNameAndNamespace
setPermissionNameAndNamespace
public void setPermissionNameAndNamespace(NameAndNamespacePair permissionNameAndNamespace)
- Parameters:
permissionNameAndNamespace
- the permissionNameAndNamespace to set
getPermissionTemplateId
public String getPermissionTemplateId()
- Returns:
- the permissionTemplateId
setPermissionTemplateId
public void setPermissionTemplateId(String permissionTemplateId)
- Parameters:
permissionTemplateId
- the permissionTemplateId to set
getPermissionDescription
public String getPermissionDescription()
- Returns:
- the permissionDescription
setPermissionDescription
public void setPermissionDescription(String permissionDescription)
- Parameters:
permissionDescription
- the permissionDescription to set
getActive
public Boolean getActive()
- Returns:
- the active
setActive
public void setActive(Boolean active)
- Parameters:
active
- the active to set
getPermissionDetails
public Map<String,String> getPermissionDetails()
- Returns:
- the permissionDetails
setPermissionDetails
public void setPermissionDetails(Map<String,String> permissionDetails)
- Parameters:
permissionDetails
- the permissionDetails to set
getPermissionName
public String getPermissionName()
- Retrieves the permission's name from the permission-name-and-namespace combo.
- Returns:
- The name of the permission, or null if the permission-name-and-namespace combo is null.
getNamespaceCode
public String getNamespaceCode()
- Retrieves the permission's namespace code from the permission-name-and-namespace combo.
- Returns:
- The namespace code of the permission, or null if the permission-name-and-namespace combo is null.
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.