com.atlassian.jira.imports.project.mapper
Class IdKeyPair
java.lang.Object
com.atlassian.jira.imports.project.mapper.IdKeyPair
public class IdKeyPair
- extends Object
Used to hold a Id and key of a value that exists in either a backup JIRA or a live version of JIRA.
Method Summary |
boolean |
equals(Object o)
|
String |
getId()
Holds the string representation of the database id of the value, must not be null. |
String |
getKey()
Holds the string representation of the descriptive portion of the value (e.g. |
int |
hashCode()
|
IdKeyPair
public IdKeyPair(String id,
String key)
getId
public String getId()
- Holds the string representation of the database id of the value, must not be null.
- Returns:
- string representing the id of the value.
getKey
public String getKey()
- Holds the string representation of the descriptive portion of the value (e.g. HSP-1 for an issue, or Bug for
an issue type). This value can be null.
- Returns:
- descriptive representation of the value (key).
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2002-2009 Atlassian. All Rights Reserved.