PageRenderTime 50ms CodeModel.GetById 20ms app.highlight 24ms RepoModel.GetById 1ms app.codeStats 0ms

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