org.apache.archiva.admin.model.beans
Class PropertyEntry

java.lang.Object
  extended by org.apache.archiva.admin.model.beans.PropertyEntry
All Implemented Interfaces:
Serializable, Comparable<PropertyEntry>

public class PropertyEntry
extends Object
implements Serializable, Comparable<PropertyEntry>

Bean to expose Map entries as Json

Since:
1.4-M3
Author:
Olivier Lamy
See Also:
Serialized Form

Field Summary
private  String key
           
private  String value
           
 
Constructor Summary
PropertyEntry()
           
PropertyEntry(String key, String value)
           
 
Method Summary
 int compareTo(PropertyEntry o)
           
 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

PropertyEntry

public PropertyEntry()

PropertyEntry

public PropertyEntry(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

compareTo

public int compareTo(PropertyEntry o)
Specified by:
compareTo in interface Comparable<PropertyEntry>


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