
com.xxl.registry.client.model.XxlRegistryDataParamVO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xxl-registry-client Show documentation
Show all versions of xxl-registry-client Show documentation
XXL-REGISTRY, A lightweight distributed service registry and discovery platform.
package com.xxl.registry.client.model;
import java.util.Objects;
/**
* @author xuxueli 2018-12-03
*/
public class XxlRegistryDataParamVO {
private String key;
private String value;
public XxlRegistryDataParamVO() {
}
public XxlRegistryDataParamVO(String key, String value) {
this.key = key;
this.value = value;
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
XxlRegistryDataParamVO that = (XxlRegistryDataParamVO) o;
return Objects.equals(key, that.key) &&
Objects.equals(value, that.value);
}
@Override
public int hashCode() {
return Objects.hash(key, value);
}
@Override
public String toString() {
return "XxlRegistryDataParamVO{" +
"key='" + key + '\'' +
", value='" + value + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy