Class ProjectComponentImpl
java.lang.Object
com.atlassian.jira.bc.project.component.ProjectComponentImpl
- All Implemented Interfaces:
ProjectComponent,ProjectConstant
Standard implementation of the
ProjectComponent.-
Constructor Summary
ConstructorsConstructorDescriptionProjectComponentImpl(Long id, String name, String description, String lead, long assigneeType, Long projectId, boolean archived, boolean deleted, org.ofbiz.core.entity.GenericValue gv) ProjectComponentImpl(Long id, String name, String description, String lead, long assigneeType, Long projectId, boolean archived, org.ofbiz.core.entity.GenericValue gv) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if same object, instance of ProjectComponent and equal ID.longReturns the assignee type.Returns the lead for this project component.Returns the component description.org.ofbiz.core.entity.GenericValueDeprecated.use this object insteadgetId()Returns the component ID.getLead()Returns the key of the lead for this project component.getName()Returns the name of this project component.Returns the id of the project of this component.inthashCode()Returns the hash code of the IDbooleanReturns archived status of the component.booleanReturns the deletion status of the component.toString()Nice debug output.
-
Constructor Details
-
ProjectComponentImpl
-
ProjectComponentImpl
-
-
Method Details
-
getId
Description copied from interface:ProjectComponentReturns the component ID.- Specified by:
getIdin interfaceProjectComponent- Specified by:
getIdin interfaceProjectConstant- Returns:
- component ID
-
getDescription
Description copied from interface:ProjectComponentReturns the component description.- Specified by:
getDescriptionin interfaceProjectComponent- Specified by:
getDescriptionin interfaceProjectConstant- Returns:
- component description
-
getLead
Description copied from interface:ProjectComponentReturns the key of the lead for this project component.- Specified by:
getLeadin interfaceProjectComponent- Returns:
- userkey of the lead for this project component
-
getComponentLead
Description copied from interface:ProjectComponentReturns the lead for this project component.- Specified by:
getComponentLeadin interfaceProjectComponent- Returns:
- the lead for this project component
-
getName
Description copied from interface:ProjectComponentReturns the name of this project component.- Specified by:
getNamein interfaceProjectComponent- Specified by:
getNamein interfaceProjectConstant- Returns:
- name of this project component
-
getProjectId
Description copied from interface:ProjectComponentReturns the id of the project of this component.- Specified by:
getProjectIdin interfaceProjectComponent- Specified by:
getProjectIdin interfaceProjectConstant- Returns:
- the project's id.
-
getAssigneeType
public long getAssigneeType()Description copied from interface:ProjectComponentReturns the assignee type.- Specified by:
getAssigneeTypein interfaceProjectComponent- Returns:
- the assignee type.
- See Also:
-
isArchived
public boolean isArchived()Description copied from interface:ProjectComponentReturns archived status of the component.- Specified by:
isArchivedin interfaceProjectComponent- Returns:
- true if component is archived.
-
isDeleted
public boolean isDeleted()Description copied from interface:ProjectComponentReturns the deletion status of the component.- Specified by:
isDeletedin interfaceProjectComponent- Returns:
- true if the component is deleted.
-
equals
Returns true if same object, instance of ProjectComponent and equal ID. -
hashCode
public int hashCode()Returns the hash code of the ID -
toString
Nice debug output. -
getGenericValue
public org.ofbiz.core.entity.GenericValue getGenericValue()Deprecated.use this object instead- Specified by:
getGenericValuein interfaceProjectComponent- Returns:
- a GenericValue representation
-