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

Ec WSUnlink Object

The EcWSUnlinkObject class is a Java representation of an object used for unlinking in a web service context, containing fields for ticket, objectID, and folderID. It includes methods for getting and setting these fields, as well as overridden equals and hashCode methods for object comparison. Additionally, it provides type metadata and custom serializers/deserializers for XML handling.

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)
4 views4 pages

Ec WSUnlink Object

The EcWSUnlinkObject class is a Java representation of an object used for unlinking in a web service context, containing fields for ticket, objectID, and folderID. It includes methods for getting and setting these fields, as well as overridden equals and hashCode methods for object comparison. Additionally, it provides type metadata and custom serializers/deserializers for XML handling.

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

/**

* EcWSUnlinkObject.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 EcWSUnlinkObject implements java.io.Serializable {


private java.lang.String ticket;

private java.lang.String objectID;

private java.lang.String folderID;

public EcWSUnlinkObject() {
}

public EcWSUnlinkObject(
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 EcWSUnlinkObject.
*
* @return ticket
*/
public java.lang.String getTicket() {
return ticket;
}

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

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

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

/**
* Sets the folderID value for this EcWSUnlinkObject.
*
* @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 EcWSUnlinkObject)) return false;
EcWSUnlinkObject other = (EcWSUnlinkObject) 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(EcWSUnlinkObject.class, true);

static {
typeDesc.setXmlType(new javax.xml.namespace.QName("urn:ICA2",
"EcWSUnlinkObject"));
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