com.ef.cim.objectmodel.KeyValuePair Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of objectmodel Show documentation
Show all versions of objectmodel Show documentation
This dependency contains object model classes for expert flow's CIM project
package com.ef.cim.objectmodel;
import java.io.Serializable;
public class KeyValuePair implements Serializable {
private String key;
private String value;
/**
* Default Constructor
*/
public KeyValuePair() {
}
/**
* Constructor
*
* @param key
* @param value
*/
public KeyValuePair(String key, String value) {
this.key = key;
this.value = value;
}
/**
* Getter for key field.
*
* @return String object
*/
public String getKey() {
return this.key;
}
/**
* Setter key field.
*
* @param key String object
*/
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
/**
* toString method for displaying, logging.
*
* @return String object.
*/
@Override
public String toString() {
return "Attribute{" + "key='" + key + '\'' + ", value='" + value + '\'' + '}';
}
}