slib.utils.impl
Class QueryEntry

java.lang.Object
  extended by slib.utils.impl.QueryEntry
All Implemented Interfaces:
Map.Entry<String,String>

public final class QueryEntry
extends Object
implements Map.Entry<String,String>

Author:
seb

Constructor Summary
QueryEntry()
           
QueryEntry(String key, String value)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getKey()
           
 String getValue()
           
 int hashCode()
           
 boolean isValid()
          Only check if K and V are defined anf if their are not equals to empty string
 String setValue(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryEntry

public QueryEntry()

QueryEntry

public QueryEntry(String key,
                  String value)
Parameters:
key -
value -
Method Detail

getKey

public String getKey()
Specified by:
getKey in interface Map.Entry<String,String>

getValue

public String getValue()
Specified by:
getValue in interface Map.Entry<String,String>

setValue

public String setValue(String value)
Specified by:
setValue in interface Map.Entry<String,String>

isValid

public boolean isValid()
Only check if K and V are defined anf if their are not equals to empty string

Returns:
boolean true if valid

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface Map.Entry<String,String>
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Specified by:
equals in interface Map.Entry<String,String>
Overrides:
equals in class Object


Copyright © 2013. All Rights Reserved.