com.atlassian.jira.bc.project.component
Interface ProjectComponent

All Superinterfaces:
ProjectConstant
All Known Implementing Classes:
MockProjectComponent, MutableProjectComponent, ProjectComponentImpl

@PublicApi
public interface ProjectComponent
extends ProjectConstant

A key domain object representing a "working part" of a Project such that an Issue can be raised against or be relevant only to some parts. Typical usage in projects to develop a technology product have a ProjectComponent for each subsystem or module, e.g. GUI, Database, Indexing, Importing. Components can have a lead, or user responsible for the issues raised against that component. The AssigneeType value (AssigneeTypes) refers to the default assignee for issues raised on that component.


Method Summary
 long getAssigneeType()
          Returns the assignee type.
 String getDescription()
          Returns the component description.
 org.ofbiz.core.entity.GenericValue getGenericValue()
          Deprecated. use this object instead of the stinky GenericValue!
 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.
 

Method Detail

getId

Long getId()
Returns the component ID.

Specified by:
getId in interface ProjectConstant
Returns:
component ID

getDescription

String getDescription()
Returns the component description.

Specified by:
getDescription in interface ProjectConstant
Returns:
component description

getLead

String getLead()
Returns the key of the lead for this project component.

Returns:
userkey of the lead for this project component

getName

String getName()
Returns the name of this project component.

Specified by:
getName in interface ProjectConstant
Returns:
name of this project component

getProjectId

Long getProjectId()
Returns the id of the project of this component.

Specified by:
getProjectId in interface ProjectConstant
Returns:
the project's id.

getAssigneeType

long getAssigneeType()
Returns the assignee type.

Returns:
the assignee type.
See Also:
AssigneeTypes

getGenericValue

org.ofbiz.core.entity.GenericValue getGenericValue()
Deprecated. use this object instead of the stinky GenericValue!

Returns:
the underlying GenericValue


Copyright © 2002-2013 Atlassian. All Rights Reserved.