Interface ProjectComponent
- All Superinterfaces:
ProjectConstant
- All Known Implementing Classes:
MockProjectComponent
,MutableProjectComponent
,ProjectComponentImpl
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
Modifier and TypeMethodDescriptionlong
Returns the assignee type.Returns the lead for this project component.Returns the component description.org.ofbiz.core.entity.GenericValue
Deprecated.use this object instead of the stinky GenericValue!getId()
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.boolean
Returns archived status of the component.boolean
Returns the deletion status of the component.
-
Method Details
-
getId
Long getId()Returns the component ID.- Specified by:
getId
in interfaceProjectConstant
- Returns:
- component ID
-
getDescription
String getDescription()Returns the component description.- Specified by:
getDescription
in interfaceProjectConstant
- 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
-
getComponentLead
ApplicationUser getComponentLead()Returns the lead for this project component.- Returns:
- the lead for this project component
-
getName
String getName()Returns the name of this project component.- Specified by:
getName
in interfaceProjectConstant
- Returns:
- name of this project component
-
getProjectId
Long getProjectId()Returns the id of the project of this component.- Specified by:
getProjectId
in interfaceProjectConstant
- Returns:
- the project's id.
-
getAssigneeType
long getAssigneeType()Returns the assignee type.- Returns:
- the assignee type.
- See Also:
-
getGenericValue
org.ofbiz.core.entity.GenericValue getGenericValue()Deprecated.use this object instead of the stinky GenericValue!- Returns:
- the underlying GenericValue
-
isArchived
boolean isArchived()Returns archived status of the component.- Returns:
- true if component is archived.
-
isDeleted
boolean isDeleted()Returns the deletion status of the component.- Returns:
- true if the component is deleted.
-