com.atlassian.jira.security.roles
Class ProjectRoleImpl

java.lang.Object
  extended by com.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 name of this role, null if not set.
 int hashCode()
           
 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.

getName

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

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

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

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2013 Atlassian. All Rights Reserved.