com.atlassian.jira.imports.project.mapper
Class IdKeyPair
java.lang.Object
com.atlassian.jira.imports.project.mapper.IdKeyPair
public class IdKeyPair
- extends java.lang.Object
Used to hold a Id and key of a value that exists in either a backup JIRA or a live version of JIRA.
Constructor Summary |
IdKeyPair(java.lang.String id,
java.lang.String key)
|
Method Summary |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getId()
Holds the string representation of the database id of the value, must not be null. |
java.lang.String |
getKey()
Holds the string representation of the descriptive portion of the value (e.g. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
IdKeyPair
public IdKeyPair(java.lang.String id,
java.lang.String key)
getId
public java.lang.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 java.lang.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(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2002-2010 Atlassian. All Rights Reserved.