com.atlassian.jira.jql.context
Class ProjectContextImpl
java.lang.Object
com.atlassian.jira.jql.context.ProjectContextImpl
- All Implemented Interfaces:
- ProjectContext
public class ProjectContextImpl
- extends java.lang.Object
- implements ProjectContext
- Since:
- v4.0
Method Summary |
boolean |
equals(java.lang.Object o)
|
java.lang.Long |
getProjectId()
|
int |
hashCode()
|
boolean |
isAll()
Indicates the special case of all projects that are not enumerated. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ProjectContextImpl
public ProjectContextImpl(java.lang.Long projectId)
getProjectId
public java.lang.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(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.