io.atlasmap.java.v2.JavaDocument Maven / Gradle / Ivy
package io.atlasmap.java.v2;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonRootName;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import io.atlasmap.v2.Document;
@JsonRootName("JavaDocument")
@JsonTypeInfo(include = JsonTypeInfo.As.PROPERTY, use = JsonTypeInfo.Id.CLASS, property = "jsonType")
public class JavaDocument extends Document implements Serializable {
private final static long serialVersionUID = 1L;
public boolean equals(Object object) {
if ((object == null)||(this.getClass()!= object.getClass())) {
return false;
}
if (this == object) {
return true;
}
if (!super.equals(object)) {
return false;
}
return true;
}
public int hashCode() {
int currentHashCode = 1;
currentHashCode = ((currentHashCode* 31)+ super.hashCode());
return currentHashCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy