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

/**

* [Link]
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 ([Link] PDT) WSDL2Java emitter.
*/

package ICA2;

public class EcWSLinkObject implements [Link] {


private [Link] ticket;

private [Link] objectID;

private [Link] folderID;

public EcWSLinkObject() {
}

public EcWSLinkObject(
[Link] ticket,
[Link] objectID,
[Link] folderID) {
[Link] = ticket;
[Link] = objectID;
[Link] = folderID;
}

/**
* Gets the ticket value for this EcWSLinkObject.
*
* @return ticket
*/
public [Link] getTicket() {
return ticket;
}

/**
* Sets the ticket value for this EcWSLinkObject.
*
* @param ticket
*/
public void setTicket([Link] ticket) {
[Link] = ticket;
}

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

/**
* Gets the folderID value for this EcWSLinkObject.
*
* @return folderID
*/
public [Link] getFolderID() {
return folderID;
}

/**
* Sets the folderID value for this EcWSLinkObject.
*
* @param folderID
*/
public void setFolderID([Link] folderID) {
[Link] = folderID;
}

private [Link] __equalsCalc = null;


public synchronized boolean equals([Link] 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 &&
(([Link]==null && [Link]()==null) ||
([Link]!=null &&
[Link]([Link]()))) &&
(([Link]==null && [Link]()==null) ||
([Link]!=null &&
[Link]([Link]()))) &&
(([Link]==null && [Link]()==null) ||
([Link]!=null &&
[Link]([Link]())));
__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 [Link] typeDesc =
new [Link]([Link], true);

static {
[Link](new [Link]("urn:ICA2",
"EcWSLinkObject"));
[Link] elemField = new
[Link]();
[Link]("ticket");
[Link](new [Link]("", "ticket"));
[Link](new
[Link]("[Link] "string"));
[Link](false);
[Link](elemField);
elemField = new [Link]();
[Link]("objectID");
[Link](new [Link]("", "objectID"));
[Link](new
[Link]("[Link] "string"));
[Link](false);
[Link](elemField);
elemField = new [Link]();
[Link]("folderID");
[Link](new [Link]("", "folderID"));
[Link](new
[Link]("[Link] "string"));
[Link](false);
[Link](elemField);
}

/**
* Return type metadata object
*/
public static [Link] getTypeDesc() {
return typeDesc;
}

/**
* Get Custom Serializer
*/
public static [Link] getSerializer(
[Link] mechType,
[Link] _javaType,
[Link] _xmlType) {
return
new [Link](
_javaType, _xmlType, typeDesc);
}

/**
* Get Custom Deserializer
*/
public static [Link] getDeserializer(
[Link] mechType,
[Link] _javaType,
[Link] _xmlType) {
return
new [Link](
_javaType, _xmlType, typeDesc);
}

You might also like