MCPcopy Create free account
hub / github.com/alibaba/DataX / BaseObject

Class BaseObject

common/src/main/java/com/alibaba/datax/common/base/BaseObject.java:8–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import org.apache.commons.lang3.builder.ToStringStyle;
7
8public class BaseObject {
9
10 @Override
11 public int hashCode() {
12 return HashCodeBuilder.reflectionHashCode(this, false);
13 }
14
15 @Override
16 public boolean equals(Object object) {
17 return EqualsBuilder.reflectionEquals(this, object, false);
18 }
19
20 @Override
21 public String toString() {
22 return ToStringBuilder.reflectionToString(this,
23 ToStringStyle.MULTI_LINE_STYLE);
24 }
25}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected