You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by dl...@apache.org on 2006/09/13 14:34:54 UTC
svn commit: r442961 [6/15] - in
/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1: bind/ intf/
types/ wsdl/
Added: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetPortletProperties.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetPortletProperties.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetPortletProperties.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetPortletProperties.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,261 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+
+/**
+ * GetPortletProperties.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package oasis.names.tc.wsrp.v1.types;
+
+public class GetPortletProperties implements java.io.Serializable {
+ private oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext;
+
+ private oasis.names.tc.wsrp.v1.types.PortletContext portletContext;
+
+ private oasis.names.tc.wsrp.v1.types.UserContext userContext;
+
+ private java.lang.String[] names;
+
+ public GetPortletProperties() {
+ }
+
+ public GetPortletProperties(
+ oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext,
+ oasis.names.tc.wsrp.v1.types.PortletContext portletContext,
+ oasis.names.tc.wsrp.v1.types.UserContext userContext,
+ java.lang.String[] names) {
+ this.registrationContext = registrationContext;
+ this.portletContext = portletContext;
+ this.userContext = userContext;
+ this.names = names;
+ }
+
+
+ /**
+ * Gets the registrationContext value for this GetPortletProperties.
+ *
+ * @return registrationContext
+ */
+ public oasis.names.tc.wsrp.v1.types.RegistrationContext getRegistrationContext() {
+ return registrationContext;
+ }
+
+
+ /**
+ * Sets the registrationContext value for this GetPortletProperties.
+ *
+ * @param registrationContext
+ */
+ public void setRegistrationContext(oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext) {
+ this.registrationContext = registrationContext;
+ }
+
+
+ /**
+ * Gets the portletContext value for this GetPortletProperties.
+ *
+ * @return portletContext
+ */
+ public oasis.names.tc.wsrp.v1.types.PortletContext getPortletContext() {
+ return portletContext;
+ }
+
+
+ /**
+ * Sets the portletContext value for this GetPortletProperties.
+ *
+ * @param portletContext
+ */
+ public void setPortletContext(oasis.names.tc.wsrp.v1.types.PortletContext portletContext) {
+ this.portletContext = portletContext;
+ }
+
+
+ /**
+ * Gets the userContext value for this GetPortletProperties.
+ *
+ * @return userContext
+ */
+ public oasis.names.tc.wsrp.v1.types.UserContext getUserContext() {
+ return userContext;
+ }
+
+
+ /**
+ * Sets the userContext value for this GetPortletProperties.
+ *
+ * @param userContext
+ */
+ public void setUserContext(oasis.names.tc.wsrp.v1.types.UserContext userContext) {
+ this.userContext = userContext;
+ }
+
+
+ /**
+ * Gets the names value for this GetPortletProperties.
+ *
+ * @return names
+ */
+ public java.lang.String[] getNames() {
+ return names;
+ }
+
+
+ /**
+ * Sets the names value for this GetPortletProperties.
+ *
+ * @param names
+ */
+ public void setNames(java.lang.String[] names) {
+ this.names = names;
+ }
+
+ public java.lang.String getNames(int i) {
+ return this.names[i];
+ }
+
+ public void setNames(int i, java.lang.String _value) {
+ this.names[i] = _value;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof GetPortletProperties)) return false;
+ GetPortletProperties other = (GetPortletProperties) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.registrationContext==null && other.getRegistrationContext()==null) ||
+ (this.registrationContext!=null &&
+ this.registrationContext.equals(other.getRegistrationContext()))) &&
+ ((this.portletContext==null && other.getPortletContext()==null) ||
+ (this.portletContext!=null &&
+ this.portletContext.equals(other.getPortletContext()))) &&
+ ((this.userContext==null && other.getUserContext()==null) ||
+ (this.userContext!=null &&
+ this.userContext.equals(other.getUserContext()))) &&
+ ((this.names==null && other.getNames()==null) ||
+ (this.names!=null &&
+ java.util.Arrays.equals(this.names, other.getNames())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getRegistrationContext() != null) {
+ _hashCode += getRegistrationContext().hashCode();
+ }
+ if (getPortletContext() != null) {
+ _hashCode += getPortletContext().hashCode();
+ }
+ if (getUserContext() != null) {
+ _hashCode += getUserContext().hashCode();
+ }
+ if (getNames() != null) {
+ for (int i=0;
+ i<java.lang.reflect.Array.getLength(getNames());
+ i++) {
+ java.lang.Object obj = java.lang.reflect.Array.get(getNames(), 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(GetPortletProperties.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", ">getPortletProperties"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("registrationContext");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "registrationContext"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "RegistrationContext"));
+ elemField.setNillable(true);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("portletContext");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "portletContext"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "PortletContext"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("userContext");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "userContext"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "UserContext"));
+ elemField.setNillable(true);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("names");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "names"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setNillable(true);
+ elemField.setMaxOccursUnbounded(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: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetPortletPropertyDescription.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetPortletPropertyDescription.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetPortletPropertyDescription.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetPortletPropertyDescription.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,262 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+
+/**
+ * GetPortletPropertyDescription.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package oasis.names.tc.wsrp.v1.types;
+
+public class GetPortletPropertyDescription implements java.io.Serializable {
+ private oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext;
+
+ private oasis.names.tc.wsrp.v1.types.PortletContext portletContext;
+
+ private oasis.names.tc.wsrp.v1.types.UserContext userContext;
+
+ private java.lang.String[] desiredLocales;
+
+ public GetPortletPropertyDescription() {
+ }
+
+ public GetPortletPropertyDescription(
+ oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext,
+ oasis.names.tc.wsrp.v1.types.PortletContext portletContext,
+ oasis.names.tc.wsrp.v1.types.UserContext userContext,
+ java.lang.String[] desiredLocales) {
+ this.registrationContext = registrationContext;
+ this.portletContext = portletContext;
+ this.userContext = userContext;
+ this.desiredLocales = desiredLocales;
+ }
+
+
+ /**
+ * Gets the registrationContext value for this GetPortletPropertyDescription.
+ *
+ * @return registrationContext
+ */
+ public oasis.names.tc.wsrp.v1.types.RegistrationContext getRegistrationContext() {
+ return registrationContext;
+ }
+
+
+ /**
+ * Sets the registrationContext value for this GetPortletPropertyDescription.
+ *
+ * @param registrationContext
+ */
+ public void setRegistrationContext(oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext) {
+ this.registrationContext = registrationContext;
+ }
+
+
+ /**
+ * Gets the portletContext value for this GetPortletPropertyDescription.
+ *
+ * @return portletContext
+ */
+ public oasis.names.tc.wsrp.v1.types.PortletContext getPortletContext() {
+ return portletContext;
+ }
+
+
+ /**
+ * Sets the portletContext value for this GetPortletPropertyDescription.
+ *
+ * @param portletContext
+ */
+ public void setPortletContext(oasis.names.tc.wsrp.v1.types.PortletContext portletContext) {
+ this.portletContext = portletContext;
+ }
+
+
+ /**
+ * Gets the userContext value for this GetPortletPropertyDescription.
+ *
+ * @return userContext
+ */
+ public oasis.names.tc.wsrp.v1.types.UserContext getUserContext() {
+ return userContext;
+ }
+
+
+ /**
+ * Sets the userContext value for this GetPortletPropertyDescription.
+ *
+ * @param userContext
+ */
+ public void setUserContext(oasis.names.tc.wsrp.v1.types.UserContext userContext) {
+ this.userContext = userContext;
+ }
+
+
+ /**
+ * Gets the desiredLocales value for this GetPortletPropertyDescription.
+ *
+ * @return desiredLocales
+ */
+ public java.lang.String[] getDesiredLocales() {
+ return desiredLocales;
+ }
+
+
+ /**
+ * Sets the desiredLocales value for this GetPortletPropertyDescription.
+ *
+ * @param desiredLocales
+ */
+ public void setDesiredLocales(java.lang.String[] desiredLocales) {
+ this.desiredLocales = desiredLocales;
+ }
+
+ public java.lang.String getDesiredLocales(int i) {
+ return this.desiredLocales[i];
+ }
+
+ public void setDesiredLocales(int i, java.lang.String _value) {
+ this.desiredLocales[i] = _value;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof GetPortletPropertyDescription)) return false;
+ GetPortletPropertyDescription other = (GetPortletPropertyDescription) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.registrationContext==null && other.getRegistrationContext()==null) ||
+ (this.registrationContext!=null &&
+ this.registrationContext.equals(other.getRegistrationContext()))) &&
+ ((this.portletContext==null && other.getPortletContext()==null) ||
+ (this.portletContext!=null &&
+ this.portletContext.equals(other.getPortletContext()))) &&
+ ((this.userContext==null && other.getUserContext()==null) ||
+ (this.userContext!=null &&
+ this.userContext.equals(other.getUserContext()))) &&
+ ((this.desiredLocales==null && other.getDesiredLocales()==null) ||
+ (this.desiredLocales!=null &&
+ java.util.Arrays.equals(this.desiredLocales, other.getDesiredLocales())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getRegistrationContext() != null) {
+ _hashCode += getRegistrationContext().hashCode();
+ }
+ if (getPortletContext() != null) {
+ _hashCode += getPortletContext().hashCode();
+ }
+ if (getUserContext() != null) {
+ _hashCode += getUserContext().hashCode();
+ }
+ if (getDesiredLocales() != null) {
+ for (int i=0;
+ i<java.lang.reflect.Array.getLength(getDesiredLocales());
+ i++) {
+ java.lang.Object obj = java.lang.reflect.Array.get(getDesiredLocales(), 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(GetPortletPropertyDescription.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", ">getPortletPropertyDescription"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("registrationContext");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "registrationContext"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "RegistrationContext"));
+ elemField.setNillable(true);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("portletContext");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "portletContext"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "PortletContext"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("userContext");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "userContext"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "UserContext"));
+ elemField.setNillable(true);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("desiredLocales");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "desiredLocales"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ elemField.setMaxOccursUnbounded(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: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetServiceDescription.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetServiceDescription.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetServiceDescription.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetServiceDescription.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,190 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+
+/**
+ * GetServiceDescription.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package oasis.names.tc.wsrp.v1.types;
+
+public class GetServiceDescription implements java.io.Serializable {
+ private oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext;
+
+ private java.lang.String[] desiredLocales;
+
+ public GetServiceDescription() {
+ }
+
+ public GetServiceDescription(
+ oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext,
+ java.lang.String[] desiredLocales) {
+ this.registrationContext = registrationContext;
+ this.desiredLocales = desiredLocales;
+ }
+
+
+ /**
+ * Gets the registrationContext value for this GetServiceDescription.
+ *
+ * @return registrationContext
+ */
+ public oasis.names.tc.wsrp.v1.types.RegistrationContext getRegistrationContext() {
+ return registrationContext;
+ }
+
+
+ /**
+ * Sets the registrationContext value for this GetServiceDescription.
+ *
+ * @param registrationContext
+ */
+ public void setRegistrationContext(oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext) {
+ this.registrationContext = registrationContext;
+ }
+
+
+ /**
+ * Gets the desiredLocales value for this GetServiceDescription.
+ *
+ * @return desiredLocales
+ */
+ public java.lang.String[] getDesiredLocales() {
+ return desiredLocales;
+ }
+
+
+ /**
+ * Sets the desiredLocales value for this GetServiceDescription.
+ *
+ * @param desiredLocales
+ */
+ public void setDesiredLocales(java.lang.String[] desiredLocales) {
+ this.desiredLocales = desiredLocales;
+ }
+
+ public java.lang.String getDesiredLocales(int i) {
+ return this.desiredLocales[i];
+ }
+
+ public void setDesiredLocales(int i, java.lang.String _value) {
+ this.desiredLocales[i] = _value;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof GetServiceDescription)) return false;
+ GetServiceDescription other = (GetServiceDescription) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.registrationContext==null && other.getRegistrationContext()==null) ||
+ (this.registrationContext!=null &&
+ this.registrationContext.equals(other.getRegistrationContext()))) &&
+ ((this.desiredLocales==null && other.getDesiredLocales()==null) ||
+ (this.desiredLocales!=null &&
+ java.util.Arrays.equals(this.desiredLocales, other.getDesiredLocales())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getRegistrationContext() != null) {
+ _hashCode += getRegistrationContext().hashCode();
+ }
+ if (getDesiredLocales() != null) {
+ for (int i=0;
+ i<java.lang.reflect.Array.getLength(getDesiredLocales());
+ i++) {
+ java.lang.Object obj = java.lang.reflect.Array.get(getDesiredLocales(), 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(GetServiceDescription.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", ">getServiceDescription"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("registrationContext");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "registrationContext"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "RegistrationContext"));
+ elemField.setNillable(true);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("desiredLocales");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "desiredLocales"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ elemField.setMaxOccursUnbounded(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: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InconsistentParametersFault.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InconsistentParametersFault.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InconsistentParametersFault.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InconsistentParametersFault.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,104 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+
+/**
+ * InconsistentParametersFault.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package oasis.names.tc.wsrp.v1.types;
+
+public class InconsistentParametersFault extends oasis.names.tc.wsrp.v1.types.Fault implements java.io.Serializable {
+ public InconsistentParametersFault() {
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof InconsistentParametersFault)) return false;
+ InconsistentParametersFault other = (InconsistentParametersFault) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = super.equals(obj);
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = super.hashCode();
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(InconsistentParametersFault.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "InconsistentParametersFault"));
+ }
+
+ /**
+ * 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: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InitCookie.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InitCookie.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InitCookie.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InitCookie.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,136 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+
+/**
+ * InitCookie.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package oasis.names.tc.wsrp.v1.types;
+
+public class InitCookie implements java.io.Serializable {
+ private oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext;
+
+ public InitCookie() {
+ }
+
+ public InitCookie(
+ oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext) {
+ this.registrationContext = registrationContext;
+ }
+
+
+ /**
+ * Gets the registrationContext value for this InitCookie.
+ *
+ * @return registrationContext
+ */
+ public oasis.names.tc.wsrp.v1.types.RegistrationContext getRegistrationContext() {
+ return registrationContext;
+ }
+
+
+ /**
+ * Sets the registrationContext value for this InitCookie.
+ *
+ * @param registrationContext
+ */
+ public void setRegistrationContext(oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext) {
+ this.registrationContext = registrationContext;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof InitCookie)) return false;
+ InitCookie other = (InitCookie) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.registrationContext==null && other.getRegistrationContext()==null) ||
+ (this.registrationContext!=null &&
+ this.registrationContext.equals(other.getRegistrationContext())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getRegistrationContext() != null) {
+ _hashCode += getRegistrationContext().hashCode();
+ }
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(InitCookie.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", ">initCookie"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("registrationContext");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "registrationContext"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "RegistrationContext"));
+ 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: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InteractionParams.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InteractionParams.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InteractionParams.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InteractionParams.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,335 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+
+/**
+ * InteractionParams.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package oasis.names.tc.wsrp.v1.types;
+
+public class InteractionParams implements java.io.Serializable {
+ private oasis.names.tc.wsrp.v1.types.StateChange portletStateChange;
+
+ private java.lang.String interactionState;
+
+ private oasis.names.tc.wsrp.v1.types.NamedString[] formParameters;
+
+ private oasis.names.tc.wsrp.v1.types.UploadContext[] uploadContexts;
+
+ private oasis.names.tc.wsrp.v1.types.Extension[] extensions;
+
+ public InteractionParams() {
+ }
+
+ public InteractionParams(
+ oasis.names.tc.wsrp.v1.types.StateChange portletStateChange,
+ java.lang.String interactionState,
+ oasis.names.tc.wsrp.v1.types.NamedString[] formParameters,
+ oasis.names.tc.wsrp.v1.types.UploadContext[] uploadContexts,
+ oasis.names.tc.wsrp.v1.types.Extension[] extensions) {
+ this.portletStateChange = portletStateChange;
+ this.interactionState = interactionState;
+ this.formParameters = formParameters;
+ this.uploadContexts = uploadContexts;
+ this.extensions = extensions;
+ }
+
+
+ /**
+ * Gets the portletStateChange value for this InteractionParams.
+ *
+ * @return portletStateChange
+ */
+ public oasis.names.tc.wsrp.v1.types.StateChange getPortletStateChange() {
+ return portletStateChange;
+ }
+
+
+ /**
+ * Sets the portletStateChange value for this InteractionParams.
+ *
+ * @param portletStateChange
+ */
+ public void setPortletStateChange(oasis.names.tc.wsrp.v1.types.StateChange portletStateChange) {
+ this.portletStateChange = portletStateChange;
+ }
+
+
+ /**
+ * Gets the interactionState value for this InteractionParams.
+ *
+ * @return interactionState
+ */
+ public java.lang.String getInteractionState() {
+ return interactionState;
+ }
+
+
+ /**
+ * Sets the interactionState value for this InteractionParams.
+ *
+ * @param interactionState
+ */
+ public void setInteractionState(java.lang.String interactionState) {
+ this.interactionState = interactionState;
+ }
+
+
+ /**
+ * Gets the formParameters value for this InteractionParams.
+ *
+ * @return formParameters
+ */
+ public oasis.names.tc.wsrp.v1.types.NamedString[] getFormParameters() {
+ return formParameters;
+ }
+
+
+ /**
+ * Sets the formParameters value for this InteractionParams.
+ *
+ * @param formParameters
+ */
+ public void setFormParameters(oasis.names.tc.wsrp.v1.types.NamedString[] formParameters) {
+ this.formParameters = formParameters;
+ }
+
+ public oasis.names.tc.wsrp.v1.types.NamedString getFormParameters(int i) {
+ return this.formParameters[i];
+ }
+
+ public void setFormParameters(int i, oasis.names.tc.wsrp.v1.types.NamedString _value) {
+ this.formParameters[i] = _value;
+ }
+
+
+ /**
+ * Gets the uploadContexts value for this InteractionParams.
+ *
+ * @return uploadContexts
+ */
+ public oasis.names.tc.wsrp.v1.types.UploadContext[] getUploadContexts() {
+ return uploadContexts;
+ }
+
+
+ /**
+ * Sets the uploadContexts value for this InteractionParams.
+ *
+ * @param uploadContexts
+ */
+ public void setUploadContexts(oasis.names.tc.wsrp.v1.types.UploadContext[] uploadContexts) {
+ this.uploadContexts = uploadContexts;
+ }
+
+ public oasis.names.tc.wsrp.v1.types.UploadContext getUploadContexts(int i) {
+ return this.uploadContexts[i];
+ }
+
+ public void setUploadContexts(int i, oasis.names.tc.wsrp.v1.types.UploadContext _value) {
+ this.uploadContexts[i] = _value;
+ }
+
+
+ /**
+ * Gets the extensions value for this InteractionParams.
+ *
+ * @return extensions
+ */
+ public oasis.names.tc.wsrp.v1.types.Extension[] getExtensions() {
+ return extensions;
+ }
+
+
+ /**
+ * Sets the extensions value for this InteractionParams.
+ *
+ * @param extensions
+ */
+ public void setExtensions(oasis.names.tc.wsrp.v1.types.Extension[] extensions) {
+ this.extensions = extensions;
+ }
+
+ public oasis.names.tc.wsrp.v1.types.Extension getExtensions(int i) {
+ return this.extensions[i];
+ }
+
+ public void setExtensions(int i, oasis.names.tc.wsrp.v1.types.Extension _value) {
+ this.extensions[i] = _value;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof InteractionParams)) return false;
+ InteractionParams other = (InteractionParams) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.portletStateChange==null && other.getPortletStateChange()==null) ||
+ (this.portletStateChange!=null &&
+ this.portletStateChange.equals(other.getPortletStateChange()))) &&
+ ((this.interactionState==null && other.getInteractionState()==null) ||
+ (this.interactionState!=null &&
+ this.interactionState.equals(other.getInteractionState()))) &&
+ ((this.formParameters==null && other.getFormParameters()==null) ||
+ (this.formParameters!=null &&
+ java.util.Arrays.equals(this.formParameters, other.getFormParameters()))) &&
+ ((this.uploadContexts==null && other.getUploadContexts()==null) ||
+ (this.uploadContexts!=null &&
+ java.util.Arrays.equals(this.uploadContexts, other.getUploadContexts()))) &&
+ ((this.extensions==null && other.getExtensions()==null) ||
+ (this.extensions!=null &&
+ java.util.Arrays.equals(this.extensions, other.getExtensions())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getPortletStateChange() != null) {
+ _hashCode += getPortletStateChange().hashCode();
+ }
+ if (getInteractionState() != null) {
+ _hashCode += getInteractionState().hashCode();
+ }
+ if (getFormParameters() != null) {
+ for (int i=0;
+ i<java.lang.reflect.Array.getLength(getFormParameters());
+ i++) {
+ java.lang.Object obj = java.lang.reflect.Array.get(getFormParameters(), i);
+ if (obj != null &&
+ !obj.getClass().isArray()) {
+ _hashCode += obj.hashCode();
+ }
+ }
+ }
+ if (getUploadContexts() != null) {
+ for (int i=0;
+ i<java.lang.reflect.Array.getLength(getUploadContexts());
+ i++) {
+ java.lang.Object obj = java.lang.reflect.Array.get(getUploadContexts(), i);
+ if (obj != null &&
+ !obj.getClass().isArray()) {
+ _hashCode += obj.hashCode();
+ }
+ }
+ }
+ if (getExtensions() != null) {
+ for (int i=0;
+ i<java.lang.reflect.Array.getLength(getExtensions());
+ i++) {
+ java.lang.Object obj = java.lang.reflect.Array.get(getExtensions(), 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(InteractionParams.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "InteractionParams"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("portletStateChange");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "portletStateChange"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "StateChange"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("interactionState");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "interactionState"));
+ 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("formParameters");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "formParameters"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "NamedString"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ elemField.setMaxOccursUnbounded(true);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("uploadContexts");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "uploadContexts"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "UploadContext"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ elemField.setMaxOccursUnbounded(true);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("extensions");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "extensions"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "Extension"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ elemField.setMaxOccursUnbounded(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: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidCookieFault.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidCookieFault.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidCookieFault.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidCookieFault.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,104 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+
+/**
+ * InvalidCookieFault.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package oasis.names.tc.wsrp.v1.types;
+
+public class InvalidCookieFault extends oasis.names.tc.wsrp.v1.types.Fault implements java.io.Serializable {
+ public InvalidCookieFault() {
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof InvalidCookieFault)) return false;
+ InvalidCookieFault other = (InvalidCookieFault) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = super.equals(obj);
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = super.hashCode();
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(InvalidCookieFault.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "InvalidCookieFault"));
+ }
+
+ /**
+ * 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: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidHandleFault.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidHandleFault.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidHandleFault.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidHandleFault.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,104 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+
+/**
+ * InvalidHandleFault.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package oasis.names.tc.wsrp.v1.types;
+
+public class InvalidHandleFault extends oasis.names.tc.wsrp.v1.types.Fault implements java.io.Serializable {
+ public InvalidHandleFault() {
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof InvalidHandleFault)) return false;
+ InvalidHandleFault other = (InvalidHandleFault) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = super.equals(obj);
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = super.hashCode();
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(InvalidHandleFault.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "InvalidHandleFault"));
+ }
+
+ /**
+ * 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: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidRegistrationFault.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidRegistrationFault.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidRegistrationFault.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidRegistrationFault.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,104 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+
+/**
+ * InvalidRegistrationFault.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package oasis.names.tc.wsrp.v1.types;
+
+public class InvalidRegistrationFault extends oasis.names.tc.wsrp.v1.types.Fault implements java.io.Serializable {
+ public InvalidRegistrationFault() {
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof InvalidRegistrationFault)) return false;
+ InvalidRegistrationFault other = (InvalidRegistrationFault) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = super.equals(obj);
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = super.hashCode();
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(InvalidRegistrationFault.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "InvalidRegistrationFault"));
+ }
+
+ /**
+ * 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: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidSessionFault.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidSessionFault.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidSessionFault.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidSessionFault.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,104 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+
+/**
+ * InvalidSessionFault.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package oasis.names.tc.wsrp.v1.types;
+
+public class InvalidSessionFault extends oasis.names.tc.wsrp.v1.types.Fault implements java.io.Serializable {
+ public InvalidSessionFault() {
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof InvalidSessionFault)) return false;
+ InvalidSessionFault other = (InvalidSessionFault) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = super.equals(obj);
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = super.hashCode();
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(InvalidSessionFault.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "InvalidSessionFault"));
+ }
+
+ /**
+ * 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: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidUserCategoryFault.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidUserCategoryFault.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidUserCategoryFault.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/InvalidUserCategoryFault.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,104 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+
+/**
+ * InvalidUserCategoryFault.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package oasis.names.tc.wsrp.v1.types;
+
+public class InvalidUserCategoryFault extends oasis.names.tc.wsrp.v1.types.Fault implements java.io.Serializable {
+ public InvalidUserCategoryFault() {
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof InvalidUserCategoryFault)) return false;
+ InvalidUserCategoryFault other = (InvalidUserCategoryFault) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = super.equals(obj);
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = super.hashCode();
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(InvalidUserCategoryFault.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "InvalidUserCategoryFault"));
+ }
+
+ /**
+ * 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: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/ItemDescription.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/ItemDescription.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/ItemDescription.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/ItemDescription.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,225 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+
+/**
+ * ItemDescription.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package oasis.names.tc.wsrp.v1.types;
+
+public class ItemDescription implements java.io.Serializable {
+ private oasis.names.tc.wsrp.v1.types.LocalizedString description;
+
+ private oasis.names.tc.wsrp.v1.types.Extension[] extensions;
+
+ private java.lang.String itemName; // attribute
+
+ public ItemDescription() {
+ }
+
+ public ItemDescription(
+ oasis.names.tc.wsrp.v1.types.LocalizedString description,
+ oasis.names.tc.wsrp.v1.types.Extension[] extensions,
+ java.lang.String itemName) {
+ this.description = description;
+ this.extensions = extensions;
+ this.itemName = itemName;
+ }
+
+
+ /**
+ * Gets the description value for this ItemDescription.
+ *
+ * @return description
+ */
+ public oasis.names.tc.wsrp.v1.types.LocalizedString getDescription() {
+ return description;
+ }
+
+
+ /**
+ * Sets the description value for this ItemDescription.
+ *
+ * @param description
+ */
+ public void setDescription(oasis.names.tc.wsrp.v1.types.LocalizedString description) {
+ this.description = description;
+ }
+
+
+ /**
+ * Gets the extensions value for this ItemDescription.
+ *
+ * @return extensions
+ */
+ public oasis.names.tc.wsrp.v1.types.Extension[] getExtensions() {
+ return extensions;
+ }
+
+
+ /**
+ * Sets the extensions value for this ItemDescription.
+ *
+ * @param extensions
+ */
+ public void setExtensions(oasis.names.tc.wsrp.v1.types.Extension[] extensions) {
+ this.extensions = extensions;
+ }
+
+ public oasis.names.tc.wsrp.v1.types.Extension getExtensions(int i) {
+ return this.extensions[i];
+ }
+
+ public void setExtensions(int i, oasis.names.tc.wsrp.v1.types.Extension _value) {
+ this.extensions[i] = _value;
+ }
+
+
+ /**
+ * Gets the itemName value for this ItemDescription.
+ *
+ * @return itemName
+ */
+ public java.lang.String getItemName() {
+ return itemName;
+ }
+
+
+ /**
+ * Sets the itemName value for this ItemDescription.
+ *
+ * @param itemName
+ */
+ public void setItemName(java.lang.String itemName) {
+ this.itemName = itemName;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof ItemDescription)) return false;
+ ItemDescription other = (ItemDescription) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.description==null && other.getDescription()==null) ||
+ (this.description!=null &&
+ this.description.equals(other.getDescription()))) &&
+ ((this.extensions==null && other.getExtensions()==null) ||
+ (this.extensions!=null &&
+ java.util.Arrays.equals(this.extensions, other.getExtensions()))) &&
+ ((this.itemName==null && other.getItemName()==null) ||
+ (this.itemName!=null &&
+ this.itemName.equals(other.getItemName())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getDescription() != null) {
+ _hashCode += getDescription().hashCode();
+ }
+ if (getExtensions() != null) {
+ for (int i=0;
+ i<java.lang.reflect.Array.getLength(getExtensions());
+ i++) {
+ java.lang.Object obj = java.lang.reflect.Array.get(getExtensions(), i);
+ if (obj != null &&
+ !obj.getClass().isArray()) {
+ _hashCode += obj.hashCode();
+ }
+ }
+ }
+ if (getItemName() != null) {
+ _hashCode += getItemName().hashCode();
+ }
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(ItemDescription.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "ItemDescription"));
+ org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
+ attrField.setFieldName("itemName");
+ attrField.setXmlName(new javax.xml.namespace.QName("", "itemName"));
+ attrField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ typeDesc.addFieldDesc(attrField);
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("description");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "description"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "LocalizedString"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("extensions");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "extensions"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "Extension"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ elemField.setMaxOccursUnbounded(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: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/LocalizedString.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/LocalizedString.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/LocalizedString.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/LocalizedString.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,206 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+
+/**
+ * LocalizedString.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package oasis.names.tc.wsrp.v1.types;
+
+public class LocalizedString implements java.io.Serializable {
+ private java.lang.String value;
+
+ private java.lang.String lang; // attribute
+
+ private java.lang.String resourceName; // attribute
+
+ public LocalizedString() {
+ }
+
+ public LocalizedString(
+ java.lang.String value,
+ java.lang.String lang,
+ java.lang.String resourceName) {
+ this.value = value;
+ this.lang = lang;
+ this.resourceName = resourceName;
+ }
+
+
+ /**
+ * Gets the value value for this LocalizedString.
+ *
+ * @return value
+ */
+ public java.lang.String getValue() {
+ return value;
+ }
+
+
+ /**
+ * Sets the value value for this LocalizedString.
+ *
+ * @param value
+ */
+ public void setValue(java.lang.String value) {
+ this.value = value;
+ }
+
+
+ /**
+ * Gets the lang value for this LocalizedString.
+ *
+ * @return lang
+ */
+ public java.lang.String getLang() {
+ return lang;
+ }
+
+
+ /**
+ * Sets the lang value for this LocalizedString.
+ *
+ * @param lang
+ */
+ public void setLang(java.lang.String lang) {
+ this.lang = lang;
+ }
+
+
+ /**
+ * Gets the resourceName value for this LocalizedString.
+ *
+ * @return resourceName
+ */
+ public java.lang.String getResourceName() {
+ return resourceName;
+ }
+
+
+ /**
+ * Sets the resourceName value for this LocalizedString.
+ *
+ * @param resourceName
+ */
+ public void setResourceName(java.lang.String resourceName) {
+ this.resourceName = resourceName;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof LocalizedString)) return false;
+ LocalizedString other = (LocalizedString) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.value==null && other.getValue()==null) ||
+ (this.value!=null &&
+ this.value.equals(other.getValue()))) &&
+ ((this.lang==null && other.getLang()==null) ||
+ (this.lang!=null &&
+ this.lang.equals(other.getLang()))) &&
+ ((this.resourceName==null && other.getResourceName()==null) ||
+ (this.resourceName!=null &&
+ this.resourceName.equals(other.getResourceName())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getValue() != null) {
+ _hashCode += getValue().hashCode();
+ }
+ if (getLang() != null) {
+ _hashCode += getLang().hashCode();
+ }
+ if (getResourceName() != null) {
+ _hashCode += getResourceName().hashCode();
+ }
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(LocalizedString.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "LocalizedString"));
+ org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
+ attrField.setFieldName("lang");
+ attrField.setXmlName(new javax.xml.namespace.QName("", "lang"));
+ attrField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ typeDesc.addFieldDesc(attrField);
+ attrField = new org.apache.axis.description.AttributeDesc();
+ attrField.setFieldName("resourceName");
+ attrField.setXmlName(new javax.xml.namespace.QName("", "resourceName"));
+ attrField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ typeDesc.addFieldDesc(attrField);
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("value");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "value"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ 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);
+ }
+
+}