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

Ec WSObject Properties Update

The document defines a Java class named EcWSObjectPropertiesUpdate, which is used for updating object properties in a web service context. It contains fields for a ticket, object ID, and properties, along with getter and setter methods for each field. The class also includes methods for equality checks, hash code generation, and type metadata for serialization and deserialization purposes.

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

Ec WSObject Properties Update

The document defines a Java class named EcWSObjectPropertiesUpdate, which is used for updating object properties in a web service context. It contains fields for a ticket, object ID, and properties, along with getter and setter methods for each field. The class also includes methods for equality checks, hash code generation, and type metadata for serialization and deserialization purposes.

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


private [Link] ticket;

private [Link] objectID;

private byte[] properties;

public EcWSObjectPropertiesUpdate() {
}

public EcWSObjectPropertiesUpdate(
[Link] ticket,
[Link] objectID,
byte[] properties) {
[Link] = ticket;
[Link] = objectID;
[Link] = properties;
}

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

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

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

/**
* Gets the properties value for this EcWSObjectPropertiesUpdate.
*
* @return properties
*/
public byte[] getProperties() {
return properties;
}

/**
* Sets the properties value for this EcWSObjectPropertiesUpdate.
*
* @param properties
*/
public void setProperties(byte[] properties) {
[Link] = properties;
}

private [Link] __equalsCalc = null;


public synchronized boolean equals([Link] obj) {
if (!(obj instanceof EcWSObjectPropertiesUpdate)) return false;
EcWSObjectPropertiesUpdate other = (EcWSObjectPropertiesUpdate) 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]())));
__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 (getProperties() != null) {
for (int i=0;
i<[Link](getProperties());
i++) {
[Link] obj = [Link](getProperties(),
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",
"EcWSObjectPropertiesUpdate"));
[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]("properties");
[Link](new [Link]("", "properties"));
[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