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

Constructor Detail

ExternalCustomFieldValueImpl

public ExternalCustomFieldValueImpl(java.lang.String id,
                                    java.lang.String customFieldId,
                                    java.lang.String issueId)
Method Detail

getValue

public java.lang.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 java.lang.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 java.lang.String getDateValue()

setDateValue

public void setDateValue(java.lang.String dateValue)

getId

public java.lang.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 java.lang.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 java.lang.String getNumberValue()

setNumberValue

public void setNumberValue(java.lang.String numberValue)

getParentKey

public java.lang.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(java.lang.String parentKey)

getStringValue

public java.lang.String getStringValue()

setStringValue

public void setStringValue(java.lang.String stringValue)

getTextValue

public java.lang.String getTextValue()

setTextValue

public void setTextValue(java.lang.String textValue)

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.