@PublicApi public class MutableProjectComponent extends Object implements ProjectComponent
| Constructor and Description |
|---|
MutableProjectComponent(Long id,
String name,
String description,
String lead,
long assigneeType,
Long projectId) |
| 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
|
void |
setAssigneeType(long assigneeType) |
void |
setDescription(String description)
Set description to give value.
|
void |
setId(Long id) |
void |
setLead(String lead) |
void |
setName(String name) |
String |
toString() |
public static MutableProjectComponent copy(ProjectComponent c)
c - component to copypublic static Collection<MutableProjectComponent> copy(Collection<ProjectComponent> c)
c - collection of components to copypublic 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 boolean equals(Object o)
public int hashCode()
public boolean equalsName(MutableProjectComponent component)
public long getAssigneeType()
ProjectComponentgetAssigneeType in interface ProjectComponentAssigneeTypespublic void setAssigneeType(long assigneeType)
public org.ofbiz.core.entity.GenericValue getGenericValue()
getGenericValue in interface ProjectComponentCopyright © 2002-2017 Atlassian. All Rights Reserved.