com.atlassian.jira.security.roles
Class ProjectRoleImpl

java.lang.Object
  extended bycom.atlassian.jira.security.roles.ProjectRoleImpl
All Implemented Interfaces:
ProjectRole

public class ProjectRoleImpl
extends Object
implements ProjectRole


Constructor Summary
ProjectRoleImpl(Long id, String name, String description)
           
ProjectRoleImpl(String name, String description)
           
 
Method Summary
 boolean equals(Object o)
           
 String getDescription()
          Will get the description of this role, null if not set.
 Long getId()
          Will return the unique identifier for this project role.
 String getName()
          Will get the description of this role, null if not set.
 int hashCode()
           
 void setDescription(String description)
          Will set the description for this project role.
 void setId(Long id)
           
 void setName(String name)
          Will set the name for this project role.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProjectRoleImpl

public ProjectRoleImpl(String name,
                       String description)

ProjectRoleImpl

public ProjectRoleImpl(Long id,
                       String name,
                       String description)
Method Detail

getId

public Long getId()
Description copied from interface: ProjectRole
Will return the unique identifier for this project role.

Specified by:
getId in interface ProjectRole
Returns:
Long the unique id for this proejct role.

setId

public void setId(Long id)

getName

public String getName()
Description copied from interface: ProjectRole
Will get the description of this role, null if not set.

Specified by:
getName in interface ProjectRole
Returns:
name or null if not set

setName

public void setName(String name)
Description copied from interface: ProjectRole
Will set the name for this project role.

Specified by:
setName in interface ProjectRole
Parameters:
name -

getDescription

public String getDescription()
Description copied from interface: ProjectRole
Will get the description of this role, null if not set.

Specified by:
getDescription in interface ProjectRole
Returns:
description or null if not set

setDescription

public void setDescription(String description)
Description copied from interface: ProjectRole
Will set the description for this project role.

Specified by:
setDescription in interface ProjectRole
Parameters:
description -

equals

public boolean equals(Object o)

hashCode

public int hashCode()

toString

public String toString()


Copyright © 2002-2007 Atlassian. All Rights Reserved.