@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()
ProjectComponent
getId
in interface ProjectComponent
getId
in interface ProjectConstant
public void setId(Long id)
public String getDescription()
ProjectComponent
getDescription
in interface ProjectComponent
getDescription
in interface ProjectConstant
public void setDescription(String description)
description
- description to set it topublic String getLead()
ProjectComponent
getLead
in interface ProjectComponent
public ApplicationUser getComponentLead()
ProjectComponent
getComponentLead
in interface ProjectComponent
public void setLead(String lead)
public String getName()
ProjectComponent
getName
in interface ProjectComponent
getName
in interface ProjectConstant
public void setName(String name)
public Long getProjectId()
ProjectComponent
getProjectId
in interface ProjectComponent
getProjectId
in interface ProjectConstant
public long getAssigneeType()
ProjectComponent
getAssigneeType
in interface ProjectComponent
AssigneeTypes
public void setAssigneeType(long assigneeType)
public org.ofbiz.core.entity.GenericValue getGenericValue()
getGenericValue
in interface ProjectComponent
public boolean isArchived()
ProjectComponent
isArchived
in interface ProjectComponent
public void setArchived(boolean archived)
public boolean isDeleted()
ProjectComponent
isDeleted
in interface ProjectComponent
public 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.