/projects/sharepoint-proto/source/java/com/google/enterprise/connector/sharepoint/generated/webs/CreateContentType.java
http://google-enterprise-connector-manager.googlecode.com/ · Java · 231 lines · 144 code · 31 blank · 56 comment · 26 complexity · 35bcb25e0a6567eb12b0afebf470d8cd MD5 · raw file
- /**
- * CreateContentType.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
- package com.google.enterprise.connector.sharepoint.generated.webs;
-
- public class CreateContentType implements java.io.Serializable {
- private java.lang.String displayName;
-
- private java.lang.String parentType;
-
- private com.google.enterprise.connector.sharepoint.generated.webs.CreateContentTypeNewFields newFields;
-
- private com.google.enterprise.connector.sharepoint.generated.webs.CreateContentTypeContentTypeProperties contentTypeProperties;
-
- public CreateContentType() {
- }
-
- public CreateContentType(
- java.lang.String displayName,
- java.lang.String parentType,
- com.google.enterprise.connector.sharepoint.generated.webs.CreateContentTypeNewFields newFields,
- com.google.enterprise.connector.sharepoint.generated.webs.CreateContentTypeContentTypeProperties contentTypeProperties) {
- this.displayName = displayName;
- this.parentType = parentType;
- this.newFields = newFields;
- this.contentTypeProperties = contentTypeProperties;
- }
-
-
- /**
- * Gets the displayName value for this CreateContentType.
- *
- * @return displayName
- */
- public java.lang.String getDisplayName() {
- return displayName;
- }
-
-
- /**
- * Sets the displayName value for this CreateContentType.
- *
- * @param displayName
- */
- public void setDisplayName(java.lang.String displayName) {
- this.displayName = displayName;
- }
-
-
- /**
- * Gets the parentType value for this CreateContentType.
- *
- * @return parentType
- */
- public java.lang.String getParentType() {
- return parentType;
- }
-
-
- /**
- * Sets the parentType value for this CreateContentType.
- *
- * @param parentType
- */
- public void setParentType(java.lang.String parentType) {
- this.parentType = parentType;
- }
-
-
- /**
- * Gets the newFields value for this CreateContentType.
- *
- * @return newFields
- */
- public com.google.enterprise.connector.sharepoint.generated.webs.CreateContentTypeNewFields getNewFields() {
- return newFields;
- }
-
-
- /**
- * Sets the newFields value for this CreateContentType.
- *
- * @param newFields
- */
- public void setNewFields(com.google.enterprise.connector.sharepoint.generated.webs.CreateContentTypeNewFields newFields) {
- this.newFields = newFields;
- }
-
-
- /**
- * Gets the contentTypeProperties value for this CreateContentType.
- *
- * @return contentTypeProperties
- */
- public com.google.enterprise.connector.sharepoint.generated.webs.CreateContentTypeContentTypeProperties getContentTypeProperties() {
- return contentTypeProperties;
- }
-
-
- /**
- * Sets the contentTypeProperties value for this CreateContentType.
- *
- * @param contentTypeProperties
- */
- public void setContentTypeProperties(com.google.enterprise.connector.sharepoint.generated.webs.CreateContentTypeContentTypeProperties contentTypeProperties) {
- this.contentTypeProperties = contentTypeProperties;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof CreateContentType)) return false;
- CreateContentType other = (CreateContentType) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.displayName==null && other.getDisplayName()==null) ||
- (this.displayName!=null &&
- this.displayName.equals(other.getDisplayName()))) &&
- ((this.parentType==null && other.getParentType()==null) ||
- (this.parentType!=null &&
- this.parentType.equals(other.getParentType()))) &&
- ((this.newFields==null && other.getNewFields()==null) ||
- (this.newFields!=null &&
- this.newFields.equals(other.getNewFields()))) &&
- ((this.contentTypeProperties==null && other.getContentTypeProperties()==null) ||
- (this.contentTypeProperties!=null &&
- this.contentTypeProperties.equals(other.getContentTypeProperties())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getDisplayName() != null) {
- _hashCode += getDisplayName().hashCode();
- }
- if (getParentType() != null) {
- _hashCode += getParentType().hashCode();
- }
- if (getNewFields() != null) {
- _hashCode += getNewFields().hashCode();
- }
- if (getContentTypeProperties() != null) {
- _hashCode += getContentTypeProperties().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(CreateContentType.class, true);
-
- static {
- typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", ">CreateContentType"));
- org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("displayName");
- elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "displayName"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("parentType");
- elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "parentType"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("newFields");
- elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "newFields"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", ">>CreateContentType>newFields"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("contentTypeProperties");
- elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "contentTypeProperties"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", ">>CreateContentType>contentTypeProperties"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
- }