public class

MockProjectComponent

extends Object
implements ProjectComponent
java.lang.Object
   ↳ com.atlassian.jira.bc.project.component.MockProjectComponent

Summary

Public Constructors
MockProjectComponent(Long id, String name)
MockProjectComponent(Long id, String name, Long projectId)
Public Methods
long getAssigneeType()
Returns the assignee type.
String getDescription()
Returns the component description.
GenericValue getGenericValue()
Long getId()
Returns the component ID.
String getLead()
Returns the key of the lead for this project component.
String getName()
Returns the name of this project component.
Long getProjectId()
Returns the id of the project of this component.
MockProjectComponent setId(Long id)
MockProjectComponent setLead(String lead)
MockProjectComponent setName(String name)
MockProjectComponent setProjectId(Long projectId)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.bc.project.component.ProjectComponent
From interface com.atlassian.jira.project.ProjectConstant

Public Constructors

public MockProjectComponent (Long id, String name)

public MockProjectComponent (Long id, String name, Long projectId)

Public Methods

public long getAssigneeType ()

Returns the assignee type.

Returns
  • the assignee type.

public String getDescription ()

Returns the component description.

Returns
  • component description

public GenericValue getGenericValue ()

public Long getId ()

Returns the component ID.

Returns
  • component ID

public String getLead ()

Returns the key of the lead for this project component.

Returns
  • userkey of the lead for this project component

public String getName ()

Returns the name of this project component.

Returns
  • name of this project component

public Long getProjectId ()

Returns the id of the project of this component.

Returns
  • the project's id.

public MockProjectComponent setId (Long id)

public MockProjectComponent setLead (String lead)

public MockProjectComponent setName (String name)

public MockProjectComponent setProjectId (Long projectId)