com.atlassian.jira.mock
Class MockProjectRoleManager.MockProjectRole

java.lang.Object
  extended by com.atlassian.jira.mock.MockProjectRoleManager.MockProjectRole
All Implemented Interfaces:
ProjectRole
Enclosing class:
MockProjectRoleManager

public static class MockProjectRoleManager.MockProjectRole
extends Object
implements ProjectRole


Constructor Summary
MockProjectRoleManager.MockProjectRole(long id, String name, String description)
           
 
Method Summary
 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.
 void setDescription(String description)
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockProjectRoleManager.MockProjectRole

public MockProjectRoleManager.MockProjectRole(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

setName

public void setName(String 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)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.