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 java.lang.Object
implements StringParams


Field Summary
protected  java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> params
           
 
Constructor Summary
StringParamsImpl()
           
StringParamsImpl(ActionParams actionParams)
           
StringParamsImpl(java.util.Map params)
           
 
Method Summary
 boolean containsKey(java.lang.String key)
           
 java.util.Set getAllKeys()
           
 java.util.Collection getAllValues()
           
 java.lang.String getFirstValueForKey(java.lang.String key)
           
 java.lang.String getFirstValueForNullKey()
           
 java.util.Map getKeysAndValues()
           
 java.util.Collection getValuesForKey(java.lang.String key)
           
 java.util.Collection getValuesForNullKey()
           
 boolean isEmpty()
           
 void put(java.lang.String key, java.util.Collection<java.lang.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 java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> params
Constructor Detail

StringParamsImpl

public StringParamsImpl()

StringParamsImpl

public StringParamsImpl(java.util.Map params)

StringParamsImpl

public StringParamsImpl(ActionParams actionParams)
Method Detail

getAllKeys

public java.util.Set getAllKeys()
Specified by:
getAllKeys in interface FieldParams

getKeysAndValues

public java.util.Map getKeysAndValues()
Specified by:
getKeysAndValues in interface FieldParams

containsKey

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

isEmpty

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

getAllValues

public java.util.Collection getAllValues()
Specified by:
getAllValues in interface CollectionParams

getValuesForNullKey

public java.util.Collection getValuesForNullKey()
Specified by:
getValuesForNullKey in interface CollectionParams

getValuesForKey

public java.util.Collection getValuesForKey(java.lang.String key)
Specified by:
getValuesForKey in interface CollectionParams

put

public void put(java.lang.String key,
                java.util.Collection<java.lang.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 java.lang.String getFirstValueForNullKey()
Specified by:
getFirstValueForNullKey in interface StringParams

getFirstValueForKey

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


Copyright © 2002-2010 Atlassian. All Rights Reserved.