@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()
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 boolean equals(Object o)
public int hashCode()
public boolean equalsName(MutableProjectComponent component)
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
Copyright © 2002-2017 Atlassian. All Rights Reserved.