com.atlassian.jira.jql.context
Class ProjectContextImpl

java.lang.Object
  extended by com.atlassian.jira.jql.context.ProjectContextImpl
All Implemented Interfaces:
ProjectContext

public class ProjectContextImpl
extends Object
implements ProjectContext

Since:
v4.0

Constructor Summary
ProjectContextImpl(Long projectId)
           
 
Method Summary
 boolean equals(Object o)
           
 Long getProjectId()
           
 int hashCode()
           
 boolean isAll()
          Indicates the special case of all projects that are not enumerated.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProjectContextImpl

public ProjectContextImpl(Long projectId)
Method Detail

getProjectId

public Long getProjectId()
Specified by:
getProjectId in interface ProjectContext
Returns:
the project id for this context element.

isAll

public boolean isAll()
Description copied from interface: ProjectContext
Indicates the special case of all projects that are not enumerated. If this is true then the value for projectId will be null.

Specified by:
isAll in interface ProjectContext
Returns:
true if all, false otherwise.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.