org.apache.archiva.rest.api.model
Class Entry

java.lang.Object
  extended by org.apache.archiva.rest.api.model.Entry

public class Entry
extends Object

use for REST services returning Map to get a more easy way to parse json result

Since:
1.4-M3
Author:
Olivier Lamy

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

Field Detail

key

private String key

value

private String value
Constructor Detail

Entry

public Entry()

Entry

public Entry(String key,
             String value)
Method Detail

getKey

public String getKey()

setKey

public void setKey(String key)

getValue

public String getValue()

setValue

public void setValue(String value)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.