All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nepxion.discovery.common.entity.WeightEntity Maven / Gradle / Ivy

There is a newer version: 6.22.0
Show newest version
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.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 WeightEntity implements Serializable { private static final long serialVersionUID = 4242297554671632704L; private String consumerServiceName; private String providerServiceName; private Map weightMap; public WeightEntity() { } public String getConsumerServiceName() { return consumerServiceName; } public void setConsumerServiceName(String consumerServiceName) { this.consumerServiceName = consumerServiceName; } public String getProviderServiceName() { return providerServiceName; } public void setProviderServiceName(String providerServiceName) { this.providerServiceName = providerServiceName; } public Map getWeightMap() { return weightMap; } public void setWeightMap(Map weightMap) { this.weightMap = weightMap; } @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