/projects/sharepoint-proto/source/java/com/google/enterprise/connector/sharepoint/generated/webs/UpdateContentTypeDeleteFields.java

http://google-enterprise-connector-manager.googlecode.com/ · Java · 121 lines · 79 code · 16 blank · 26 comment · 17 complexity · d65fb651392c5c6963179cfd42e35809 MD5 · raw file

  1. /**
  2. * UpdateContentTypeDeleteFields.java
  3. *
  4. * This file was auto-generated from WSDL
  5. * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
  6. */
  7. package com.google.enterprise.connector.sharepoint.generated.webs;
  8. public class UpdateContentTypeDeleteFields implements java.io.Serializable, org.apache.axis.encoding.AnyContentType, org.apache.axis.encoding.MixedContentType {
  9. private org.apache.axis.message.MessageElement [] _any;
  10. public UpdateContentTypeDeleteFields() {
  11. }
  12. public UpdateContentTypeDeleteFields(
  13. org.apache.axis.message.MessageElement [] _any) {
  14. this._any = _any;
  15. }
  16. /**
  17. * Gets the _any value for this UpdateContentTypeDeleteFields.
  18. *
  19. * @return _any
  20. */
  21. public org.apache.axis.message.MessageElement [] get_any() {
  22. return _any;
  23. }
  24. /**
  25. * Sets the _any value for this UpdateContentTypeDeleteFields.
  26. *
  27. * @param _any
  28. */
  29. public void set_any(org.apache.axis.message.MessageElement [] _any) {
  30. this._any = _any;
  31. }
  32. private java.lang.Object __equalsCalc = null;
  33. public synchronized boolean equals(java.lang.Object obj) {
  34. if (!(obj instanceof UpdateContentTypeDeleteFields)) return false;
  35. UpdateContentTypeDeleteFields other = (UpdateContentTypeDeleteFields) obj;
  36. if (obj == null) return false;
  37. if (this == obj) return true;
  38. if (__equalsCalc != null) {
  39. return (__equalsCalc == obj);
  40. }
  41. __equalsCalc = obj;
  42. boolean _equals;
  43. _equals = true &&
  44. ((this._any==null && other.get_any()==null) ||
  45. (this._any!=null &&
  46. java.util.Arrays.equals(this._any, other.get_any())));
  47. __equalsCalc = null;
  48. return _equals;
  49. }
  50. private boolean __hashCodeCalc = false;
  51. public synchronized int hashCode() {
  52. if (__hashCodeCalc) {
  53. return 0;
  54. }
  55. __hashCodeCalc = true;
  56. int _hashCode = 1;
  57. if (get_any() != null) {
  58. for (int i=0;
  59. i<java.lang.reflect.Array.getLength(get_any());
  60. i++) {
  61. java.lang.Object obj = java.lang.reflect.Array.get(get_any(), i);
  62. if (obj != null &&
  63. !obj.getClass().isArray()) {
  64. _hashCode += obj.hashCode();
  65. }
  66. }
  67. }
  68. __hashCodeCalc = false;
  69. return _hashCode;
  70. }
  71. // Type metadata
  72. private static org.apache.axis.description.TypeDesc typeDesc =
  73. new org.apache.axis.description.TypeDesc(UpdateContentTypeDeleteFields.class, true);
  74. static {
  75. typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", ">>UpdateContentType>deleteFields"));
  76. }
  77. /**
  78. * Return type metadata object
  79. */
  80. public static org.apache.axis.description.TypeDesc getTypeDesc() {
  81. return typeDesc;
  82. }
  83. /**
  84. * Get Custom Serializer
  85. */
  86. public static org.apache.axis.encoding.Serializer getSerializer(
  87. java.lang.String mechType,
  88. java.lang.Class _javaType,
  89. javax.xml.namespace.QName _xmlType) {
  90. return
  91. new org.apache.axis.encoding.ser.BeanSerializer(
  92. _javaType, _xmlType, typeDesc);
  93. }
  94. /**
  95. * Get Custom Deserializer
  96. */
  97. public static org.apache.axis.encoding.Deserializer getDeserializer(
  98. java.lang.String mechType,
  99. java.lang.Class _javaType,
  100. javax.xml.namespace.QName _xmlType) {
  101. return
  102. new org.apache.axis.encoding.ser.BeanDeserializer(
  103. _javaType, _xmlType, typeDesc);
  104. }
  105. }