com.nepxion.discovery.common.entity.RuleEntity 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 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 RuleEntity implements Serializable {
private static final long serialVersionUID = 7079024435084528751L;
private RegisterEntity registerEntity;
private DiscoveryEntity discoveryEntity;
private CustomizationEntity customizationEntity;
private String content;
public RegisterEntity getRegisterEntity() {
return registerEntity;
}
public void setRegisterEntity(RegisterEntity registerEntity) {
this.registerEntity = registerEntity;
}
public DiscoveryEntity getDiscoveryEntity() {
return discoveryEntity;
}
public void setDiscoveryEntity(DiscoveryEntity discoveryEntity) {
this.discoveryEntity = discoveryEntity;
}
public CustomizationEntity getCustomizationEntity() {
return customizationEntity;
}
public void setCustomizationEntity(CustomizationEntity customizationEntity) {
this.customizationEntity = customizationEntity;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
@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