public class MockProjectComponent extends Object implements ProjectComponent
| Constructor and Description |
|---|
MockProjectComponent(Long id,
String name) |
MockProjectComponent(Long id,
String name,
Long projectId) |
| Modifier and Type | Method and Description |
|---|---|
long |
getAssigneeType()
Returns the assignee type.
|
ApplicationUser |
getComponentLead()
Returns the lead for this project component.
|
String |
getDescription()
Returns the component description.
|
org.ofbiz.core.entity.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.
|
boolean |
isArchived()
Returns archived status of the component.
|
void |
setComponentLead(ApplicationUser componentLead) |
MockProjectComponent |
setId(Long id) |
MockProjectComponent |
setLead(String leadUsername) |
MockProjectComponent |
setName(String name) |
MockProjectComponent |
setProjectId(Long projectId) |
public String getName()
ProjectComponentgetName in interface ProjectComponentgetName in interface ProjectConstantpublic Long getId()
ProjectComponentgetId in interface ProjectComponentgetId in interface ProjectConstantpublic String getDescription()
ProjectComponentgetDescription in interface ProjectComponentgetDescription in interface ProjectConstantpublic String getLead()
ProjectComponentgetLead in interface ProjectComponentpublic ApplicationUser getComponentLead()
ProjectComponentgetComponentLead in interface ProjectComponentpublic Long getProjectId()
ProjectComponentgetProjectId in interface ProjectComponentgetProjectId in interface ProjectConstantpublic long getAssigneeType()
ProjectComponentgetAssigneeType in interface ProjectComponentAssigneeTypespublic MockProjectComponent setId(Long id)
public MockProjectComponent setName(String name)
public MockProjectComponent setProjectId(Long projectId)
public MockProjectComponent setLead(String leadUsername)
public void setComponentLead(ApplicationUser componentLead)
public org.ofbiz.core.entity.GenericValue getGenericValue()
getGenericValue in interface ProjectComponentpublic boolean isArchived()
ProjectComponentisArchived in interface ProjectComponentCopyright © 2002-2022 Atlassian. All Rights Reserved.