|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.bc.project.component.MutableProjectComponent
@PublicApi public class MutableProjectComponent
| Constructor Summary | |
|---|---|
MutableProjectComponent(Long id,
String name,
String description,
String lead,
long assigneeType,
Long projectId)
|
|
| Method Summary | |
|---|---|
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. |
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MutableProjectComponent(Long id,
String name,
String description,
String lead,
long assigneeType,
Long projectId)
| Method Detail |
|---|
public static MutableProjectComponent copy(ProjectComponent c)
c - component to copy
public static Collection<MutableProjectComponent> copy(Collection<ProjectComponent> c)
c - collection of components to copy
public Long getId()
ProjectComponent
getId in interface ProjectComponentgetId in interface ProjectConstantpublic void setId(Long id)
public String getDescription()
ProjectComponent
getDescription in interface ProjectComponentgetDescription in interface ProjectConstantpublic void setDescription(String description)
description - description to set it topublic String getLead()
ProjectComponent
getLead in interface ProjectComponentpublic void setLead(String lead)
public String getName()
ProjectComponent
getName in interface ProjectComponentgetName in interface ProjectConstantpublic void setName(String name)
public Long getProjectId()
ProjectComponent
getProjectId in interface ProjectComponentgetProjectId in interface ProjectConstantpublic boolean equals(Object o)
equals in class Objecto - object to compare with
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic boolean equalsName(MutableProjectComponent component)
public long getAssigneeType()
ProjectComponent
getAssigneeType in interface ProjectComponentAssigneeTypespublic void setAssigneeType(long assigneeType)
public org.ofbiz.core.entity.GenericValue getGenericValue()
getGenericValue in interface ProjectComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||