com.cloudera.api.model
Class ApiMapEntry

java.lang.Object
  extended by com.cloudera.api.model.ApiMapEntry

public class ApiMapEntry
extends Object

Models a map entry, with a key and a value. By forming a list of these entries you can have the equivalent of Map<String, String> (since JAX-B doesn't support maps).


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

Constructor Detail

ApiMapEntry

public ApiMapEntry()

ApiMapEntry

public ApiMapEntry(String key,
                   String value)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getKey

public String getKey()

setKey

public void setKey(String key)

getValue

public String getValue()

setValue

public void setValue(String value)


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.