com.sapportals.wcm.util.controlstatus

Class SelectionField.KeyValuePair

java.lang.Object
  extended by com.sapportals.wcm.util.controlstatus.SelectionField.KeyValuePair
All Implemented Interfaces:
Comparable
Enclosing class:
SelectionField

public static final class SelectionField.KeyValuePair
extends Object
implements Comparable

There is a possibility to sort given collection. For example in drop-down list the list will be sorted by values.


Constructor Summary
SelectionField.KeyValuePair(String key, String value)
           
 
Method Summary
 int compareTo(Object obj)
           
 String getKey()
           
 String getValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectionField.KeyValuePair

public SelectionField.KeyValuePair(String key,
                                   String value)
Method Detail

getKey

public String getKey()

getValue

public String getValue()

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(Object obj)
Specified by:
compareTo in interface Comparable
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice