0% found this document useful (0 votes)
6 views4 pages

Ec WSLink Object

The EcWSLinkObject class is a Java object that represents a web service link with attributes for ticket, objectID, and folderID. It includes methods for getting and setting these attributes, as well as overridden equals and hashCode methods for object comparison. The class also provides metadata for XML serialization and deserialization using Apache Axis.

Uploaded by

Pascal L.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views4 pages

Ec WSLink Object

The EcWSLinkObject class is a Java object that represents a web service link with attributes for ticket, objectID, and folderID. It includes methods for getting and setting these attributes, as well as overridden equals and hashCode methods for object comparison. The class also provides metadata for XML serialization and deserialization using Apache Axis.

Uploaded by

Pascal L.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

/**

* EcWSLinkObject.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/

package ICA2;

public class EcWSLinkObject implements java.io.Serializable {


private java.lang.String ticket;

private java.lang.String objectID;

private java.lang.String folderID;

public EcWSLinkObject() {
}

public EcWSLinkObject(
java.lang.String ticket,
java.lang.String objectID,
java.lang.String folderID) {
this.ticket = ticket;
this.objectID = objectID;
this.folderID = folderID;
}

/**
* Gets the ticket value for this EcWSLinkObject.
*
* @return ticket
*/
public java.lang.String getTicket() {
return ticket;
}

/**
* Sets the ticket value for this EcWSLinkObject.
*
* @param ticket
*/
public void setTicket(java.lang.String ticket) {
this.ticket = ticket;
}

/**
* Gets the objectID value for this EcWSLinkObject.
*
* @return objectID
*/
public java.lang.String getObjectID() {
return objectID;
}
/**
* Sets the objectID value for this EcWSLinkObject.
*
* @param objectID
*/
public void setObjectID(java.lang.String objectID) {
this.objectID = objectID;
}

/**
* Gets the folderID value for this EcWSLinkObject.
*
* @return folderID
*/
public java.lang.String getFolderID() {
return folderID;
}

/**
* Sets the folderID value for this EcWSLinkObject.
*
* @param folderID
*/
public void setFolderID(java.lang.String folderID) {
this.folderID = folderID;
}

private java.lang.Object __equalsCalc = null;


public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof EcWSLinkObject)) return false;
EcWSLinkObject other = (EcWSLinkObject) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.ticket==null && other.getTicket()==null) ||
(this.ticket!=null &&
this.ticket.equals(other.getTicket()))) &&
((this.objectID==null && other.getObjectID()==null) ||
(this.objectID!=null &&
this.objectID.equals(other.getObjectID()))) &&
((this.folderID==null && other.getFolderID()==null) ||
(this.folderID!=null &&
this.folderID.equals(other.getFolderID())));
__equalsCalc = null;
return _equals;
}

private boolean __hashCodeCalc = false;


public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getTicket() != null) {
_hashCode += getTicket().hashCode();
}
if (getObjectID() != null) {
_hashCode += getObjectID().hashCode();
}
if (getFolderID() != null) {
_hashCode += getFolderID().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}

// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(EcWSLinkObject.class, true);

static {
typeDesc.setXmlType(new javax.xml.namespace.QName("urn:ICA2",
"EcWSLinkObject"));
org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
elemField.setFieldName("ticket");
elemField.setXmlName(new javax.xml.namespace.QName("", "ticket"));
elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("objectID");
elemField.setXmlName(new javax.xml.namespace.QName("", "objectID"));
elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("folderID");
elemField.setXmlName(new javax.xml.namespace.QName("", "folderID"));
elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
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);
}

You might also like