org.kuali.rice.kim.impl.jaxb
Class PermissionXmlDTO

java.lang.Object
  extended by 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

Constructor Summary
PermissionXmlDTO()
           
PermissionXmlDTO(PermissionContract permission)
           
 
Method Summary
 Boolean getActive()
           
 String getNamespaceCode()
          Retrieves the permission's namespace code from the permission-name-and-namespace combo.
 String getPermissionDescription()
           
 Map<String,String> getPermissionDetails()
           
 String getPermissionId()
           
 String getPermissionName()
          Retrieves the permission's name from the permission-name-and-namespace combo.
 NameAndNamespacePair getPermissionNameAndNamespace()
           
 String getPermissionTemplateId()
           
 void setActive(Boolean active)
           
 void setPermissionDescription(String permissionDescription)
           
 void setPermissionDetails(Map<String,String> permissionDetails)
           
 void setPermissionId(String permissionId)
           
 void setPermissionNameAndNamespace(NameAndNamespacePair permissionNameAndNamespace)
           
 void setPermissionTemplateId(String permissionTemplateId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionXmlDTO

public PermissionXmlDTO()

PermissionXmlDTO

public PermissionXmlDTO(PermissionContract permission)
Method Detail

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-2013 The Kuali Foundation. All Rights Reserved.