io.atlasmap.java.v2.JavaDocument Maven / Gradle / Ivy
package io.atlasmap.java.v2;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import com.fasterxml.jackson.annotation.JsonRootName;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import io.atlasmap.v2.Document;
/**
* Java class for JavaDocument complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="JavaDocument">
* <complexContent>
* <extension base="{http://atlasmap.io/v2}Document">
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "JavaDocument")
@XmlRootElement(name = "JavaDocument")
@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