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

Ec WSObject Content Update

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)
2 views5 pages

Ec WSObject Content Update

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

/**

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


private java.lang.String ticket;

private java.lang.String objectID;

private java.lang.String contentQualifier;

private java.lang.String contentFormat;

private byte[] contentObject;

public EcWSObjectContentUpdate() {
}

public EcWSObjectContentUpdate(
java.lang.String ticket,
java.lang.String objectID,
java.lang.String contentQualifier,
java.lang.String contentFormat,
byte[] contentObject) {
this.ticket = ticket;
this.objectID = objectID;
this.contentQualifier = contentQualifier;
this.contentFormat = contentFormat;
this.contentObject = contentObject;
}

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

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

/**
* Gets the objectID value for this EcWSObjectContentUpdate.
*
* @return objectID
*/
public java.lang.String getObjectID() {
return objectID;
}

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

/**
* Gets the contentQualifier value for this EcWSObjectContentUpdate.
*
* @return contentQualifier
*/
public java.lang.String getContentQualifier() {
return contentQualifier;
}

/**
* Sets the contentQualifier value for this EcWSObjectContentUpdate.
*
* @param contentQualifier
*/
public void setContentQualifier(java.lang.String contentQualifier) {
this.contentQualifier = contentQualifier;
}

/**
* Gets the contentFormat value for this EcWSObjectContentUpdate.
*
* @return contentFormat
*/
public java.lang.String getContentFormat() {
return contentFormat;
}

/**
* Sets the contentFormat value for this EcWSObjectContentUpdate.
*
* @param contentFormat
*/
public void setContentFormat(java.lang.String contentFormat) {
this.contentFormat = 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) {
this.contentObject = contentObject;
}

private java.lang.Object __equalsCalc = null;


public synchronized boolean equals(java.lang.Object 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 &&
((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.contentQualifier==null && other.getContentQualifier()==null) ||
(this.contentQualifier!=null &&
this.contentQualifier.equals(other.getContentQualifier()))) &&
((this.contentFormat==null && other.getContentFormat()==null) ||
(this.contentFormat!=null &&
this.contentFormat.equals(other.getContentFormat()))) &&
((this.contentObject==null && other.getContentObject()==null) ||
(this.contentObject!=null &&
java.util.Arrays.equals(this.contentObject,
other.getContentObject())));
__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<java.lang.reflect.Array.getLength(getContentObject());
i++) {
java.lang.Object obj =
java.lang.reflect.Array.get(getContentObject(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}

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

static {
typeDesc.setXmlType(new javax.xml.namespace.QName("urn:ICA2",
"EcWSObjectContentUpdate"));
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("contentQualifier");
elemField.setXmlName(new javax.xml.namespace.QName("",
"contentQualifier"));
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("contentFormat");
elemField.setXmlName(new javax.xml.namespace.QName("", "contentFormat"));
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("contentObject");
elemField.setXmlName(new javax.xml.namespace.QName("", "contentObject"));
elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "base64Binary"));
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