org.kuali.rice.kew.web
Class KeyValueSort

java.lang.Object
  extended by org.kuali.rice.kew.web.KeyValueSort
All Implemented Interfaces:
Serializable, KeyValue

public class KeyValueSort
extends Object
implements KeyValue

A simple bean for storing key/value pairs that can be used for a number of tasks. Right now it is used to hold information that will be display on a jsp for drop down boxes.

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

Constructor Summary
KeyValueSort()
           
KeyValueSort(KeyValueSort kvs)
           
KeyValueSort(String key, String value)
           
KeyValueSort(String key, String value, Object sortValue, SearchableAttributeValue searchableAttributeValue)
           
KeyValueSort(String key, String value, String userDisplayValue, Object sortValue, SearchableAttributeValue searchableAttributeValue)
           
 
Method Summary
 String getKey()
           
 SearchableAttributeValue getSearchableAttributeValue()
           
 Class getSortClass()
           
 Object getSortValue()
           
 String getUserDisplayValue()
           
 String getValue()
           
 void setKey(String k)
           
 void setSortValue(Object sortValue)
           
 void setValue(String v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyValueSort

public KeyValueSort()

KeyValueSort

public KeyValueSort(String key,
                    String value)

KeyValueSort

public KeyValueSort(String key,
                    String value,
                    Object sortValue,
                    SearchableAttributeValue searchableAttributeValue)

KeyValueSort

public KeyValueSort(String key,
                    String value,
                    String userDisplayValue,
                    Object sortValue,
                    SearchableAttributeValue searchableAttributeValue)

KeyValueSort

public KeyValueSort(KeyValueSort kvs)
Method Detail

getSortValue

public Object getSortValue()

setSortValue

public void setSortValue(Object sortValue)

getSortClass

public Class getSortClass()

getSearchableAttributeValue

public SearchableAttributeValue getSearchableAttributeValue()

getUserDisplayValue

public String getUserDisplayValue()

getKey

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

getValue

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

setKey

public void setKey(String k)

setValue

public void setValue(String v)


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