com.atlassian.jira.imports.project.mapper
Class IdKeyPair

java.lang.Object
  extended by 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.


Constructor Summary
IdKeyPair(String id, String key)
           
 
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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdKeyPair

public IdKeyPair(String id,
                 String key)
Method Detail

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-2014 Atlassian. All Rights Reserved.