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()
ProjectComponent
getName
in interface ProjectComponent
getName
in interface ProjectConstant
public Long getId()
ProjectComponent
getId
in interface ProjectComponent
getId
in interface ProjectConstant
public String getDescription()
ProjectComponent
getDescription
in interface ProjectComponent
getDescription
in interface ProjectConstant
public String getLead()
ProjectComponent
getLead
in interface ProjectComponent
public ApplicationUser getComponentLead()
ProjectComponent
getComponentLead
in interface ProjectComponent
public Long getProjectId()
ProjectComponent
getProjectId
in interface ProjectComponent
getProjectId
in interface ProjectConstant
public long getAssigneeType()
ProjectComponent
getAssigneeType
in interface ProjectComponent
AssigneeTypes
public 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 ProjectComponent
public boolean isArchived()
ProjectComponent
isArchived
in interface ProjectComponent
Copyright © 2002-2021 Atlassian. All Rights Reserved.