org.igniterealtime.restclient.entity.SystemProperty Maven / Gradle / Ivy
package org.igniterealtime.restclient.entity;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
/**
* The Class SystemProperty.
*/
@XmlRootElement(name = "property")
public class SystemProperty {
/** The key. */
private String key;
/** The value. */
private String value;
/**
* Instantiates a new system property.
*/
public SystemProperty() {
}
/**
* Instantiates a new system property.
*
* @param key the key
* @param value the value
*/
public SystemProperty(String key, String value) {
this.key = key;
this.value = value;
}
/**
* Gets the key.
*
* @return the key
*/
@XmlAttribute
public String getKey() {
return key;
}
/**
* Sets the key.
*
* @param key
* the new key
*/
public void setKey(String key) {
this.key = key;
}
/**
* Gets the value.
*
* @return the value
*/
@XmlAttribute
public String getValue() {
return value;
}
/**
* Sets the value.
*
* @param value
* the new value
*/
public void setValue(String value) {
this.value = value;
}
}