com.atlassian.jira.issue.customfields.view
Class CustomFieldParamsImpl
java.lang.Object
com.atlassian.jira.issue.customfields.view.CustomFieldParamsImpl
- All Implemented Interfaces:
- CustomFieldParams, CollectionParams, FieldParams, FieldTransportParams
public class CustomFieldParamsImpl
- extends Object
- implements CustomFieldParams
CustomFieldParamsImpl
public CustomFieldParamsImpl()
CustomFieldParamsImpl
public CustomFieldParamsImpl(CustomField customField)
CustomFieldParamsImpl
public CustomFieldParamsImpl(CustomField customField,
Object paramsObject)
getAllKeys
public Set<String> getAllKeys()
- Specified by:
getAllKeys
in interface FieldParams
getCustomField
public CustomField getCustomField()
- Specified by:
getCustomField
in interface CustomFieldParams
setCustomField
public void setCustomField(CustomField customField)
- Specified by:
setCustomField
in interface CustomFieldParams
getValuesForKey
public Collection getValuesForKey(String key)
- Specified by:
getValuesForKey
in interface CollectionParams
getFirstValueForKey
public Object getFirstValueForKey(String key)
- Specified by:
getFirstValueForKey
in interface FieldTransportParams
getValuesForNullKey
public Collection getValuesForNullKey()
- Specified by:
getValuesForNullKey
in interface CollectionParams
getAllValues
public Collection getAllValues()
- Specified by:
getAllValues
in interface CollectionParams
getQueryString
public String getQueryString()
- Specified by:
getQueryString
in interface CustomFieldParams
addValue
public void addValue(String key,
Collection<String> values)
addValue
public void addValue(Collection<String> values)
put
public void put(String key,
Collection<String> value)
- Description copied from interface:
CollectionParams
- Put the values in.
- Specified by:
put
in interface CollectionParams
- Parameters:
key
- for mappingvalue
- a Collection of Strings.
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface FieldParams
contains
public boolean contains(String key,
String value)
- Specified by:
contains
in interface CustomFieldParams
transformObjectsToStrings
public void transformObjectsToStrings()
- Specified by:
transformObjectsToStrings
in interface CustomFieldParams
transformStringsToObjects
public void transformStringsToObjects()
- Specified by:
transformStringsToObjects
in interface CustomFieldParams
transformMultiMap
public static void transformMultiMap(org.apache.commons.collections.Transformer transformer,
Map parameterMap)
transform
public void transform(org.apache.commons.collections.Transformer transformer)
- Specified by:
transform
in interface CustomFieldParams
getFirstValueForNullKey
public Object getFirstValueForNullKey()
- Specified by:
getFirstValueForNullKey
in interface FieldTransportParams
getKeysAndValues
public Map getKeysAndValues()
- Specified by:
getKeysAndValues
in interface CustomFieldParams
- Specified by:
getKeysAndValues
in interface FieldParams
remove
public void remove(String key)
- Specified by:
remove
in interface CustomFieldParams
containsKey
public boolean containsKey(String key)
- Specified by:
containsKey
in interface FieldParams
Copyright © 2002-2010 Atlassian. All Rights Reserved.