com.atlassian.jira.project
Class ProjectImpl

java.lang.Object
  extended by com.atlassian.jira.project.ProjectImpl
All Implemented Interfaces:
Project

public class ProjectImpl
extends java.lang.Object
implements Project

Represents an immutable Project domain object for JIRA.


Constructor Summary
ProjectImpl(org.ofbiz.core.entity.GenericValue projectGv)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Long getAssigneeType()
           
 Avatar getAvatar()
          Gives the currently-configured Avatar for this project.
 java.util.Collection<org.ofbiz.core.entity.GenericValue> getComponents()
          Returns the components for this Project.
 java.lang.Long getCounter()
           
 java.lang.String getDescription()
           
 org.ofbiz.core.entity.GenericValue getGenericValue()
           
 java.lang.Long getId()
           
 java.lang.String getKey()
           
 com.opensymphony.user.User getLead()
           
 java.lang.String getLeadUserName()
           
 java.lang.String getName()
           
 org.ofbiz.core.entity.GenericValue getProjectCategory()
           
 java.util.Collection<ProjectComponent> getProjectComponents()
          Returns the components for this Project.
 java.lang.String getUrl()
           
 java.util.Collection<Version> getVersions()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProjectImpl

public ProjectImpl(org.ofbiz.core.entity.GenericValue projectGv)
Method Detail

getId

public java.lang.Long getId()
Specified by:
getId in interface Project

getName

public java.lang.String getName()
Specified by:
getName in interface Project

getKey

public java.lang.String getKey()
Specified by:
getKey in interface Project

getUrl

public java.lang.String getUrl()
Specified by:
getUrl in interface Project

getLead

public com.opensymphony.user.User getLead()
Specified by:
getLead in interface Project

getLeadUserName

public java.lang.String getLeadUserName()
Specified by:
getLeadUserName in interface Project

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Project

getAssigneeType

public java.lang.Long getAssigneeType()
Specified by:
getAssigneeType in interface Project

getCounter

public java.lang.Long getCounter()
Specified by:
getCounter in interface Project

getComponents

public java.util.Collection<org.ofbiz.core.entity.GenericValue> getComponents()
Description copied from interface: Project
Returns the components for this Project.

Specified by:
getComponents in interface Project
Returns:
the components for this Project.
See Also:
Project.getProjectComponents()

getProjectComponents

public java.util.Collection<ProjectComponent> getProjectComponents()
Description copied from interface: Project
Returns the components for this Project.

Specified by:
getProjectComponents in interface Project
Returns:
the components for this Project.

getVersions

public java.util.Collection<Version> getVersions()
Specified by:
getVersions in interface Project

getProjectCategory

public org.ofbiz.core.entity.GenericValue getProjectCategory()
Specified by:
getProjectCategory in interface Project

getAvatar

@NotNull
public Avatar getAvatar()
Description copied from interface: Project
Gives the currently-configured Avatar for this project.

Specified by:
getAvatar in interface Project
Returns:
the current Avatar, never null.

getGenericValue

public org.ofbiz.core.entity.GenericValue getGenericValue()
Specified by:
getGenericValue in interface Project
Returns:
the GenericValue backing this project object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2002-2010 Atlassian. All Rights Reserved.