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

EcWSObjectContentUpdate Class Overview

The document defines a Java class named EcWSObjectContentUpdate, which is used for updating object content in a web service context. It includes fields for ticket, object ID, content qualifier, content format, and the content object itself, along with corresponding getter and setter methods. Additionally, it provides methods for equality checks, hash code generation, and custom serialization/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)
10 views5 pages

EcWSObjectContentUpdate Class Overview

The document defines a Java class named EcWSObjectContentUpdate, which is used for updating object content in a web service context. It includes fields for ticket, object ID, content qualifier, content format, and the content object itself, along with corresponding getter and setter methods. Additionally, it provides methods for equality checks, hash code generation, and custom serialization/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 (06:55:48 PDT) WSDL2Java emitter.
*/

package ICA2;

public class EcWSObjectContentUpdate implements [Link] {


private [Link] ticket;

private [Link] objectID;

private [Link] contentQualifier;

private [Link] contentFormat;

private byte[] contentObject;

public EcWSObjectContentUpdate() {
}

public EcWSObjectContentUpdate(
[Link] ticket,
[Link] objectID,
[Link] contentQualifier,
[Link] contentFormat,
byte[] contentObject) {
[Link] = ticket;
[Link] = objectID;
[Link] = contentQualifier;
[Link] = contentFormat;
[Link] = contentObject;
}

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

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

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

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

/**
* Gets the contentQualifier value for this EcWSObjectContentUpdate.
*
* @return contentQualifier
*/
public [Link] getContentQualifier() {
return contentQualifier;
}

/**
* Sets the contentQualifier value for this EcWSObjectContentUpdate.
*
* @param contentQualifier
*/
public void setContentQualifier([Link] contentQualifier) {
[Link] = contentQualifier;
}

/**
* Gets the contentFormat value for this EcWSObjectContentUpdate.
*
* @return contentFormat
*/
public [Link] getContentFormat() {
return contentFormat;
}

/**
* Sets the contentFormat value for this EcWSObjectContentUpdate.
*
* @param contentFormat
*/
public void setContentFormat([Link] contentFormat) {
[Link] = contentFormat;
}

/**
* Gets the contentObject value for this EcWSObjectContentUpdate.
*
* @return contentObject
*/
public byte[] getContentObject() {
return contentObject;
}

/**
* Sets the contentObject value for this EcWSObjectContentUpdate.
*
* @param contentObject
*/
public void setContentObject(byte[] contentObject) {
[Link] = contentObject;
}

private [Link] __equalsCalc = null;


public synchronized boolean equals([Link] obj) {
if (!(obj instanceof EcWSObjectContentUpdate)) return false;
EcWSObjectContentUpdate other = (EcWSObjectContentUpdate) 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]()))) &&
(([Link]==null && [Link]()==null) ||
([Link]!=null &&
[Link]([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 (getContentQualifier() != null) {
_hashCode += getContentQualifier().hashCode();
}
if (getContentFormat() != null) {
_hashCode += getContentFormat().hashCode();
}
if (getContentObject() != null) {
for (int i=0;
i<[Link](getContentObject());
i++) {
[Link] obj =
[Link](getContentObject(), i);
if (obj != null &&
![Link]().isArray()) {
_hashCode += [Link]();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}

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

static {
[Link](new [Link]("urn:ICA2",
"EcWSObjectContentUpdate"));
[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]("contentQualifier");
[Link](new [Link]("",
"contentQualifier"));
[Link](new
[Link]("[Link] "string"));
[Link](false);
[Link](elemField);
elemField = new [Link]();
[Link]("contentFormat");
[Link](new [Link]("", "contentFormat"));
[Link](new
[Link]("[Link] "string"));
[Link](false);
[Link](elemField);
elemField = new [Link]();
[Link]("contentObject");
[Link](new [Link]("", "contentObject"));
[Link](new
[Link]("[Link] "base64Binary"));
[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