Class MockProjectComponent
java.lang.Object
com.atlassian.jira.bc.project.component.MockProjectComponent
- All Implemented Interfaces:
ProjectComponent,ProjectConstant
-
Constructor Summary
ConstructorsConstructorDescriptionMockProjectComponent(Long id, String name) MockProjectComponent(Long id, String name, Long projectId) MockProjectComponent(Long id, String name, Long projectId, boolean deleted) -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the assignee type.Returns the lead for this project component.Returns the component description.org.ofbiz.core.entity.GenericValuegetId()Returns the component ID.getLead()Returns the key of the lead for this project component.getName()Returns the name of this project component.Returns the id of the project of this component.booleanReturns archived status of the component.booleanReturns the deletion status of the component.voidsetComponentLead(ApplicationUser componentLead) setProjectId(Long projectId)
-
Constructor Details
-
MockProjectComponent
-
MockProjectComponent
-
MockProjectComponent
-
-
Method Details
-
getName
Description copied from interface:ProjectComponentReturns the name of this project component.- Specified by:
getNamein interfaceProjectComponent- Specified by:
getNamein interfaceProjectConstant- Returns:
- name of this project component
-
getId
Description copied from interface:ProjectComponentReturns the component ID.- Specified by:
getIdin interfaceProjectComponent- Specified by:
getIdin interfaceProjectConstant- Returns:
- component ID
-
getDescription
Description copied from interface:ProjectComponentReturns the component description.- Specified by:
getDescriptionin interfaceProjectComponent- Specified by:
getDescriptionin interfaceProjectConstant- Returns:
- component description
-
getLead
Description copied from interface:ProjectComponentReturns the key of the lead for this project component.- Specified by:
getLeadin interfaceProjectComponent- Returns:
- userkey of the lead for this project component
-
getComponentLead
Description copied from interface:ProjectComponentReturns the lead for this project component.- Specified by:
getComponentLeadin interfaceProjectComponent- Returns:
- the lead for this project component
-
getProjectId
Description copied from interface:ProjectComponentReturns the id of the project of this component.- Specified by:
getProjectIdin interfaceProjectComponent- Specified by:
getProjectIdin interfaceProjectConstant- Returns:
- the project's id.
-
getAssigneeType
public long getAssigneeType()Description copied from interface:ProjectComponentReturns the assignee type.- Specified by:
getAssigneeTypein interfaceProjectComponent- Returns:
- the assignee type.
- See Also:
-
getGenericValue
public org.ofbiz.core.entity.GenericValue getGenericValue()- Specified by:
getGenericValuein interfaceProjectComponent- Returns:
- the underlying GenericValue
-
isArchived
public boolean isArchived()Description copied from interface:ProjectComponentReturns archived status of the component.- Specified by:
isArchivedin interfaceProjectComponent- Returns:
- true if component is archived.
-
isDeleted
public boolean isDeleted()Description copied from interface:ProjectComponentReturns the deletion status of the component.- Specified by:
isDeletedin interfaceProjectComponent- Returns:
- true if the component is deleted.
-
setId
-
setName
-
setProjectId
-
setLead
-
setComponentLead
-