com.atlassian.jira.bc.project.component
Class ProjectComponentImpl

java.lang.Object
  extended bycom.atlassian.jira.bc.project.component.ProjectComponentImpl
All Implemented Interfaces:
ProjectComponent

class ProjectComponentImpl
extends Object
implements ProjectComponent

Standard implementation of the ProjectComponent.


Constructor Summary
protected ProjectComponentImpl(Long id, String name, String description, String lead, long assigneeType, Long projectId, org.ofbiz.core.entity.GenericValue gv)
           
  ProjectComponentImpl(String name, String description, String lead, long assigneeType)
           
 
Method Summary
 boolean equals(Object o)
          Returns true if same object, instance of ProjectComponent and equal ID.
 long getAssigneeType()
          Returns the assignee type.
 String getDescription()
          Returns the component description.
 org.ofbiz.core.entity.GenericValue getGenericValue()
          Deprecated. use this object instead
 Long getId()
          Returns the component ID.
 String getLead()
          Returns the name 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
(package private)  void setGenericValue(org.ofbiz.core.entity.GenericValue genericValue)
          Deprecated. temporary
 String toString()
          Nice debug output.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProjectComponentImpl

public ProjectComponentImpl(String name,
                            String description,
                            String lead,
                            long assigneeType)

ProjectComponentImpl

protected ProjectComponentImpl(Long id,
                               String name,
                               String description,
                               String lead,
                               long assigneeType,
                               Long projectId,
                               org.ofbiz.core.entity.GenericValue gv)
Method Detail

getId

public Long getId()
Description copied from interface: ProjectComponent
Returns the component ID.

Specified by:
getId in interface ProjectComponent
Returns:
component ID

getDescription

public String getDescription()
Description copied from interface: ProjectComponent
Returns the component description.

Specified by:
getDescription in interface ProjectComponent
Returns:
component description

getLead

public String getLead()
Description copied from interface: ProjectComponent
Returns the name of the lead for this project component.

Specified by:
getLead in interface ProjectComponent
Returns:
name of the lead for this project component

getName

public String getName()
Description copied from interface: ProjectComponent
Returns the name of this project component.

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

getProjectId

public Long getProjectId()
Description copied from interface: ProjectComponent
Returns the id of the project of this component.

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

getAssigneeType

public long getAssigneeType()
Description copied from interface: ProjectComponent
Returns the assignee type.

Specified by:
getAssigneeType in interface ProjectComponent
Returns:
the assignee type.

equals

public boolean equals(Object o)
Returns true if same object, instance of ProjectComponent and equal ID.

Parameters:
o - object to compare with
Returns:
true if same object, instance of ProjectComponent and equal ID; false otherwise

hashCode

public int hashCode()
Returns the hash code of the ID

Returns:
hash code of the ID

toString

public String toString()
Nice debug output.

Returns:
a detailed String representation useful in debug.

getGenericValue

public org.ofbiz.core.entity.GenericValue getGenericValue()
Deprecated. use this object instead

Specified by:
getGenericValue in interface ProjectComponent
Returns:
a GenericValue representation

setGenericValue

void setGenericValue(org.ofbiz.core.entity.GenericValue genericValue)
Deprecated. temporary



Copyright © 2002-2007 Atlassian. All Rights Reserved.