com.atlassian.jira.imports.project.customfield
Class ExternalCustomFieldValueImpl

java.lang.Object
  extended by com.atlassian.jira.imports.project.customfield.ExternalCustomFieldValueImpl
All Implemented Interfaces:
ExternalCustomFieldValue

public class ExternalCustomFieldValueImpl
extends Object
implements ExternalCustomFieldValue

Used to store a custom field value for use of importing a backup JIRA project into an existing JIRA instance.

Since:
v3.13

Constructor Summary
ExternalCustomFieldValueImpl(String id, String customFieldId, String issueId)
           
 
Method Summary
 boolean equals(Object o)
           
 String getCustomFieldId()
          Returns the ID of the CustomField that this value is stored for.
 String getDateValue()
           
 String getId()
          Returns the ID of the CustomFieldValue.
 String getIssueId()
          Returns the Issue ID that this value was stored against.
 String getNumberValue()
           
 String getParentKey()
          Returns the Parent Key for this Custom Field Value.
 String getStringValue()
           
 String getTextValue()
           
 String getValue()
          Returns the String representation of the value that is stored.
 int hashCode()
           
 void setDateValue(String dateValue)
           
 void setNumberValue(String numberValue)
           
 void setParentKey(String parentKey)
           
 void setStringValue(String stringValue)
           
 void setTextValue(String textValue)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalCustomFieldValueImpl

public ExternalCustomFieldValueImpl(String id,
                                    String customFieldId,
                                    String issueId)
Method Detail

getValue

public String getValue()
Description copied from interface: ExternalCustomFieldValue
Returns the String representation of the value that is stored.

Specified by:
getValue in interface ExternalCustomFieldValue
Returns:
the String representation of the value that is stored.

getCustomFieldId

public String getCustomFieldId()
Description copied from interface: ExternalCustomFieldValue
Returns the ID of the CustomField that this value is stored for.

Specified by:
getCustomFieldId in interface ExternalCustomFieldValue
Returns:
the ID of the CustomField that this value is stored for.

getDateValue

public String getDateValue()
Specified by:
getDateValue in interface ExternalCustomFieldValue

setDateValue

public void setDateValue(String dateValue)

getId

public String getId()
Description copied from interface: ExternalCustomFieldValue
Returns the ID of the CustomFieldValue.

Specified by:
getId in interface ExternalCustomFieldValue
Returns:
the ID of the CustomFieldValue.

getIssueId

public String getIssueId()
Description copied from interface: ExternalCustomFieldValue
Returns the Issue ID that this value was stored against.

Specified by:
getIssueId in interface ExternalCustomFieldValue
Returns:
the Issue ID that this value was stored against.

getNumberValue

public String getNumberValue()
Specified by:
getNumberValue in interface ExternalCustomFieldValue

setNumberValue

public void setNumberValue(String numberValue)

getParentKey

public String getParentKey()
Description copied from interface: ExternalCustomFieldValue
Returns the Parent Key for this Custom Field Value. This is normally null, but the "Cascading Select" Custom Field will store the parent Option ID in this field.

Specified by:
getParentKey in interface ExternalCustomFieldValue
Returns:
the Parent Key for this Custom Field Value.

setParentKey

public void setParentKey(String parentKey)

getStringValue

public String getStringValue()
Specified by:
getStringValue in interface ExternalCustomFieldValue

setStringValue

public void setStringValue(String stringValue)

getTextValue

public String getTextValue()
Specified by:
getTextValue in interface ExternalCustomFieldValue

setTextValue

public void setTextValue(String textValue)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2012 Atlassian. All Rights Reserved.