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 TypeMethodDescriptionlong
Returns the assignee type.Returns the lead for this project component.Returns the component description.org.ofbiz.core.entity.GenericValue
getId()
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.boolean
Returns archived status of the component.boolean
Returns the deletion status of the component.void
setComponentLead
(ApplicationUser componentLead) setProjectId
(Long projectId)
-
Constructor Details
-
MockProjectComponent
-
MockProjectComponent
-
MockProjectComponent
-
-
Method Details
-
getName
Description copied from interface:ProjectComponent
Returns the name of this project component.- Specified by:
getName
in interfaceProjectComponent
- Specified by:
getName
in interfaceProjectConstant
- Returns:
- name of this project component
-
getId
Description copied from interface:ProjectComponent
Returns the component ID.- Specified by:
getId
in interfaceProjectComponent
- Specified by:
getId
in interfaceProjectConstant
- Returns:
- component ID
-
getDescription
Description copied from interface:ProjectComponent
Returns the component description.- Specified by:
getDescription
in interfaceProjectComponent
- Specified by:
getDescription
in interfaceProjectConstant
- Returns:
- component description
-
getLead
Description copied from interface:ProjectComponent
Returns the key of the lead for this project component.- Specified by:
getLead
in interfaceProjectComponent
- Returns:
- userkey of the lead for this project component
-
getComponentLead
Description copied from interface:ProjectComponent
Returns the lead for this project component.- Specified by:
getComponentLead
in interfaceProjectComponent
- Returns:
- the lead for this project component
-
getProjectId
Description copied from interface:ProjectComponent
Returns the id of the project of this component.- Specified by:
getProjectId
in interfaceProjectComponent
- Specified by:
getProjectId
in interfaceProjectConstant
- Returns:
- the project's id.
-
getAssigneeType
public long getAssigneeType()Description copied from interface:ProjectComponent
Returns the assignee type.- Specified by:
getAssigneeType
in interfaceProjectComponent
- Returns:
- the assignee type.
- See Also:
-
getGenericValue
public org.ofbiz.core.entity.GenericValue getGenericValue()- Specified by:
getGenericValue
in interfaceProjectComponent
- Returns:
- the underlying GenericValue
-
isArchived
public boolean isArchived()Description copied from interface:ProjectComponent
Returns archived status of the component.- Specified by:
isArchived
in interfaceProjectComponent
- Returns:
- true if component is archived.
-
isDeleted
public boolean isDeleted()Description copied from interface:ProjectComponent
Returns the deletion status of the component.- Specified by:
isDeleted
in interfaceProjectComponent
- Returns:
- true if the component is deleted.
-
setId
-
setName
-
setProjectId
-
setLead
-
setComponentLead
-