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

http://google-enterprise-connector-manager.googlecode.com/ · Java · 157 lines · 100 code · 21 blank · 36 comment · 18 complexity · c1ed1c0c731da0646ee23c7d154652ff MD5 · raw file

  1. /**
  2. * RemoveContentTypeXmlDocument.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 RemoveContentTypeXmlDocument implements java.io.Serializable {
  9. private java.lang.String contentTypeId;
  10. private java.lang.String documentUri;
  11. public RemoveContentTypeXmlDocument() {
  12. }
  13. public RemoveContentTypeXmlDocument(
  14. java.lang.String contentTypeId,
  15. java.lang.String documentUri) {
  16. this.contentTypeId = contentTypeId;
  17. this.documentUri = documentUri;
  18. }
  19. /**
  20. * Gets the contentTypeId value for this RemoveContentTypeXmlDocument.
  21. *
  22. * @return contentTypeId
  23. */
  24. public java.lang.String getContentTypeId() {
  25. return contentTypeId;
  26. }
  27. /**
  28. * Sets the contentTypeId value for this RemoveContentTypeXmlDocument.
  29. *
  30. * @param contentTypeId
  31. */
  32. public void setContentTypeId(java.lang.String contentTypeId) {
  33. this.contentTypeId = contentTypeId;
  34. }
  35. /**
  36. * Gets the documentUri value for this RemoveContentTypeXmlDocument.
  37. *
  38. * @return documentUri
  39. */
  40. public java.lang.String getDocumentUri() {
  41. return documentUri;
  42. }
  43. /**
  44. * Sets the documentUri value for this RemoveContentTypeXmlDocument.
  45. *
  46. * @param documentUri
  47. */
  48. public void setDocumentUri(java.lang.String documentUri) {
  49. this.documentUri = documentUri;
  50. }
  51. private java.lang.Object __equalsCalc = null;
  52. public synchronized boolean equals(java.lang.Object obj) {
  53. if (!(obj instanceof RemoveContentTypeXmlDocument)) return false;
  54. RemoveContentTypeXmlDocument other = (RemoveContentTypeXmlDocument) obj;
  55. if (obj == null) return false;
  56. if (this == obj) return true;
  57. if (__equalsCalc != null) {
  58. return (__equalsCalc == obj);
  59. }
  60. __equalsCalc = obj;
  61. boolean _equals;
  62. _equals = true &&
  63. ((this.contentTypeId==null && other.getContentTypeId()==null) ||
  64. (this.contentTypeId!=null &&
  65. this.contentTypeId.equals(other.getContentTypeId()))) &&
  66. ((this.documentUri==null && other.getDocumentUri()==null) ||
  67. (this.documentUri!=null &&
  68. this.documentUri.equals(other.getDocumentUri())));
  69. __equalsCalc = null;
  70. return _equals;
  71. }
  72. private boolean __hashCodeCalc = false;
  73. public synchronized int hashCode() {
  74. if (__hashCodeCalc) {
  75. return 0;
  76. }
  77. __hashCodeCalc = true;
  78. int _hashCode = 1;
  79. if (getContentTypeId() != null) {
  80. _hashCode += getContentTypeId().hashCode();
  81. }
  82. if (getDocumentUri() != null) {
  83. _hashCode += getDocumentUri().hashCode();
  84. }
  85. __hashCodeCalc = false;
  86. return _hashCode;
  87. }
  88. // Type metadata
  89. private static org.apache.axis.description.TypeDesc typeDesc =
  90. new org.apache.axis.description.TypeDesc(RemoveContentTypeXmlDocument.class, true);
  91. static {
  92. typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", ">RemoveContentTypeXmlDocument"));
  93. org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  94. elemField.setFieldName("contentTypeId");
  95. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "contentTypeId"));
  96. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  97. elemField.setMinOccurs(0);
  98. elemField.setNillable(false);
  99. typeDesc.addFieldDesc(elemField);
  100. elemField = new org.apache.axis.description.ElementDesc();
  101. elemField.setFieldName("documentUri");
  102. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "documentUri"));
  103. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  104. elemField.setMinOccurs(0);
  105. elemField.setNillable(false);
  106. typeDesc.addFieldDesc(elemField);
  107. }
  108. /**
  109. * Return type metadata object
  110. */
  111. public static org.apache.axis.description.TypeDesc getTypeDesc() {
  112. return typeDesc;
  113. }
  114. /**
  115. * Get Custom Serializer
  116. */
  117. public static org.apache.axis.encoding.Serializer getSerializer(
  118. java.lang.String mechType,
  119. java.lang.Class _javaType,
  120. javax.xml.namespace.QName _xmlType) {
  121. return
  122. new org.apache.axis.encoding.ser.BeanSerializer(
  123. _javaType, _xmlType, typeDesc);
  124. }
  125. /**
  126. * Get Custom Deserializer
  127. */
  128. public static org.apache.axis.encoding.Deserializer getDeserializer(
  129. java.lang.String mechType,
  130. java.lang.Class _javaType,
  131. javax.xml.namespace.QName _xmlType) {
  132. return
  133. new org.apache.axis.encoding.ser.BeanDeserializer(
  134. _javaType, _xmlType, typeDesc);
  135. }
  136. }