com.atlassian.jira.issue.transport.impl
Class StringParamsImpl

java.lang.Object
  extended by com.atlassian.jira.issue.transport.impl.StringParamsImpl
All Implemented Interfaces:
CollectionParams, FieldParams, StringParams

public class StringParamsImpl
extends Object
implements StringParams


Field Summary
protected  Map<String,Collection<String>> params
           
 
Constructor Summary
StringParamsImpl()
           
StringParamsImpl(ActionParams actionParams)
           
StringParamsImpl(Map params)
           
 
Method Summary
 boolean containsKey(String key)
           
 Set getAllKeys()
           
 Collection getAllValues()
           
 String getFirstValueForKey(String key)
           
 String getFirstValueForNullKey()
           
 Map getKeysAndValues()
           
 Collection getValuesForKey(String key)
           
 Collection getValuesForNullKey()
           
 boolean isEmpty()
           
 void put(String key, Collection<String> value)
          Put the values in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

params

protected Map<String,Collection<String>> params
Constructor Detail

StringParamsImpl

public StringParamsImpl()

StringParamsImpl

public StringParamsImpl(Map params)

StringParamsImpl

public StringParamsImpl(ActionParams actionParams)
Method Detail

getAllKeys

public Set getAllKeys()
Specified by:
getAllKeys in interface FieldParams

getKeysAndValues

public Map getKeysAndValues()
Specified by:
getKeysAndValues in interface FieldParams

containsKey

public boolean containsKey(String key)
Specified by:
containsKey in interface FieldParams

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface FieldParams

getAllValues

public Collection getAllValues()
Specified by:
getAllValues in interface CollectionParams

getValuesForNullKey

public Collection getValuesForNullKey()
Specified by:
getValuesForNullKey in interface CollectionParams

getValuesForKey

public Collection getValuesForKey(@Nullable
                                  String key)
Specified by:
getValuesForKey in interface CollectionParams

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 mapping
value - a Collection of Strings.

getFirstValueForNullKey

public String getFirstValueForNullKey()
Specified by:
getFirstValueForNullKey in interface StringParams

getFirstValueForKey

public String getFirstValueForKey(String key)
Specified by:
getFirstValueForKey in interface StringParams


Copyright © 2002-2012 Atlassian. All Rights Reserved.