Added: ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/exception/InvalidRoleException.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/exception/InvalidRoleException.java?rev=767305&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/exception/InvalidRoleException.java (added) +++ ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/exception/InvalidRoleException.java Tue Apr 21 21:32:49 2009 @@ -0,0 +1,105 @@ +/******************************************************************************* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + *******************************************************************************/ +/** + * InvalidRoleException.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.atlassian.crowd.integration.exception; + +public class InvalidRoleException extends org.apache.axis.AxisFault implements java.io.Serializable { + public InvalidRoleException() { + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof InvalidRoleException)) return false; + InvalidRoleException other = (InvalidRoleException) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true; + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(InvalidRoleException.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://exception.integration.crowd.atlassian.com", "InvalidRoleException")); + } + + /** + * 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); + } + + + /** + * Writes the exception data to the faultDetails + */ + public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException { + context.serialize(qname, null, this); + } +} Added: ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/exception/InvalidTokenException.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/exception/InvalidTokenException.java?rev=767305&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/exception/InvalidTokenException.java (added) +++ ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/exception/InvalidTokenException.java Tue Apr 21 21:32:49 2009 @@ -0,0 +1,105 @@ +/******************************************************************************* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + *******************************************************************************/ +/** + * InvalidTokenException.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.atlassian.crowd.integration.exception; + +public class InvalidTokenException extends org.apache.axis.AxisFault implements java.io.Serializable { + public InvalidTokenException() { + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof InvalidTokenException)) return false; + InvalidTokenException other = (InvalidTokenException) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true; + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(InvalidTokenException.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://exception.integration.crowd.atlassian.com", "InvalidTokenException")); + } + + /** + * 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); + } + + + /** + * Writes the exception data to the faultDetails + */ + public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException { + context.serialize(qname, null, this); + } +} Added: ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/exception/ObjectNotFoundException.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/exception/ObjectNotFoundException.java?rev=767305&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/exception/ObjectNotFoundException.java (added) +++ ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/exception/ObjectNotFoundException.java Tue Apr 21 21:32:49 2009 @@ -0,0 +1,105 @@ +/******************************************************************************* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + *******************************************************************************/ +/** + * ObjectNotFoundException.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.atlassian.crowd.integration.exception; + +public class ObjectNotFoundException extends org.apache.axis.AxisFault implements java.io.Serializable { + public ObjectNotFoundException() { + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof ObjectNotFoundException)) return false; + ObjectNotFoundException other = (ObjectNotFoundException) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true; + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(ObjectNotFoundException.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://exception.integration.crowd.atlassian.com", "ObjectNotFoundException")); + } + + /** + * 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); + } + + + /** + * Writes the exception data to the faultDetails + */ + public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException { + context.serialize(qname, null, this); + } +} Added: ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPAttribute.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPAttribute.java?rev=767305&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPAttribute.java (added) +++ ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPAttribute.java Tue Apr 21 21:32:49 2009 @@ -0,0 +1,184 @@ +/******************************************************************************* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + *******************************************************************************/ +/** + * SOAPAttribute.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.atlassian.crowd.integration.soap; + +public class SOAPAttribute implements java.io.Serializable { + private java.lang.String name; + + private java.lang.String[] values; + + public SOAPAttribute() { + } + + public SOAPAttribute( + java.lang.String name, + java.lang.String[] values) { + this.name = name; + this.values = values; + } + + + /** + * Gets the name value for this SOAPAttribute. + * + * @return name + */ + public java.lang.String getName() { + return name; + } + + + /** + * Sets the name value for this SOAPAttribute. + * + * @param name + */ + public void setName(java.lang.String name) { + this.name = name; + } + + + /** + * Gets the values value for this SOAPAttribute. + * + * @return values + */ + public java.lang.String[] getValues() { + return values; + } + + + /** + * Sets the values value for this SOAPAttribute. + * + * @param values + */ + public void setValues(java.lang.String[] values) { + this.values = values; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof SOAPAttribute)) return false; + SOAPAttribute other = (SOAPAttribute) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.name==null && other.getName()==null) || + (this.name!=null && + this.name.equals(other.getName()))) && + ((this.values==null && other.getValues()==null) || + (this.values!=null && + java.util.Arrays.equals(this.values, other.getValues()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getName() != null) { + _hashCode += getName().hashCode(); + } + if (getValues() != null) { + for (int i=0; + i<java.lang.reflect.Array.getLength(getValues()); + i++) { + java.lang.Object obj = java.lang.reflect.Array.get(getValues(), i); + if (obj != null && + !obj.getClass().isArray()) { + _hashCode += obj.hashCode(); + } + } + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(SOAPAttribute.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "SOAPAttribute")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("name"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "name")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("values"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "values")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + elemField.setItemQName(new javax.xml.namespace.QName("urn:SecurityServer", "string")); + 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); + } + +} Added: ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPCookieInfo.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPCookieInfo.java?rev=767305&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPCookieInfo.java (added) +++ ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPCookieInfo.java Tue Apr 21 21:32:49 2009 @@ -0,0 +1,175 @@ +/******************************************************************************* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + *******************************************************************************/ +/** + * SOAPCookieInfo.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.atlassian.crowd.integration.soap; + +public class SOAPCookieInfo implements java.io.Serializable { + private java.lang.String domain; + + private java.lang.Boolean secure; + + public SOAPCookieInfo() { + } + + public SOAPCookieInfo( + java.lang.String domain, + java.lang.Boolean secure) { + this.domain = domain; + this.secure = secure; + } + + + /** + * Gets the domain value for this SOAPCookieInfo. + * + * @return domain + */ + public java.lang.String getDomain() { + return domain; + } + + + /** + * Sets the domain value for this SOAPCookieInfo. + * + * @param domain + */ + public void setDomain(java.lang.String domain) { + this.domain = domain; + } + + + /** + * Gets the secure value for this SOAPCookieInfo. + * + * @return secure + */ + public java.lang.Boolean getSecure() { + return secure; + } + + + /** + * Sets the secure value for this SOAPCookieInfo. + * + * @param secure + */ + public void setSecure(java.lang.Boolean secure) { + this.secure = secure; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof SOAPCookieInfo)) return false; + SOAPCookieInfo other = (SOAPCookieInfo) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.domain==null && other.getDomain()==null) || + (this.domain!=null && + this.domain.equals(other.getDomain()))) && + ((this.secure==null && other.getSecure()==null) || + (this.secure!=null && + this.secure.equals(other.getSecure()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getDomain() != null) { + _hashCode += getDomain().hashCode(); + } + if (getSecure() != null) { + _hashCode += getSecure().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(SOAPCookieInfo.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "SOAPCookieInfo")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("domain"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "domain")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("secure"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "secure")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); + 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); + } + +} Added: ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPGroup.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPGroup.java?rev=767305&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPGroup.java (added) +++ ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPGroup.java Tue Apr 21 21:32:49 2009 @@ -0,0 +1,452 @@ +/******************************************************************************* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + *******************************************************************************/ +/** + * SOAPGroup.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.atlassian.crowd.integration.soap; + +public class SOAPGroup implements java.io.Serializable { + private java.lang.Long ID; + + private java.lang.Boolean active; + + private com.atlassian.crowd.integration.soap.SOAPAttribute[] attributes; + + private java.util.Calendar conception; + + private java.lang.String description; + + private java.lang.Long directoryID; + + private java.util.Calendar lastModified; + + private java.lang.String[] members; + + private java.lang.String name; + + public SOAPGroup() { + } + + public SOAPGroup( + java.lang.Long ID, + java.lang.Boolean active, + com.atlassian.crowd.integration.soap.SOAPAttribute[] attributes, + java.util.Calendar conception, + java.lang.String description, + java.lang.Long directoryID, + java.util.Calendar lastModified, + java.lang.String[] members, + java.lang.String name) { + this.ID = ID; + this.active = active; + this.attributes = attributes; + this.conception = conception; + this.description = description; + this.directoryID = directoryID; + this.lastModified = lastModified; + this.members = members; + this.name = name; + } + + + /** + * Gets the ID value for this SOAPGroup. + * + * @return ID + */ + public java.lang.Long getID() { + return ID; + } + + + /** + * Sets the ID value for this SOAPGroup. + * + * @param ID + */ + public void setID(java.lang.Long ID) { + this.ID = ID; + } + + + /** + * Gets the active value for this SOAPGroup. + * + * @return active + */ + public java.lang.Boolean getActive() { + return active; + } + + + /** + * Sets the active value for this SOAPGroup. + * + * @param active + */ + public void setActive(java.lang.Boolean active) { + this.active = active; + } + + + /** + * Gets the attributes value for this SOAPGroup. + * + * @return attributes + */ + public com.atlassian.crowd.integration.soap.SOAPAttribute[] getAttributes() { + return attributes; + } + + + /** + * Sets the attributes value for this SOAPGroup. + * + * @param attributes + */ + public void setAttributes(com.atlassian.crowd.integration.soap.SOAPAttribute[] attributes) { + this.attributes = attributes; + } + + + /** + * Gets the conception value for this SOAPGroup. + * + * @return conception + */ + public java.util.Calendar getConception() { + return conception; + } + + + /** + * Sets the conception value for this SOAPGroup. + * + * @param conception + */ + public void setConception(java.util.Calendar conception) { + this.conception = conception; + } + + + /** + * Gets the description value for this SOAPGroup. + * + * @return description + */ + public java.lang.String getDescription() { + return description; + } + + + /** + * Sets the description value for this SOAPGroup. + * + * @param description + */ + public void setDescription(java.lang.String description) { + this.description = description; + } + + + /** + * Gets the directoryID value for this SOAPGroup. + * + * @return directoryID + */ + public java.lang.Long getDirectoryID() { + return directoryID; + } + + + /** + * Sets the directoryID value for this SOAPGroup. + * + * @param directoryID + */ + public void setDirectoryID(java.lang.Long directoryID) { + this.directoryID = directoryID; + } + + + /** + * Gets the lastModified value for this SOAPGroup. + * + * @return lastModified + */ + public java.util.Calendar getLastModified() { + return lastModified; + } + + + /** + * Sets the lastModified value for this SOAPGroup. + * + * @param lastModified + */ + public void setLastModified(java.util.Calendar lastModified) { + this.lastModified = lastModified; + } + + + /** + * Gets the members value for this SOAPGroup. + * + * @return members + */ + public java.lang.String[] getMembers() { + return members; + } + + + /** + * Sets the members value for this SOAPGroup. + * + * @param members + */ + public void setMembers(java.lang.String[] members) { + this.members = members; + } + + + /** + * Gets the name value for this SOAPGroup. + * + * @return name + */ + public java.lang.String getName() { + return name; + } + + + /** + * Sets the name value for this SOAPGroup. + * + * @param name + */ + public void setName(java.lang.String name) { + this.name = name; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof SOAPGroup)) return false; + SOAPGroup other = (SOAPGroup) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.ID==null && other.getID()==null) || + (this.ID!=null && + this.ID.equals(other.getID()))) && + ((this.active==null && other.getActive()==null) || + (this.active!=null && + this.active.equals(other.getActive()))) && + ((this.attributes==null && other.getAttributes()==null) || + (this.attributes!=null && + java.util.Arrays.equals(this.attributes, other.getAttributes()))) && + ((this.conception==null && other.getConception()==null) || + (this.conception!=null && + this.conception.equals(other.getConception()))) && + ((this.description==null && other.getDescription()==null) || + (this.description!=null && + this.description.equals(other.getDescription()))) && + ((this.directoryID==null && other.getDirectoryID()==null) || + (this.directoryID!=null && + this.directoryID.equals(other.getDirectoryID()))) && + ((this.lastModified==null && other.getLastModified()==null) || + (this.lastModified!=null && + this.lastModified.equals(other.getLastModified()))) && + ((this.members==null && other.getMembers()==null) || + (this.members!=null && + java.util.Arrays.equals(this.members, other.getMembers()))) && + ((this.name==null && other.getName()==null) || + (this.name!=null && + this.name.equals(other.getName()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getID() != null) { + _hashCode += getID().hashCode(); + } + if (getActive() != null) { + _hashCode += getActive().hashCode(); + } + if (getAttributes() != null) { + for (int i=0; + i<java.lang.reflect.Array.getLength(getAttributes()); + i++) { + java.lang.Object obj = java.lang.reflect.Array.get(getAttributes(), i); + if (obj != null && + !obj.getClass().isArray()) { + _hashCode += obj.hashCode(); + } + } + } + if (getConception() != null) { + _hashCode += getConception().hashCode(); + } + if (getDescription() != null) { + _hashCode += getDescription().hashCode(); + } + if (getDirectoryID() != null) { + _hashCode += getDirectoryID().hashCode(); + } + if (getLastModified() != null) { + _hashCode += getLastModified().hashCode(); + } + if (getMembers() != null) { + for (int i=0; + i<java.lang.reflect.Array.getLength(getMembers()); + i++) { + java.lang.Object obj = java.lang.reflect.Array.get(getMembers(), i); + if (obj != null && + !obj.getClass().isArray()) { + _hashCode += obj.hashCode(); + } + } + } + if (getName() != null) { + _hashCode += getName().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(SOAPGroup.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "SOAPGroup")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ID"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "ID")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("active"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "active")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("attributes"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "attributes")); + elemField.setXmlType(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "SOAPAttribute")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + elemField.setItemQName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "SOAPAttribute")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("conception"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "conception")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("description"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "description")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("directoryID"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "directoryID")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("lastModified"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "lastModified")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("members"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "members")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + elemField.setItemQName(new javax.xml.namespace.QName("urn:SecurityServer", "string")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("name"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "name")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + 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); + } + +} Added: ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPNestableGroup.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPNestableGroup.java?rev=767305&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPNestableGroup.java (added) +++ ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPNestableGroup.java Tue Apr 21 21:32:49 2009 @@ -0,0 +1,452 @@ +/******************************************************************************* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + *******************************************************************************/ +/** + * SOAPNestableGroup.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.atlassian.crowd.integration.soap; + +public class SOAPNestableGroup implements java.io.Serializable { + private java.lang.Long ID; + + private java.lang.Boolean active; + + private com.atlassian.crowd.integration.soap.SOAPAttribute[] attributes; + + private java.util.Calendar conception; + + private java.lang.String description; + + private java.lang.Long directoryID; + + private java.lang.String[] groupMembers; + + private java.util.Calendar lastModified; + + private java.lang.String name; + + public SOAPNestableGroup() { + } + + public SOAPNestableGroup( + java.lang.Long ID, + java.lang.Boolean active, + com.atlassian.crowd.integration.soap.SOAPAttribute[] attributes, + java.util.Calendar conception, + java.lang.String description, + java.lang.Long directoryID, + java.lang.String[] groupMembers, + java.util.Calendar lastModified, + java.lang.String name) { + this.ID = ID; + this.active = active; + this.attributes = attributes; + this.conception = conception; + this.description = description; + this.directoryID = directoryID; + this.groupMembers = groupMembers; + this.lastModified = lastModified; + this.name = name; + } + + + /** + * Gets the ID value for this SOAPNestableGroup. + * + * @return ID + */ + public java.lang.Long getID() { + return ID; + } + + + /** + * Sets the ID value for this SOAPNestableGroup. + * + * @param ID + */ + public void setID(java.lang.Long ID) { + this.ID = ID; + } + + + /** + * Gets the active value for this SOAPNestableGroup. + * + * @return active + */ + public java.lang.Boolean getActive() { + return active; + } + + + /** + * Sets the active value for this SOAPNestableGroup. + * + * @param active + */ + public void setActive(java.lang.Boolean active) { + this.active = active; + } + + + /** + * Gets the attributes value for this SOAPNestableGroup. + * + * @return attributes + */ + public com.atlassian.crowd.integration.soap.SOAPAttribute[] getAttributes() { + return attributes; + } + + + /** + * Sets the attributes value for this SOAPNestableGroup. + * + * @param attributes + */ + public void setAttributes(com.atlassian.crowd.integration.soap.SOAPAttribute[] attributes) { + this.attributes = attributes; + } + + + /** + * Gets the conception value for this SOAPNestableGroup. + * + * @return conception + */ + public java.util.Calendar getConception() { + return conception; + } + + + /** + * Sets the conception value for this SOAPNestableGroup. + * + * @param conception + */ + public void setConception(java.util.Calendar conception) { + this.conception = conception; + } + + + /** + * Gets the description value for this SOAPNestableGroup. + * + * @return description + */ + public java.lang.String getDescription() { + return description; + } + + + /** + * Sets the description value for this SOAPNestableGroup. + * + * @param description + */ + public void setDescription(java.lang.String description) { + this.description = description; + } + + + /** + * Gets the directoryID value for this SOAPNestableGroup. + * + * @return directoryID + */ + public java.lang.Long getDirectoryID() { + return directoryID; + } + + + /** + * Sets the directoryID value for this SOAPNestableGroup. + * + * @param directoryID + */ + public void setDirectoryID(java.lang.Long directoryID) { + this.directoryID = directoryID; + } + + + /** + * Gets the groupMembers value for this SOAPNestableGroup. + * + * @return groupMembers + */ + public java.lang.String[] getGroupMembers() { + return groupMembers; + } + + + /** + * Sets the groupMembers value for this SOAPNestableGroup. + * + * @param groupMembers + */ + public void setGroupMembers(java.lang.String[] groupMembers) { + this.groupMembers = groupMembers; + } + + + /** + * Gets the lastModified value for this SOAPNestableGroup. + * + * @return lastModified + */ + public java.util.Calendar getLastModified() { + return lastModified; + } + + + /** + * Sets the lastModified value for this SOAPNestableGroup. + * + * @param lastModified + */ + public void setLastModified(java.util.Calendar lastModified) { + this.lastModified = lastModified; + } + + + /** + * Gets the name value for this SOAPNestableGroup. + * + * @return name + */ + public java.lang.String getName() { + return name; + } + + + /** + * Sets the name value for this SOAPNestableGroup. + * + * @param name + */ + public void setName(java.lang.String name) { + this.name = name; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof SOAPNestableGroup)) return false; + SOAPNestableGroup other = (SOAPNestableGroup) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.ID==null && other.getID()==null) || + (this.ID!=null && + this.ID.equals(other.getID()))) && + ((this.active==null && other.getActive()==null) || + (this.active!=null && + this.active.equals(other.getActive()))) && + ((this.attributes==null && other.getAttributes()==null) || + (this.attributes!=null && + java.util.Arrays.equals(this.attributes, other.getAttributes()))) && + ((this.conception==null && other.getConception()==null) || + (this.conception!=null && + this.conception.equals(other.getConception()))) && + ((this.description==null && other.getDescription()==null) || + (this.description!=null && + this.description.equals(other.getDescription()))) && + ((this.directoryID==null && other.getDirectoryID()==null) || + (this.directoryID!=null && + this.directoryID.equals(other.getDirectoryID()))) && + ((this.groupMembers==null && other.getGroupMembers()==null) || + (this.groupMembers!=null && + java.util.Arrays.equals(this.groupMembers, other.getGroupMembers()))) && + ((this.lastModified==null && other.getLastModified()==null) || + (this.lastModified!=null && + this.lastModified.equals(other.getLastModified()))) && + ((this.name==null && other.getName()==null) || + (this.name!=null && + this.name.equals(other.getName()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getID() != null) { + _hashCode += getID().hashCode(); + } + if (getActive() != null) { + _hashCode += getActive().hashCode(); + } + if (getAttributes() != null) { + for (int i=0; + i<java.lang.reflect.Array.getLength(getAttributes()); + i++) { + java.lang.Object obj = java.lang.reflect.Array.get(getAttributes(), i); + if (obj != null && + !obj.getClass().isArray()) { + _hashCode += obj.hashCode(); + } + } + } + if (getConception() != null) { + _hashCode += getConception().hashCode(); + } + if (getDescription() != null) { + _hashCode += getDescription().hashCode(); + } + if (getDirectoryID() != null) { + _hashCode += getDirectoryID().hashCode(); + } + if (getGroupMembers() != null) { + for (int i=0; + i<java.lang.reflect.Array.getLength(getGroupMembers()); + i++) { + java.lang.Object obj = java.lang.reflect.Array.get(getGroupMembers(), i); + if (obj != null && + !obj.getClass().isArray()) { + _hashCode += obj.hashCode(); + } + } + } + if (getLastModified() != null) { + _hashCode += getLastModified().hashCode(); + } + if (getName() != null) { + _hashCode += getName().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(SOAPNestableGroup.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "SOAPNestableGroup")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ID"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "ID")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("active"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "active")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("attributes"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "attributes")); + elemField.setXmlType(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "SOAPAttribute")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + elemField.setItemQName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "SOAPAttribute")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("conception"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "conception")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("description"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "description")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("directoryID"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "directoryID")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("groupMembers"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "groupMembers")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + elemField.setItemQName(new javax.xml.namespace.QName("urn:SecurityServer", "string")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("lastModified"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "lastModified")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("name"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "name")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + 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); + } + +} Added: ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPPrincipal.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPPrincipal.java?rev=767305&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPPrincipal.java (added) +++ ofbiz/trunk/specialpurpose/crowd/src/com/atlassian/crowd/integration/soap/SOAPPrincipal.java Tue Apr 21 21:32:49 2009 @@ -0,0 +1,406 @@ +/******************************************************************************* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + *******************************************************************************/ +/** + * SOAPPrincipal.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.atlassian.crowd.integration.soap; + +public class SOAPPrincipal implements java.io.Serializable { + private java.lang.Long ID; + + private java.lang.Boolean active; + + private com.atlassian.crowd.integration.soap.SOAPAttribute[] attributes; + + private java.util.Calendar conception; + + private java.lang.String description; + + private java.lang.Long directoryID; + + private java.util.Calendar lastModified; + + private java.lang.String name; + + public SOAPPrincipal() { + } + + public SOAPPrincipal( + java.lang.Long ID, + java.lang.Boolean active, + com.atlassian.crowd.integration.soap.SOAPAttribute[] attributes, + java.util.Calendar conception, + java.lang.String description, + java.lang.Long directoryID, + java.util.Calendar lastModified, + java.lang.String name) { + this.ID = ID; + this.active = active; + this.attributes = attributes; + this.conception = conception; + this.description = description; + this.directoryID = directoryID; + this.lastModified = lastModified; + this.name = name; + } + + + /** + * Gets the ID value for this SOAPPrincipal. + * + * @return ID + */ + public java.lang.Long getID() { + return ID; + } + + + /** + * Sets the ID value for this SOAPPrincipal. + * + * @param ID + */ + public void setID(java.lang.Long ID) { + this.ID = ID; + } + + + /** + * Gets the active value for this SOAPPrincipal. + * + * @return active + */ + public java.lang.Boolean getActive() { + return active; + } + + + /** + * Sets the active value for this SOAPPrincipal. + * + * @param active + */ + public void setActive(java.lang.Boolean active) { + this.active = active; + } + + + /** + * Gets the attributes value for this SOAPPrincipal. + * + * @return attributes + */ + public com.atlassian.crowd.integration.soap.SOAPAttribute[] getAttributes() { + return attributes; + } + + + /** + * Sets the attributes value for this SOAPPrincipal. + * + * @param attributes + */ + public void setAttributes(com.atlassian.crowd.integration.soap.SOAPAttribute[] attributes) { + this.attributes = attributes; + } + + + /** + * Gets the conception value for this SOAPPrincipal. + * + * @return conception + */ + public java.util.Calendar getConception() { + return conception; + } + + + /** + * Sets the conception value for this SOAPPrincipal. + * + * @param conception + */ + public void setConception(java.util.Calendar conception) { + this.conception = conception; + } + + + /** + * Gets the description value for this SOAPPrincipal. + * + * @return description + */ + public java.lang.String getDescription() { + return description; + } + + + /** + * Sets the description value for this SOAPPrincipal. + * + * @param description + */ + public void setDescription(java.lang.String description) { + this.description = description; + } + + + /** + * Gets the directoryID value for this SOAPPrincipal. + * + * @return directoryID + */ + public java.lang.Long getDirectoryID() { + return directoryID; + } + + + /** + * Sets the directoryID value for this SOAPPrincipal. + * + * @param directoryID + */ + public void setDirectoryID(java.lang.Long directoryID) { + this.directoryID = directoryID; + } + + + /** + * Gets the lastModified value for this SOAPPrincipal. + * + * @return lastModified + */ + public java.util.Calendar getLastModified() { + return lastModified; + } + + + /** + * Sets the lastModified value for this SOAPPrincipal. + * + * @param lastModified + */ + public void setLastModified(java.util.Calendar lastModified) { + this.lastModified = lastModified; + } + + + /** + * Gets the name value for this SOAPPrincipal. + * + * @return name + */ + public java.lang.String getName() { + return name; + } + + + /** + * Sets the name value for this SOAPPrincipal. + * + * @param name + */ + public void setName(java.lang.String name) { + this.name = name; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof SOAPPrincipal)) return false; + SOAPPrincipal other = (SOAPPrincipal) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.ID==null && other.getID()==null) || + (this.ID!=null && + this.ID.equals(other.getID()))) && + ((this.active==null && other.getActive()==null) || + (this.active!=null && + this.active.equals(other.getActive()))) && + ((this.attributes==null && other.getAttributes()==null) || + (this.attributes!=null && + java.util.Arrays.equals(this.attributes, other.getAttributes()))) && + ((this.conception==null && other.getConception()==null) || + (this.conception!=null && + this.conception.equals(other.getConception()))) && + ((this.description==null && other.getDescription()==null) || + (this.description!=null && + this.description.equals(other.getDescription()))) && + ((this.directoryID==null && other.getDirectoryID()==null) || + (this.directoryID!=null && + this.directoryID.equals(other.getDirectoryID()))) && + ((this.lastModified==null && other.getLastModified()==null) || + (this.lastModified!=null && + this.lastModified.equals(other.getLastModified()))) && + ((this.name==null && other.getName()==null) || + (this.name!=null && + this.name.equals(other.getName()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getID() != null) { + _hashCode += getID().hashCode(); + } + if (getActive() != null) { + _hashCode += getActive().hashCode(); + } + if (getAttributes() != null) { + for (int i=0; + i<java.lang.reflect.Array.getLength(getAttributes()); + i++) { + java.lang.Object obj = java.lang.reflect.Array.get(getAttributes(), i); + if (obj != null && + !obj.getClass().isArray()) { + _hashCode += obj.hashCode(); + } + } + } + if (getConception() != null) { + _hashCode += getConception().hashCode(); + } + if (getDescription() != null) { + _hashCode += getDescription().hashCode(); + } + if (getDirectoryID() != null) { + _hashCode += getDirectoryID().hashCode(); + } + if (getLastModified() != null) { + _hashCode += getLastModified().hashCode(); + } + if (getName() != null) { + _hashCode += getName().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(SOAPPrincipal.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "SOAPPrincipal")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ID"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "ID")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("active"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "active")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("attributes"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "attributes")); + elemField.setXmlType(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "SOAPAttribute")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + elemField.setItemQName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "SOAPAttribute")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("conception"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "conception")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("description"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "description")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("directoryID"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "directoryID")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("lastModified"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "lastModified")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("name"); + elemField.setXmlName(new javax.xml.namespace.QName("http://soap.integration.crowd.atlassian.com", "name")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + 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); + } + +} |
Free forum by Nabble | Edit this page |