com.nepxion.discovery.common.entity.StrategyConditionEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of discovery-common Show documentation
Show all versions of discovery-common Show documentation
Nepxion Discovery is an enhancement for Spring Cloud Discovery
package com.nepxion.discovery.common.entity;
/**
* Title: Nepxion Discovery
* Description: Nepxion Discovery
* Copyright: Copyright (c) 2017-2050
* Company: Nepxion
* @author Haojun Ren
* @version 1.0
*/
import java.io.Serializable;
import java.util.LinkedHashMap;
import java.util.Map;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
public class StrategyConditionEntity implements Serializable {
private static final long serialVersionUID = 1249482860170990672L;
private String id;
private Map headerMap = new LinkedHashMap();
private String versionId;
private String regionId;
private String addressId;
private String versionWeightId;
private String regionWeightId;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Map getHeaderMap() {
return headerMap;
}
public void setHeaderMap(Map headerMap) {
this.headerMap = headerMap;
}
public String getVersionId() {
return versionId;
}
public void setVersionId(String versionId) {
this.versionId = versionId;
}
public String getRegionId() {
return regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public String getAddressId() {
return addressId;
}
public void setAddressId(String addressId) {
this.addressId = addressId;
}
public String getVersionWeightId() {
return versionWeightId;
}
public void setVersionWeightId(String versionWeightId) {
this.versionWeightId = versionWeightId;
}
public String getRegionWeightId() {
return regionWeightId;
}
public void setRegionWeightId(String regionWeightId) {
this.regionWeightId = regionWeightId;
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
@Override
public boolean equals(Object object) {
return EqualsBuilder.reflectionEquals(this, object);
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy