org.kuali.rice.core.api.util
Class AbstractKeyValue

java.lang.Object
  extended by org.kuali.rice.core.api.util.AbstractKeyValue
All Implemented Interfaces:
Serializable, KeyValue
Direct Known Subclasses:
ConcreteKeyValue

public abstract class AbstractKeyValue
extends Object
implements KeyValue

An abstract key value that can be extended by other classes (ex: DTOs).

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
protected  String key
           
protected  String value
           
 
Constructor Summary
AbstractKeyValue()
           
AbstractKeyValue(KeyValue keyValue)
           
AbstractKeyValue(Map.Entry<String,String> entry)
           
AbstractKeyValue(String key, String value)
           
 
Method Summary
 String getKey()
           
 String getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

protected String key

value

protected String value
Constructor Detail

AbstractKeyValue

public AbstractKeyValue()

AbstractKeyValue

public AbstractKeyValue(String key,
                        String value)

AbstractKeyValue

public AbstractKeyValue(KeyValue keyValue)

AbstractKeyValue

public AbstractKeyValue(Map.Entry<String,String> entry)
Method Detail

getKey

public String getKey()
Specified by:
getKey in interface KeyValue

getValue

public String getValue()
Specified by:
getValue in interface KeyValue


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.