com.atlassian.jira.issue.context
Class IssueContextImpl
java.lang.Object
com.atlassian.jira.issue.context.IssueContextImpl
- All Implemented Interfaces:
- Comparable, IssueContext
- public class IssueContextImpl
- extends Object
- implements IssueContext, Comparable
Constructor Summary |
IssueContextImpl(org.ofbiz.core.entity.GenericValue project,
org.ofbiz.core.entity.GenericValue issueType)
Create a context. |
projectId
Long projectId
issueTypeId
String issueTypeId
IssueContextImpl
public IssueContextImpl(org.ofbiz.core.entity.GenericValue project,
org.ofbiz.core.entity.GenericValue issueType)
- Create a context.
- Parameters:
project
- Eg. retrieved from ProjectManager.getProjectByKey(String)
,
or null if field is not scoped by project.issueType
- eg. retrieved from ConstantsManager.getIssueType(String)
,
or null if field is not scoped by issue type.
getProject
public org.ofbiz.core.entity.GenericValue getProject()
- Specified by:
getProject
in interface IssueContext
getIssueType
public org.ofbiz.core.entity.GenericValue getIssueType()
- Specified by:
getIssueType
in interface IssueContext
getIssueTypeObject
public IssueType getIssueTypeObject()
equals
public boolean equals(Object o)
hashCode
public int hashCode()
compareTo
public int compareTo(Object obj)
- Specified by:
compareTo
in interface Comparable
Copyright © 2002-2006 Atlassian. All Rights Reserved.