cern.jira.emailhandler
Class IssueDescriptorImpl

java.lang.Object
  extended by cern.jira.emailhandler.IssueDescriptorImpl
All Implemented Interfaces:
IssueDescriptor

public class IssueDescriptorImpl
extends java.lang.Object
implements IssueDescriptor

Implementation of an IssueDescriptor.

Released under the BSD License: see file license.txt for details.

Version:
3.0 (19-3-2009)
Author:
Daniele Raffo

Field Summary
private  java.lang.String assignee
           
private  java.lang.String[] components
           
private  java.sql.Timestamp dueDate
           
private  java.lang.String issueType
           
private  java.lang.Long originalEstimate
           
private  int priority
           
private  java.lang.String projectKey
           
private  java.lang.String reporter
           
private  java.lang.String summary
           
 
Constructor Summary
IssueDescriptorImpl()
           
 
Method Summary
 java.lang.String getAssignee()
           
 java.lang.String[] getComponents()
           
 java.sql.Timestamp getDueDate()
           
 java.lang.String getIssueType()
           
 java.lang.Long getOriginalEstimate()
           
 int getPriority()
           
 java.lang.String getProjectKey()
           
 java.lang.String getReporter()
           
 java.lang.String getSummary()
           
 void setAssignee(java.lang.String assignee)
           
 void setComponents(java.lang.String[] components)
           
 void setDueDate(java.sql.Timestamp dueDate)
           
 void setIssueType(java.lang.String issueType)
           
 void setOriginalEstimate(java.lang.Long originalEstimate)
           
 void setPriority(int priority)
           
 void setProjectKey(java.lang.String projectKey)
           
 void setReporter(java.lang.String reporter)
           
 void setSummary(java.lang.String summary)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

projectKey

private java.lang.String projectKey

summary

private java.lang.String summary

issueType

private java.lang.String issueType

priority

private int priority

components

private java.lang.String[] components

reporter

private java.lang.String reporter

assignee

private java.lang.String assignee

dueDate

private java.sql.Timestamp dueDate

originalEstimate

private java.lang.Long originalEstimate
Constructor Detail

IssueDescriptorImpl

public IssueDescriptorImpl()
Method Detail

getComponents

public java.lang.String[] getComponents()
Specified by:
getComponents in interface IssueDescriptor
Returns:
the components associated to this issue
See Also:
IssueDescriptor.getComponents()

getIssueType

public java.lang.String getIssueType()
Specified by:
getIssueType in interface IssueDescriptor
Returns:
the issue type
See Also:
IssueDescriptor.getIssueType()

getPriority

public int getPriority()
Specified by:
getPriority in interface IssueDescriptor
Returns:
the priority
See Also:
IssueDescriptor.getPriority()

getProjectKey

public java.lang.String getProjectKey()
Specified by:
getProjectKey in interface IssueDescriptor
Returns:
the project key
See Also:
IssueDescriptor.getProjectKey()

getSummary

public java.lang.String getSummary()
Specified by:
getSummary in interface IssueDescriptor
Returns:
the summary of this issue
See Also:
IssueDescriptor.getSummary()

getAssignee

public java.lang.String getAssignee()
Specified by:
getAssignee in interface IssueDescriptor
Returns:
the assignee of this issue
See Also:
IssueDescriptor.getAssignee()

getReporter

public java.lang.String getReporter()
Specified by:
getReporter in interface IssueDescriptor
Returns:
the reporter of this issue
See Also:
IssueDescriptor.getReporter()

getDueDate

public java.sql.Timestamp getDueDate()
Specified by:
getDueDate in interface IssueDescriptor
Returns:
the due date of this issue
See Also:
IssueDescriptor.getDueDate()

getOriginalEstimate

public java.lang.Long getOriginalEstimate()
Specified by:
getOriginalEstimate in interface IssueDescriptor
Returns:
the original estimate for the issue
See Also:
IssueDescriptor.getOriginalEstimate()

setComponents

public void setComponents(java.lang.String[] components)
Parameters:
components - the components to set

setIssueType

public void setIssueType(java.lang.String issueType)
Parameters:
issueType - the issue type to set

setPriority

public void setPriority(int priority)
Parameters:
priority - the priority to set

setProjectKey

public void setProjectKey(java.lang.String projectKey)
Parameters:
projectKey - the project key to set

setSummary

public void setSummary(java.lang.String summary)
Parameters:
summary - the summary to set

setReporter

public void setReporter(java.lang.String reporter)
Parameters:
reporter - the reporter to set

setAssignee

public void setAssignee(java.lang.String assignee)
Parameters:
assignee - the assignee to set

setDueDate

public void setDueDate(java.sql.Timestamp dueDate)
Parameters:
dueDate - the due date to set

setOriginalEstimate

public void setOriginalEstimate(java.lang.Long originalEstimate)
Parameters:
originalEstimate - the original estimate to set