@PublicApi public class MutableProjectComponent extends Object implements ProjectComponent
| Constructor and Description |
|---|
MutableProjectComponent(Long id,
String name,
String description,
String lead,
long assigneeType,
Long projectId)
Deprecated.
|
MutableProjectComponent(Long id,
String name,
String description,
String lead,
long assigneeType,
Long projectId,
boolean archived)
Deprecated.
|
MutableProjectComponent(Long id,
String name,
String description,
String lead,
long assigneeType,
Long projectId,
boolean archived,
boolean deleted) |
| Modifier and Type | Method and Description |
|---|---|
static Collection<MutableProjectComponent> |
copy(Collection<ProjectComponent> c)
Copy given collection of components
|
static MutableProjectComponent |
copy(ProjectComponent c)
Copy given component
|
boolean |
equals(Object o)
Returns true if same object, instance of MutableProjectComponent and equal ID.
|
boolean |
equalsName(MutableProjectComponent component) |
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.
|
int |
hashCode()
Returns the hash code of the ID
|
boolean |
isArchived()
Returns archived status of the component.
|
boolean |
isDeleted()
Returns the deletion status of the component.
|
void |
setArchived(boolean archived) |
void |
setAssigneeType(long assigneeType) |
void |
setDeleted(boolean deleted) |
void |
setDescription(String description)
Set description to give value.
|
void |
setId(Long id) |
void |
setLead(String lead) |
void |
setName(String name) |
String |
toString() |
@Deprecated public MutableProjectComponent(Long id, String name, String description, String lead, long assigneeType, Long projectId)
@Deprecated public MutableProjectComponent(Long id, String name, String description, String lead, long assigneeType, Long projectId, boolean archived)
public Long getId()
ProjectComponentgetId in interface ProjectComponentgetId in interface ProjectConstantpublic void setId(Long id)
public String getDescription()
ProjectComponentgetDescription in interface ProjectComponentgetDescription in interface ProjectConstantpublic void setDescription(String description)
description - description to set it topublic String getLead()
ProjectComponentgetLead in interface ProjectComponentpublic ApplicationUser getComponentLead()
ProjectComponentgetComponentLead in interface ProjectComponentpublic void setLead(String lead)
public String getName()
ProjectComponentgetName in interface ProjectComponentgetName in interface ProjectConstantpublic void setName(String name)
public Long getProjectId()
ProjectComponentgetProjectId in interface ProjectComponentgetProjectId in interface ProjectConstantpublic long getAssigneeType()
ProjectComponentgetAssigneeType in interface ProjectComponentAssigneeTypespublic void setAssigneeType(long assigneeType)
public org.ofbiz.core.entity.GenericValue getGenericValue()
getGenericValue in interface ProjectComponentpublic boolean isArchived()
ProjectComponentisArchived in interface ProjectComponentpublic void setArchived(boolean archived)
public boolean isDeleted()
ProjectComponentisDeleted in interface ProjectComponentpublic void setDeleted(boolean deleted)
public boolean equals(Object o)
public int hashCode()
public boolean equalsName(MutableProjectComponent component)
public static MutableProjectComponent copy(ProjectComponent c)
c - component to copypublic static Collection<MutableProjectComponent> copy(Collection<ProjectComponent> c)
c - collection of components to copyCopyright © 2002-2023 Atlassian. All Rights Reserved.