org.wso2.carbon.registry.ws.api
Class WSMap

java.lang.Object
  extended by org.wso2.carbon.registry.ws.api.WSMap

public class WSMap
extends Object

The WSMap class is a web service compatible version of the Java Map class. It represents a single key value pair


Constructor Summary
WSMap()
           
 
Method Summary
 String getKey()
          Get key
 String getValue()
          Get value
 void setKey(String key)
          Set key
 void setValue(String value)
          Set value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSMap

public WSMap()
Method Detail

setKey

public void setKey(String key)
Set key

Parameters:
key -

setValue

public void setValue(String value)
Set value

Parameters:
value -

getKey

public String getKey()
Get key

Returns:
key

getValue

public String getValue()
Get value

Returns:
string


Copyright © 2012 WSO2 Inc. All Rights Reserved.