0% found this document useful (0 votes)
3 views5 pages

EcWSObjectContent Java Class Overview

The document defines the EcWSObjectContent class, which implements Serializable and contains fields for ticket, objectID, documentQualifier, and documentContentFormat. It includes constructors, getter and setter methods for each field, and overrides for equals and hashCode methods. Additionally, it provides type metadata and custom serializer/deserializer methods 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)
3 views5 pages

EcWSObjectContent Java Class Overview

The document defines the EcWSObjectContent class, which implements Serializable and contains fields for ticket, objectID, documentQualifier, and documentContentFormat. It includes constructors, getter and setter methods for each field, and overrides for equals and hashCode methods. Additionally, it provides type metadata and custom serializer/deserializer methods 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

/**

* [Link]
*
* 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 EcWSObjectContent implements [Link] {


private [Link] ticket;

private [Link] objectID;

private [Link] documentQualifier;

private [Link] documentContentFormat;

public EcWSObjectContent() {
}

public EcWSObjectContent(
[Link] ticket,
[Link] objectID,
[Link] documentQualifier,
[Link] documentContentFormat) {
[Link] = ticket;
[Link] = objectID;
[Link] = documentQualifier;
[Link] = documentContentFormat;
}

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

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

/**
* Gets the objectID value for this EcWSObjectContent.
*
* @return objectID
*/
public [Link] getObjectID() {
return objectID;
}

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

/**
* Gets the documentQualifier value for this EcWSObjectContent.
*
* @return documentQualifier
*/
public [Link] getDocumentQualifier() {
return documentQualifier;
}

/**
* Sets the documentQualifier value for this EcWSObjectContent.
*
* @param documentQualifier
*/
public void setDocumentQualifier([Link] documentQualifier) {
[Link] = documentQualifier;
}

/**
* Gets the documentContentFormat value for this EcWSObjectContent.
*
* @return documentContentFormat
*/
public [Link] getDocumentContentFormat() {
return documentContentFormat;
}

/**
* Sets the documentContentFormat value for this EcWSObjectContent.
*
* @param documentContentFormat
*/
public void setDocumentContentFormat([Link] documentContentFormat) {
[Link] = documentContentFormat;
}

private [Link] __equalsCalc = null;


public synchronized boolean equals([Link] obj) {
if (!(obj instanceof EcWSObjectContent)) return false;
EcWSObjectContent other = (EcWSObjectContent) 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]()))) &&
(([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 (getDocumentQualifier() != null) {
_hashCode += getDocumentQualifier().hashCode();
}
if (getDocumentContentFormat() != null) {
_hashCode += getDocumentContentFormat().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}

// Type metadata
private static [Link] typeDesc =
new [Link]([Link], true);

static {
[Link](new [Link]("urn:ICA2",
"EcWSObjectContent"));
[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]("documentQualifier");
[Link](new [Link]("",
"documentQualifier"));
[Link](new
[Link]("[Link] "string"));
[Link](false);
[Link](elemField);
elemField = new [Link]();
[Link]("documentContentFormat");
[Link](new [Link]("",
"documentContentFormat"));
[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