330 lines
9.6 KiB
Java
330 lines
9.6 KiB
Java
/**
|
|
* Source.java
|
|
*
|
|
* This file was auto-generated from WSDL
|
|
* by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
|
|
*/
|
|
|
|
package aphia.v1_0.worms;
|
|
|
|
public class Source implements java.io.Serializable {
|
|
private int source_id;
|
|
private java.lang.String use;
|
|
private java.lang.String reference;
|
|
private java.lang.String page;
|
|
private java.lang.String url;
|
|
private java.lang.String link;
|
|
private java.lang.String fulltext;
|
|
private java.lang.String doi;
|
|
|
|
public Source() {
|
|
}
|
|
|
|
public Source(
|
|
int source_id,
|
|
java.lang.String use,
|
|
java.lang.String reference,
|
|
java.lang.String page,
|
|
java.lang.String url,
|
|
java.lang.String link,
|
|
java.lang.String fulltext,
|
|
java.lang.String doi) {
|
|
this.source_id = source_id;
|
|
this.use = use;
|
|
this.reference = reference;
|
|
this.page = page;
|
|
this.url = url;
|
|
this.link = link;
|
|
this.fulltext = fulltext;
|
|
this.doi = doi;
|
|
}
|
|
|
|
|
|
/**
|
|
* Gets the source_id value for this Source.
|
|
*
|
|
* @return source_id
|
|
*/
|
|
public int getSource_id() {
|
|
return source_id;
|
|
}
|
|
|
|
|
|
/**
|
|
* Sets the source_id value for this Source.
|
|
*
|
|
* @param source_id
|
|
*/
|
|
public void setSource_id(int source_id) {
|
|
this.source_id = source_id;
|
|
}
|
|
|
|
|
|
/**
|
|
* Gets the use value for this Source.
|
|
*
|
|
* @return use
|
|
*/
|
|
public java.lang.String getUse() {
|
|
return use;
|
|
}
|
|
|
|
|
|
/**
|
|
* Sets the use value for this Source.
|
|
*
|
|
* @param use
|
|
*/
|
|
public void setUse(java.lang.String use) {
|
|
this.use = use;
|
|
}
|
|
|
|
|
|
/**
|
|
* Gets the reference value for this Source.
|
|
*
|
|
* @return reference
|
|
*/
|
|
public java.lang.String getReference() {
|
|
return reference;
|
|
}
|
|
|
|
|
|
/**
|
|
* Sets the reference value for this Source.
|
|
*
|
|
* @param reference
|
|
*/
|
|
public void setReference(java.lang.String reference) {
|
|
this.reference = reference;
|
|
}
|
|
|
|
|
|
/**
|
|
* Gets the page value for this Source.
|
|
*
|
|
* @return page
|
|
*/
|
|
public java.lang.String getPage() {
|
|
return page;
|
|
}
|
|
|
|
|
|
/**
|
|
* Sets the page value for this Source.
|
|
*
|
|
* @param page
|
|
*/
|
|
public void setPage(java.lang.String page) {
|
|
this.page = page;
|
|
}
|
|
|
|
|
|
/**
|
|
* Gets the url value for this Source.
|
|
*
|
|
* @return url
|
|
*/
|
|
public java.lang.String getUrl() {
|
|
return url;
|
|
}
|
|
|
|
|
|
/**
|
|
* Sets the url value for this Source.
|
|
*
|
|
* @param url
|
|
*/
|
|
public void setUrl(java.lang.String url) {
|
|
this.url = url;
|
|
}
|
|
|
|
|
|
/**
|
|
* Gets the link value for this Source.
|
|
*
|
|
* @return link
|
|
*/
|
|
public java.lang.String getLink() {
|
|
return link;
|
|
}
|
|
|
|
|
|
/**
|
|
* Sets the link value for this Source.
|
|
*
|
|
* @param link
|
|
*/
|
|
public void setLink(java.lang.String link) {
|
|
this.link = link;
|
|
}
|
|
|
|
|
|
/**
|
|
* Gets the fulltext value for this Source.
|
|
*
|
|
* @return fulltext
|
|
*/
|
|
public java.lang.String getFulltext() {
|
|
return fulltext;
|
|
}
|
|
|
|
|
|
public java.lang.String getDoi() {
|
|
return doi;
|
|
}
|
|
|
|
public void setDoi(java.lang.String doi) {
|
|
this.doi = doi;
|
|
}
|
|
|
|
/**
|
|
* Sets the fulltext value for this Source.
|
|
*
|
|
* @param fulltext
|
|
*/
|
|
public void setFulltext(java.lang.String fulltext) {
|
|
this.fulltext = fulltext;
|
|
}
|
|
|
|
private java.lang.Object __equalsCalc = null;
|
|
public synchronized boolean equals(java.lang.Object obj) {
|
|
if (!(obj instanceof Source)) return false;
|
|
Source other = (Source) obj;
|
|
if (obj == null) return false;
|
|
if (this == obj) return true;
|
|
if (__equalsCalc != null) {
|
|
return (__equalsCalc == obj);
|
|
}
|
|
__equalsCalc = obj;
|
|
boolean _equals;
|
|
_equals = true &&
|
|
this.source_id == other.getSource_id() &&
|
|
((this.use==null && other.getUse()==null) ||
|
|
(this.use!=null &&
|
|
this.use.equals(other.getUse()))) &&
|
|
((this.reference==null && other.getReference()==null) ||
|
|
(this.reference!=null &&
|
|
this.reference.equals(other.getReference()))) &&
|
|
((this.page==null && other.getPage()==null) ||
|
|
(this.page!=null &&
|
|
this.page.equals(other.getPage()))) &&
|
|
((this.url==null && other.getUrl()==null) ||
|
|
(this.url!=null &&
|
|
this.url.equals(other.getUrl()))) &&
|
|
((this.link==null && other.getLink()==null) ||
|
|
(this.link!=null &&
|
|
this.link.equals(other.getLink()))) &&
|
|
((this.fulltext==null && other.getFulltext()==null) ||
|
|
(this.fulltext!=null &&
|
|
this.fulltext.equals(other.getFulltext())));
|
|
__equalsCalc = null;
|
|
return _equals;
|
|
}
|
|
|
|
private boolean __hashCodeCalc = false;
|
|
public synchronized int hashCode() {
|
|
if (__hashCodeCalc) {
|
|
return 0;
|
|
}
|
|
__hashCodeCalc = true;
|
|
int _hashCode = 1;
|
|
_hashCode += getSource_id();
|
|
if (getUse() != null) {
|
|
_hashCode += getUse().hashCode();
|
|
}
|
|
if (getReference() != null) {
|
|
_hashCode += getReference().hashCode();
|
|
}
|
|
if (getPage() != null) {
|
|
_hashCode += getPage().hashCode();
|
|
}
|
|
if (getUrl() != null) {
|
|
_hashCode += getUrl().hashCode();
|
|
}
|
|
if (getLink() != null) {
|
|
_hashCode += getLink().hashCode();
|
|
}
|
|
if (getFulltext() != null) {
|
|
_hashCode += getFulltext().hashCode();
|
|
}
|
|
__hashCodeCalc = false;
|
|
return _hashCode;
|
|
}
|
|
|
|
// Type metadata
|
|
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
new org.apache.axis.description.TypeDesc(Source.class, true);
|
|
|
|
static {
|
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://aphia/v1.0", "Source"));
|
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
elemField.setFieldName("source_id");
|
|
elemField.setXmlName(new javax.xml.namespace.QName("", "source_id"));
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
|
typeDesc.addFieldDesc(elemField);
|
|
elemField = new org.apache.axis.description.ElementDesc();
|
|
elemField.setFieldName("use");
|
|
elemField.setXmlName(new javax.xml.namespace.QName("", "use"));
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
typeDesc.addFieldDesc(elemField);
|
|
elemField = new org.apache.axis.description.ElementDesc();
|
|
elemField.setFieldName("reference");
|
|
elemField.setXmlName(new javax.xml.namespace.QName("", "reference"));
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
typeDesc.addFieldDesc(elemField);
|
|
elemField = new org.apache.axis.description.ElementDesc();
|
|
elemField.setFieldName("page");
|
|
elemField.setXmlName(new javax.xml.namespace.QName("", "page"));
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
typeDesc.addFieldDesc(elemField);
|
|
elemField = new org.apache.axis.description.ElementDesc();
|
|
elemField.setFieldName("url");
|
|
elemField.setXmlName(new javax.xml.namespace.QName("", "url"));
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
typeDesc.addFieldDesc(elemField);
|
|
elemField = new org.apache.axis.description.ElementDesc();
|
|
elemField.setFieldName("link");
|
|
elemField.setXmlName(new javax.xml.namespace.QName("", "link"));
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
typeDesc.addFieldDesc(elemField);
|
|
elemField = new org.apache.axis.description.ElementDesc();
|
|
elemField.setFieldName("fulltext");
|
|
elemField.setXmlName(new javax.xml.namespace.QName("", "fulltext"));
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
typeDesc.addFieldDesc(elemField);
|
|
}
|
|
|
|
/**
|
|
* Return type metadata object
|
|
*/
|
|
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
return typeDesc;
|
|
}
|
|
|
|
/**
|
|
* Get Custom Serializer
|
|
*/
|
|
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
java.lang.String mechType,
|
|
java.lang.Class _javaType,
|
|
javax.xml.namespace.QName _xmlType) {
|
|
return
|
|
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
_javaType, _xmlType, typeDesc);
|
|
}
|
|
|
|
/**
|
|
* Get Custom Deserializer
|
|
*/
|
|
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
java.lang.String mechType,
|
|
java.lang.Class _javaType,
|
|
javax.xml.namespace.QName _xmlType) {
|
|
return
|
|
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
_javaType, _xmlType, typeDesc);
|
|
}
|
|
|
|
}
|