/projects/sharepoint-proto/source/java/com/google/enterprise/connector/sharepoint/generated/sitedata/_sListMetadata.java

http://google-enterprise-connector-manager.googlecode.com/ · Java · 574 lines · 337 code · 81 blank · 156 comment · 51 complexity · 0e432a08beae66404e73308a17f289fd MD5 · raw file

  1. /**
  2. * _sListMetadata.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.sitedata;
  8. public class _sListMetadata implements java.io.Serializable {
  9. private java.lang.String title;
  10. private java.lang.String description;
  11. private java.lang.String baseType;
  12. private java.lang.String baseTemplate;
  13. private java.lang.String defaultViewUrl;
  14. private java.util.Calendar lastModified;
  15. private java.util.Calendar lastModifiedForceRecrawl;
  16. private java.lang.String author;
  17. private boolean validSecurityInfo;
  18. private boolean inheritedSecurity;
  19. private boolean allowAnonymousAccess;
  20. private boolean anonymousViewListItems;
  21. private int readSecurity;
  22. private java.lang.String permissions;
  23. public _sListMetadata() {
  24. }
  25. public _sListMetadata(
  26. java.lang.String title,
  27. java.lang.String description,
  28. java.lang.String baseType,
  29. java.lang.String baseTemplate,
  30. java.lang.String defaultViewUrl,
  31. java.util.Calendar lastModified,
  32. java.util.Calendar lastModifiedForceRecrawl,
  33. java.lang.String author,
  34. boolean validSecurityInfo,
  35. boolean inheritedSecurity,
  36. boolean allowAnonymousAccess,
  37. boolean anonymousViewListItems,
  38. int readSecurity,
  39. java.lang.String permissions) {
  40. this.title = title;
  41. this.description = description;
  42. this.baseType = baseType;
  43. this.baseTemplate = baseTemplate;
  44. this.defaultViewUrl = defaultViewUrl;
  45. this.lastModified = lastModified;
  46. this.lastModifiedForceRecrawl = lastModifiedForceRecrawl;
  47. this.author = author;
  48. this.validSecurityInfo = validSecurityInfo;
  49. this.inheritedSecurity = inheritedSecurity;
  50. this.allowAnonymousAccess = allowAnonymousAccess;
  51. this.anonymousViewListItems = anonymousViewListItems;
  52. this.readSecurity = readSecurity;
  53. this.permissions = permissions;
  54. }
  55. /**
  56. * Gets the title value for this _sListMetadata.
  57. *
  58. * @return title
  59. */
  60. public java.lang.String getTitle() {
  61. return title;
  62. }
  63. /**
  64. * Sets the title value for this _sListMetadata.
  65. *
  66. * @param title
  67. */
  68. public void setTitle(java.lang.String title) {
  69. this.title = title;
  70. }
  71. /**
  72. * Gets the description value for this _sListMetadata.
  73. *
  74. * @return description
  75. */
  76. public java.lang.String getDescription() {
  77. return description;
  78. }
  79. /**
  80. * Sets the description value for this _sListMetadata.
  81. *
  82. * @param description
  83. */
  84. public void setDescription(java.lang.String description) {
  85. this.description = description;
  86. }
  87. /**
  88. * Gets the baseType value for this _sListMetadata.
  89. *
  90. * @return baseType
  91. */
  92. public java.lang.String getBaseType() {
  93. return baseType;
  94. }
  95. /**
  96. * Sets the baseType value for this _sListMetadata.
  97. *
  98. * @param baseType
  99. */
  100. public void setBaseType(java.lang.String baseType) {
  101. this.baseType = baseType;
  102. }
  103. /**
  104. * Gets the baseTemplate value for this _sListMetadata.
  105. *
  106. * @return baseTemplate
  107. */
  108. public java.lang.String getBaseTemplate() {
  109. return baseTemplate;
  110. }
  111. /**
  112. * Sets the baseTemplate value for this _sListMetadata.
  113. *
  114. * @param baseTemplate
  115. */
  116. public void setBaseTemplate(java.lang.String baseTemplate) {
  117. this.baseTemplate = baseTemplate;
  118. }
  119. /**
  120. * Gets the defaultViewUrl value for this _sListMetadata.
  121. *
  122. * @return defaultViewUrl
  123. */
  124. public java.lang.String getDefaultViewUrl() {
  125. return defaultViewUrl;
  126. }
  127. /**
  128. * Sets the defaultViewUrl value for this _sListMetadata.
  129. *
  130. * @param defaultViewUrl
  131. */
  132. public void setDefaultViewUrl(java.lang.String defaultViewUrl) {
  133. this.defaultViewUrl = defaultViewUrl;
  134. }
  135. /**
  136. * Gets the lastModified value for this _sListMetadata.
  137. *
  138. * @return lastModified
  139. */
  140. public java.util.Calendar getLastModified() {
  141. return lastModified;
  142. }
  143. /**
  144. * Sets the lastModified value for this _sListMetadata.
  145. *
  146. * @param lastModified
  147. */
  148. public void setLastModified(java.util.Calendar lastModified) {
  149. this.lastModified = lastModified;
  150. }
  151. /**
  152. * Gets the lastModifiedForceRecrawl value for this _sListMetadata.
  153. *
  154. * @return lastModifiedForceRecrawl
  155. */
  156. public java.util.Calendar getLastModifiedForceRecrawl() {
  157. return lastModifiedForceRecrawl;
  158. }
  159. /**
  160. * Sets the lastModifiedForceRecrawl value for this _sListMetadata.
  161. *
  162. * @param lastModifiedForceRecrawl
  163. */
  164. public void setLastModifiedForceRecrawl(java.util.Calendar lastModifiedForceRecrawl) {
  165. this.lastModifiedForceRecrawl = lastModifiedForceRecrawl;
  166. }
  167. /**
  168. * Gets the author value for this _sListMetadata.
  169. *
  170. * @return author
  171. */
  172. public java.lang.String getAuthor() {
  173. return author;
  174. }
  175. /**
  176. * Sets the author value for this _sListMetadata.
  177. *
  178. * @param author
  179. */
  180. public void setAuthor(java.lang.String author) {
  181. this.author = author;
  182. }
  183. /**
  184. * Gets the validSecurityInfo value for this _sListMetadata.
  185. *
  186. * @return validSecurityInfo
  187. */
  188. public boolean isValidSecurityInfo() {
  189. return validSecurityInfo;
  190. }
  191. /**
  192. * Sets the validSecurityInfo value for this _sListMetadata.
  193. *
  194. * @param validSecurityInfo
  195. */
  196. public void setValidSecurityInfo(boolean validSecurityInfo) {
  197. this.validSecurityInfo = validSecurityInfo;
  198. }
  199. /**
  200. * Gets the inheritedSecurity value for this _sListMetadata.
  201. *
  202. * @return inheritedSecurity
  203. */
  204. public boolean isInheritedSecurity() {
  205. return inheritedSecurity;
  206. }
  207. /**
  208. * Sets the inheritedSecurity value for this _sListMetadata.
  209. *
  210. * @param inheritedSecurity
  211. */
  212. public void setInheritedSecurity(boolean inheritedSecurity) {
  213. this.inheritedSecurity = inheritedSecurity;
  214. }
  215. /**
  216. * Gets the allowAnonymousAccess value for this _sListMetadata.
  217. *
  218. * @return allowAnonymousAccess
  219. */
  220. public boolean isAllowAnonymousAccess() {
  221. return allowAnonymousAccess;
  222. }
  223. /**
  224. * Sets the allowAnonymousAccess value for this _sListMetadata.
  225. *
  226. * @param allowAnonymousAccess
  227. */
  228. public void setAllowAnonymousAccess(boolean allowAnonymousAccess) {
  229. this.allowAnonymousAccess = allowAnonymousAccess;
  230. }
  231. /**
  232. * Gets the anonymousViewListItems value for this _sListMetadata.
  233. *
  234. * @return anonymousViewListItems
  235. */
  236. public boolean isAnonymousViewListItems() {
  237. return anonymousViewListItems;
  238. }
  239. /**
  240. * Sets the anonymousViewListItems value for this _sListMetadata.
  241. *
  242. * @param anonymousViewListItems
  243. */
  244. public void setAnonymousViewListItems(boolean anonymousViewListItems) {
  245. this.anonymousViewListItems = anonymousViewListItems;
  246. }
  247. /**
  248. * Gets the readSecurity value for this _sListMetadata.
  249. *
  250. * @return readSecurity
  251. */
  252. public int getReadSecurity() {
  253. return readSecurity;
  254. }
  255. /**
  256. * Sets the readSecurity value for this _sListMetadata.
  257. *
  258. * @param readSecurity
  259. */
  260. public void setReadSecurity(int readSecurity) {
  261. this.readSecurity = readSecurity;
  262. }
  263. /**
  264. * Gets the permissions value for this _sListMetadata.
  265. *
  266. * @return permissions
  267. */
  268. public java.lang.String getPermissions() {
  269. return permissions;
  270. }
  271. /**
  272. * Sets the permissions value for this _sListMetadata.
  273. *
  274. * @param permissions
  275. */
  276. public void setPermissions(java.lang.String permissions) {
  277. this.permissions = permissions;
  278. }
  279. private java.lang.Object __equalsCalc = null;
  280. public synchronized boolean equals(java.lang.Object obj) {
  281. if (!(obj instanceof _sListMetadata)) return false;
  282. _sListMetadata other = (_sListMetadata) obj;
  283. if (obj == null) return false;
  284. if (this == obj) return true;
  285. if (__equalsCalc != null) {
  286. return (__equalsCalc == obj);
  287. }
  288. __equalsCalc = obj;
  289. boolean _equals;
  290. _equals = true &&
  291. ((this.title==null && other.getTitle()==null) ||
  292. (this.title!=null &&
  293. this.title.equals(other.getTitle()))) &&
  294. ((this.description==null && other.getDescription()==null) ||
  295. (this.description!=null &&
  296. this.description.equals(other.getDescription()))) &&
  297. ((this.baseType==null && other.getBaseType()==null) ||
  298. (this.baseType!=null &&
  299. this.baseType.equals(other.getBaseType()))) &&
  300. ((this.baseTemplate==null && other.getBaseTemplate()==null) ||
  301. (this.baseTemplate!=null &&
  302. this.baseTemplate.equals(other.getBaseTemplate()))) &&
  303. ((this.defaultViewUrl==null && other.getDefaultViewUrl()==null) ||
  304. (this.defaultViewUrl!=null &&
  305. this.defaultViewUrl.equals(other.getDefaultViewUrl()))) &&
  306. ((this.lastModified==null && other.getLastModified()==null) ||
  307. (this.lastModified!=null &&
  308. this.lastModified.equals(other.getLastModified()))) &&
  309. ((this.lastModifiedForceRecrawl==null && other.getLastModifiedForceRecrawl()==null) ||
  310. (this.lastModifiedForceRecrawl!=null &&
  311. this.lastModifiedForceRecrawl.equals(other.getLastModifiedForceRecrawl()))) &&
  312. ((this.author==null && other.getAuthor()==null) ||
  313. (this.author!=null &&
  314. this.author.equals(other.getAuthor()))) &&
  315. this.validSecurityInfo == other.isValidSecurityInfo() &&
  316. this.inheritedSecurity == other.isInheritedSecurity() &&
  317. this.allowAnonymousAccess == other.isAllowAnonymousAccess() &&
  318. this.anonymousViewListItems == other.isAnonymousViewListItems() &&
  319. this.readSecurity == other.getReadSecurity() &&
  320. ((this.permissions==null && other.getPermissions()==null) ||
  321. (this.permissions!=null &&
  322. this.permissions.equals(other.getPermissions())));
  323. __equalsCalc = null;
  324. return _equals;
  325. }
  326. private boolean __hashCodeCalc = false;
  327. public synchronized int hashCode() {
  328. if (__hashCodeCalc) {
  329. return 0;
  330. }
  331. __hashCodeCalc = true;
  332. int _hashCode = 1;
  333. if (getTitle() != null) {
  334. _hashCode += getTitle().hashCode();
  335. }
  336. if (getDescription() != null) {
  337. _hashCode += getDescription().hashCode();
  338. }
  339. if (getBaseType() != null) {
  340. _hashCode += getBaseType().hashCode();
  341. }
  342. if (getBaseTemplate() != null) {
  343. _hashCode += getBaseTemplate().hashCode();
  344. }
  345. if (getDefaultViewUrl() != null) {
  346. _hashCode += getDefaultViewUrl().hashCode();
  347. }
  348. if (getLastModified() != null) {
  349. _hashCode += getLastModified().hashCode();
  350. }
  351. if (getLastModifiedForceRecrawl() != null) {
  352. _hashCode += getLastModifiedForceRecrawl().hashCode();
  353. }
  354. if (getAuthor() != null) {
  355. _hashCode += getAuthor().hashCode();
  356. }
  357. _hashCode += (isValidSecurityInfo() ? Boolean.TRUE : Boolean.FALSE).hashCode();
  358. _hashCode += (isInheritedSecurity() ? Boolean.TRUE : Boolean.FALSE).hashCode();
  359. _hashCode += (isAllowAnonymousAccess() ? Boolean.TRUE : Boolean.FALSE).hashCode();
  360. _hashCode += (isAnonymousViewListItems() ? Boolean.TRUE : Boolean.FALSE).hashCode();
  361. _hashCode += getReadSecurity();
  362. if (getPermissions() != null) {
  363. _hashCode += getPermissions().hashCode();
  364. }
  365. __hashCodeCalc = false;
  366. return _hashCode;
  367. }
  368. // Type metadata
  369. private static org.apache.axis.description.TypeDesc typeDesc =
  370. new org.apache.axis.description.TypeDesc(_sListMetadata.class, true);
  371. static {
  372. typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "_sListMetadata"));
  373. org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  374. elemField.setFieldName("title");
  375. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "Title"));
  376. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  377. elemField.setMinOccurs(0);
  378. elemField.setNillable(false);
  379. typeDesc.addFieldDesc(elemField);
  380. elemField = new org.apache.axis.description.ElementDesc();
  381. elemField.setFieldName("description");
  382. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "Description"));
  383. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  384. elemField.setMinOccurs(0);
  385. elemField.setNillable(false);
  386. typeDesc.addFieldDesc(elemField);
  387. elemField = new org.apache.axis.description.ElementDesc();
  388. elemField.setFieldName("baseType");
  389. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "BaseType"));
  390. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  391. elemField.setMinOccurs(0);
  392. elemField.setNillable(false);
  393. typeDesc.addFieldDesc(elemField);
  394. elemField = new org.apache.axis.description.ElementDesc();
  395. elemField.setFieldName("baseTemplate");
  396. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "BaseTemplate"));
  397. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  398. elemField.setMinOccurs(0);
  399. elemField.setNillable(false);
  400. typeDesc.addFieldDesc(elemField);
  401. elemField = new org.apache.axis.description.ElementDesc();
  402. elemField.setFieldName("defaultViewUrl");
  403. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "DefaultViewUrl"));
  404. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  405. elemField.setMinOccurs(0);
  406. elemField.setNillable(false);
  407. typeDesc.addFieldDesc(elemField);
  408. elemField = new org.apache.axis.description.ElementDesc();
  409. elemField.setFieldName("lastModified");
  410. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "LastModified"));
  411. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
  412. elemField.setNillable(false);
  413. typeDesc.addFieldDesc(elemField);
  414. elemField = new org.apache.axis.description.ElementDesc();
  415. elemField.setFieldName("lastModifiedForceRecrawl");
  416. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "LastModifiedForceRecrawl"));
  417. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
  418. elemField.setNillable(false);
  419. typeDesc.addFieldDesc(elemField);
  420. elemField = new org.apache.axis.description.ElementDesc();
  421. elemField.setFieldName("author");
  422. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "Author"));
  423. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  424. elemField.setMinOccurs(0);
  425. elemField.setNillable(false);
  426. typeDesc.addFieldDesc(elemField);
  427. elemField = new org.apache.axis.description.ElementDesc();
  428. elemField.setFieldName("validSecurityInfo");
  429. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "ValidSecurityInfo"));
  430. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
  431. elemField.setNillable(false);
  432. typeDesc.addFieldDesc(elemField);
  433. elemField = new org.apache.axis.description.ElementDesc();
  434. elemField.setFieldName("inheritedSecurity");
  435. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "InheritedSecurity"));
  436. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
  437. elemField.setNillable(false);
  438. typeDesc.addFieldDesc(elemField);
  439. elemField = new org.apache.axis.description.ElementDesc();
  440. elemField.setFieldName("allowAnonymousAccess");
  441. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "AllowAnonymousAccess"));
  442. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
  443. elemField.setNillable(false);
  444. typeDesc.addFieldDesc(elemField);
  445. elemField = new org.apache.axis.description.ElementDesc();
  446. elemField.setFieldName("anonymousViewListItems");
  447. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "AnonymousViewListItems"));
  448. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
  449. elemField.setNillable(false);
  450. typeDesc.addFieldDesc(elemField);
  451. elemField = new org.apache.axis.description.ElementDesc();
  452. elemField.setFieldName("readSecurity");
  453. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "ReadSecurity"));
  454. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
  455. elemField.setNillable(false);
  456. typeDesc.addFieldDesc(elemField);
  457. elemField = new org.apache.axis.description.ElementDesc();
  458. elemField.setFieldName("permissions");
  459. elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "Permissions"));
  460. elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
  461. elemField.setMinOccurs(0);
  462. elemField.setNillable(false);
  463. typeDesc.addFieldDesc(elemField);
  464. }
  465. /**
  466. * Return type metadata object
  467. */
  468. public static org.apache.axis.description.TypeDesc getTypeDesc() {
  469. return typeDesc;
  470. }
  471. /**
  472. * Get Custom Serializer
  473. */
  474. public static org.apache.axis.encoding.Serializer getSerializer(
  475. java.lang.String mechType,
  476. java.lang.Class _javaType,
  477. javax.xml.namespace.QName _xmlType) {
  478. return
  479. new org.apache.axis.encoding.ser.BeanSerializer(
  480. _javaType, _xmlType, typeDesc);
  481. }
  482. /**
  483. * Get Custom Deserializer
  484. */
  485. public static org.apache.axis.encoding.Deserializer getDeserializer(
  486. java.lang.String mechType,
  487. java.lang.Class _javaType,
  488. javax.xml.namespace.QName _xmlType) {
  489. return
  490. new org.apache.axis.encoding.ser.BeanDeserializer(
  491. _javaType, _xmlType, typeDesc);
  492. }
  493. }