com.atlassian.jira.rpc.soap.beans
Class RemoteCustomFieldValue

java.lang.Object
  extended by com.atlassian.jira.rpc.soap.beans.RemoteCustomFieldValue

public class RemoteCustomFieldValue
extends java.lang.Object


Constructor Summary
RemoteCustomFieldValue()
           
RemoteCustomFieldValue(java.lang.String customfieldId, java.lang.String value)
          Construct a custom field value proxy object.
RemoteCustomFieldValue(java.lang.String customfieldId, java.lang.String[] values)
          Construct a custom field value proxy object.
RemoteCustomFieldValue(java.lang.String customfieldId, java.lang.String parentKey, java.lang.String[] values)
          Construct a custom field value proxy object.
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getCustomfieldId()
           
 java.lang.String getKey()
           
 java.lang.String[] getValues()
           
 int hashCode()
           
 void setCustomfieldId(java.lang.String customfieldId)
          Sets the custom field id.
 void setKey(java.lang.String key)
           
 void setValues(java.lang.String[] values)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteCustomFieldValue

public RemoteCustomFieldValue()

RemoteCustomFieldValue

public RemoteCustomFieldValue(java.lang.String customfieldId,
                              java.lang.String value)
Construct a custom field value proxy object.

Parameters:
customfieldId - The string ID of an existing custom field, of the form 'customfield_[id]' where [id] is the database ID of the custom field. This ID can be determined from the database, or by viewing a custom field in the admin interface, and copying its ID from the URL.

RemoteCustomFieldValue

public RemoteCustomFieldValue(java.lang.String customfieldId,
                              java.lang.String[] values)
Construct a custom field value proxy object.

Parameters:
customfieldId - The string ID of an existing custom field, of the form 'customfield_[id]' where [id] is the database ID of the custom field. This ID can be determined from the database, or by viewing a custom field in the admin interface, and copying its ID from the URL.

RemoteCustomFieldValue

public RemoteCustomFieldValue(java.lang.String customfieldId,
                              java.lang.String parentKey,
                              java.lang.String[] values)
Construct a custom field value proxy object.

Parameters:
customfieldId - The string ID of an existing custom field, of the form 'customfield_[id]' where [id] is the database ID of the custom field. This ID can be determined from the database, or by viewing a custom field in the admin interface, and copying its ID from the URL.
parentKey - Used for multi-dimensional custom fields such as Cascading select lists. Null in other cases
values - Array of strings representing the value of the custom field. For single text field values, there will only be a single item in the array (e.g. TextFieldCFType) and multiple values for list fields (e.g. MultipleSelectCFType)
Method Detail

getCustomfieldId

public java.lang.String getCustomfieldId()

setCustomfieldId

public void setCustomfieldId(java.lang.String customfieldId)
Sets the custom field id.

Parameters:
customfieldId - The string ID of an existing custom field, of the form 'customfield_[id]' where [id] is the database ID of the custom field. This ID can be determined from the database, or by viewing a custom field in the admin interface, and copying its ID from the URL.

getValues

public java.lang.String[] getValues()

setValues

public void setValues(java.lang.String[] values)

getKey

public java.lang.String getKey()

setKey

public void setKey(java.lang.String key)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(java.lang.Object obj)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2004-2011 Atlassian. All Rights Reserved.