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 [5/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/ClonePortlet.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/ClonePortlet.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/ClonePortlet.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/ClonePortlet.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,208 @@
+/*
+ * 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.
+ */
+
+
+/**
+ * ClonePortlet.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 ClonePortlet 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;
+
+ public ClonePortlet() {
+ }
+
+ public ClonePortlet(
+ oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext,
+ oasis.names.tc.wsrp.v1.types.PortletContext portletContext,
+ oasis.names.tc.wsrp.v1.types.UserContext userContext) {
+ this.registrationContext = registrationContext;
+ this.portletContext = portletContext;
+ this.userContext = userContext;
+ }
+
+
+ /**
+ * Gets the registrationContext value for this ClonePortlet.
+ *
+ * @return registrationContext
+ */
+ public oasis.names.tc.wsrp.v1.types.RegistrationContext getRegistrationContext() {
+ return registrationContext;
+ }
+
+
+ /**
+ * Sets the registrationContext value for this ClonePortlet.
+ *
+ * @param registrationContext
+ */
+ public void setRegistrationContext(oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext) {
+ this.registrationContext = registrationContext;
+ }
+
+
+ /**
+ * Gets the portletContext value for this ClonePortlet.
+ *
+ * @return portletContext
+ */
+ public oasis.names.tc.wsrp.v1.types.PortletContext getPortletContext() {
+ return portletContext;
+ }
+
+
+ /**
+ * Sets the portletContext value for this ClonePortlet.
+ *
+ * @param portletContext
+ */
+ public void setPortletContext(oasis.names.tc.wsrp.v1.types.PortletContext portletContext) {
+ this.portletContext = portletContext;
+ }
+
+
+ /**
+ * Gets the userContext value for this ClonePortlet.
+ *
+ * @return userContext
+ */
+ public oasis.names.tc.wsrp.v1.types.UserContext getUserContext() {
+ return userContext;
+ }
+
+
+ /**
+ * Sets the userContext value for this ClonePortlet.
+ *
+ * @param userContext
+ */
+ public void setUserContext(oasis.names.tc.wsrp.v1.types.UserContext userContext) {
+ this.userContext = userContext;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof ClonePortlet)) return false;
+ ClonePortlet other = (ClonePortlet) 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())));
+ __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();
+ }
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(ClonePortlet.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", ">clonePortlet"));
+ 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);
+ }
+
+ /**
+ * 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/Contact.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/Contact.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/Contact.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/Contact.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,265 @@
+/*
+ * 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.
+ */
+
+
+/**
+ * Contact.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 Contact implements java.io.Serializable {
+ private oasis.names.tc.wsrp.v1.types.Postal postal;
+
+ private oasis.names.tc.wsrp.v1.types.Telecom telecom;
+
+ private oasis.names.tc.wsrp.v1.types.Online online;
+
+ private oasis.names.tc.wsrp.v1.types.Extension[] extensions;
+
+ public Contact() {
+ }
+
+ public Contact(
+ oasis.names.tc.wsrp.v1.types.Postal postal,
+ oasis.names.tc.wsrp.v1.types.Telecom telecom,
+ oasis.names.tc.wsrp.v1.types.Online online,
+ oasis.names.tc.wsrp.v1.types.Extension[] extensions) {
+ this.postal = postal;
+ this.telecom = telecom;
+ this.online = online;
+ this.extensions = extensions;
+ }
+
+
+ /**
+ * Gets the postal value for this Contact.
+ *
+ * @return postal
+ */
+ public oasis.names.tc.wsrp.v1.types.Postal getPostal() {
+ return postal;
+ }
+
+
+ /**
+ * Sets the postal value for this Contact.
+ *
+ * @param postal
+ */
+ public void setPostal(oasis.names.tc.wsrp.v1.types.Postal postal) {
+ this.postal = postal;
+ }
+
+
+ /**
+ * Gets the telecom value for this Contact.
+ *
+ * @return telecom
+ */
+ public oasis.names.tc.wsrp.v1.types.Telecom getTelecom() {
+ return telecom;
+ }
+
+
+ /**
+ * Sets the telecom value for this Contact.
+ *
+ * @param telecom
+ */
+ public void setTelecom(oasis.names.tc.wsrp.v1.types.Telecom telecom) {
+ this.telecom = telecom;
+ }
+
+
+ /**
+ * Gets the online value for this Contact.
+ *
+ * @return online
+ */
+ public oasis.names.tc.wsrp.v1.types.Online getOnline() {
+ return online;
+ }
+
+
+ /**
+ * Sets the online value for this Contact.
+ *
+ * @param online
+ */
+ public void setOnline(oasis.names.tc.wsrp.v1.types.Online online) {
+ this.online = online;
+ }
+
+
+ /**
+ * Gets the extensions value for this Contact.
+ *
+ * @return extensions
+ */
+ public oasis.names.tc.wsrp.v1.types.Extension[] getExtensions() {
+ return extensions;
+ }
+
+
+ /**
+ * Sets the extensions value for this Contact.
+ *
+ * @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 Contact)) return false;
+ Contact other = (Contact) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.postal==null && other.getPostal()==null) ||
+ (this.postal!=null &&
+ this.postal.equals(other.getPostal()))) &&
+ ((this.telecom==null && other.getTelecom()==null) ||
+ (this.telecom!=null &&
+ this.telecom.equals(other.getTelecom()))) &&
+ ((this.online==null && other.getOnline()==null) ||
+ (this.online!=null &&
+ this.online.equals(other.getOnline()))) &&
+ ((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 (getPostal() != null) {
+ _hashCode += getPostal().hashCode();
+ }
+ if (getTelecom() != null) {
+ _hashCode += getTelecom().hashCode();
+ }
+ if (getOnline() != null) {
+ _hashCode += getOnline().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(Contact.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "Contact"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("postal");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "postal"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "Postal"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("telecom");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "telecom"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "Telecom"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("online");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "online"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "Online"));
+ elemField.setMinOccurs(0);
+ 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/CookieProtocol.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/CookieProtocol.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/CookieProtocol.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/CookieProtocol.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,89 @@
+/*
+ * 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.
+ */
+
+
+/**
+ * CookieProtocol.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 CookieProtocol implements java.io.Serializable {
+ private java.lang.String _value_;
+ private static java.util.HashMap _table_ = new java.util.HashMap();
+
+ // Constructor
+ protected CookieProtocol(java.lang.String value) {
+ _value_ = value;
+ _table_.put(_value_,this);
+ }
+
+ public static final java.lang.String _none = "none";
+ public static final java.lang.String _perUser = "perUser";
+ public static final java.lang.String _perGroup = "perGroup";
+ public static final CookieProtocol none = new CookieProtocol(_none);
+ public static final CookieProtocol perUser = new CookieProtocol(_perUser);
+ public static final CookieProtocol perGroup = new CookieProtocol(_perGroup);
+ public java.lang.String getValue() { return _value_;}
+ public static CookieProtocol fromValue(java.lang.String value)
+ throws java.lang.IllegalArgumentException {
+ CookieProtocol enumeration = (CookieProtocol)
+ _table_.get(value);
+ if (enumeration==null) throw new java.lang.IllegalArgumentException();
+ return enumeration;
+ }
+ public static CookieProtocol fromString(java.lang.String value)
+ throws java.lang.IllegalArgumentException {
+ return fromValue(value);
+ }
+ public boolean equals(java.lang.Object obj) {return (obj == this);}
+ public int hashCode() { return toString().hashCode();}
+ public java.lang.String toString() { return _value_;}
+ public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
+ 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.EnumSerializer(
+ _javaType, _xmlType);
+ }
+ 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.EnumDeserializer(
+ _javaType, _xmlType);
+ }
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(CookieProtocol.class);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "CookieProtocol"));
+ }
+ /**
+ * Return type metadata object
+ */
+ public static org.apache.axis.description.TypeDesc getTypeDesc() {
+ return typeDesc;
+ }
+
+}
Added: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/DestroyFailed.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/DestroyFailed.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/DestroyFailed.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/DestroyFailed.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,172 @@
+/*
+ * 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.
+ */
+
+
+/**
+ * DestroyFailed.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 DestroyFailed implements java.io.Serializable {
+ private java.lang.String portletHandle;
+
+ private java.lang.String reason;
+
+ public DestroyFailed() {
+ }
+
+ public DestroyFailed(
+ java.lang.String portletHandle,
+ java.lang.String reason) {
+ this.portletHandle = portletHandle;
+ this.reason = reason;
+ }
+
+
+ /**
+ * Gets the portletHandle value for this DestroyFailed.
+ *
+ * @return portletHandle
+ */
+ public java.lang.String getPortletHandle() {
+ return portletHandle;
+ }
+
+
+ /**
+ * Sets the portletHandle value for this DestroyFailed.
+ *
+ * @param portletHandle
+ */
+ public void setPortletHandle(java.lang.String portletHandle) {
+ this.portletHandle = portletHandle;
+ }
+
+
+ /**
+ * Gets the reason value for this DestroyFailed.
+ *
+ * @return reason
+ */
+ public java.lang.String getReason() {
+ return reason;
+ }
+
+
+ /**
+ * Sets the reason value for this DestroyFailed.
+ *
+ * @param reason
+ */
+ public void setReason(java.lang.String reason) {
+ this.reason = reason;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof DestroyFailed)) return false;
+ DestroyFailed other = (DestroyFailed) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.portletHandle==null && other.getPortletHandle()==null) ||
+ (this.portletHandle!=null &&
+ this.portletHandle.equals(other.getPortletHandle()))) &&
+ ((this.reason==null && other.getReason()==null) ||
+ (this.reason!=null &&
+ this.reason.equals(other.getReason())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getPortletHandle() != null) {
+ _hashCode += getPortletHandle().hashCode();
+ }
+ if (getReason() != null) {
+ _hashCode += getReason().hashCode();
+ }
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(DestroyFailed.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "DestroyFailed"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("portletHandle");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "portletHandle"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("reason");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "reason"));
+ 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);
+ }
+
+}
Added: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/DestroyPortlets.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/DestroyPortlets.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/DestroyPortlets.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/DestroyPortlets.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,189 @@
+/*
+ * 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.
+ */
+
+
+/**
+ * DestroyPortlets.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 DestroyPortlets implements java.io.Serializable {
+ private oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext;
+
+ private java.lang.String[] portletHandles;
+
+ public DestroyPortlets() {
+ }
+
+ public DestroyPortlets(
+ oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext,
+ java.lang.String[] portletHandles) {
+ this.registrationContext = registrationContext;
+ this.portletHandles = portletHandles;
+ }
+
+
+ /**
+ * Gets the registrationContext value for this DestroyPortlets.
+ *
+ * @return registrationContext
+ */
+ public oasis.names.tc.wsrp.v1.types.RegistrationContext getRegistrationContext() {
+ return registrationContext;
+ }
+
+
+ /**
+ * Sets the registrationContext value for this DestroyPortlets.
+ *
+ * @param registrationContext
+ */
+ public void setRegistrationContext(oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext) {
+ this.registrationContext = registrationContext;
+ }
+
+
+ /**
+ * Gets the portletHandles value for this DestroyPortlets.
+ *
+ * @return portletHandles
+ */
+ public java.lang.String[] getPortletHandles() {
+ return portletHandles;
+ }
+
+
+ /**
+ * Sets the portletHandles value for this DestroyPortlets.
+ *
+ * @param portletHandles
+ */
+ public void setPortletHandles(java.lang.String[] portletHandles) {
+ this.portletHandles = portletHandles;
+ }
+
+ public java.lang.String getPortletHandles(int i) {
+ return this.portletHandles[i];
+ }
+
+ public void setPortletHandles(int i, java.lang.String _value) {
+ this.portletHandles[i] = _value;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof DestroyPortlets)) return false;
+ DestroyPortlets other = (DestroyPortlets) 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.portletHandles==null && other.getPortletHandles()==null) ||
+ (this.portletHandles!=null &&
+ java.util.Arrays.equals(this.portletHandles, other.getPortletHandles())));
+ __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 (getPortletHandles() != null) {
+ for (int i=0;
+ i<java.lang.reflect.Array.getLength(getPortletHandles());
+ i++) {
+ java.lang.Object obj = java.lang.reflect.Array.get(getPortletHandles(), 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(DestroyPortlets.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", ">destroyPortlets"));
+ 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("portletHandles");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "portletHandles"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ 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/DestroyPortletsResponse.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/DestroyPortletsResponse.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/DestroyPortletsResponse.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/DestroyPortletsResponse.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,208 @@
+/*
+ * 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.
+ */
+
+
+/**
+ * DestroyPortletsResponse.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 DestroyPortletsResponse implements java.io.Serializable {
+ private oasis.names.tc.wsrp.v1.types.DestroyFailed[] destroyFailed;
+
+ private oasis.names.tc.wsrp.v1.types.Extension[] extensions;
+
+ public DestroyPortletsResponse() {
+ }
+
+ public DestroyPortletsResponse(
+ oasis.names.tc.wsrp.v1.types.DestroyFailed[] destroyFailed,
+ oasis.names.tc.wsrp.v1.types.Extension[] extensions) {
+ this.destroyFailed = destroyFailed;
+ this.extensions = extensions;
+ }
+
+
+ /**
+ * Gets the destroyFailed value for this DestroyPortletsResponse.
+ *
+ * @return destroyFailed
+ */
+ public oasis.names.tc.wsrp.v1.types.DestroyFailed[] getDestroyFailed() {
+ return destroyFailed;
+ }
+
+
+ /**
+ * Sets the destroyFailed value for this DestroyPortletsResponse.
+ *
+ * @param destroyFailed
+ */
+ public void setDestroyFailed(oasis.names.tc.wsrp.v1.types.DestroyFailed[] destroyFailed) {
+ this.destroyFailed = destroyFailed;
+ }
+
+ public oasis.names.tc.wsrp.v1.types.DestroyFailed getDestroyFailed(int i) {
+ return this.destroyFailed[i];
+ }
+
+ public void setDestroyFailed(int i, oasis.names.tc.wsrp.v1.types.DestroyFailed _value) {
+ this.destroyFailed[i] = _value;
+ }
+
+
+ /**
+ * Gets the extensions value for this DestroyPortletsResponse.
+ *
+ * @return extensions
+ */
+ public oasis.names.tc.wsrp.v1.types.Extension[] getExtensions() {
+ return extensions;
+ }
+
+
+ /**
+ * Sets the extensions value for this DestroyPortletsResponse.
+ *
+ * @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 DestroyPortletsResponse)) return false;
+ DestroyPortletsResponse other = (DestroyPortletsResponse) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.destroyFailed==null && other.getDestroyFailed()==null) ||
+ (this.destroyFailed!=null &&
+ java.util.Arrays.equals(this.destroyFailed, other.getDestroyFailed()))) &&
+ ((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 (getDestroyFailed() != null) {
+ for (int i=0;
+ i<java.lang.reflect.Array.getLength(getDestroyFailed());
+ i++) {
+ java.lang.Object obj = java.lang.reflect.Array.get(getDestroyFailed(), 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(DestroyPortletsResponse.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "DestroyPortletsResponse"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("destroyFailed");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "destroyFailed"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "DestroyFailed"));
+ 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/EmployerInfo.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/EmployerInfo.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/EmployerInfo.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/EmployerInfo.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,265 @@
+/*
+ * 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.
+ */
+
+
+/**
+ * EmployerInfo.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 EmployerInfo implements java.io.Serializable {
+ private java.lang.String employer;
+
+ private java.lang.String department;
+
+ private java.lang.String jobtitle;
+
+ private oasis.names.tc.wsrp.v1.types.Extension[] extensions;
+
+ public EmployerInfo() {
+ }
+
+ public EmployerInfo(
+ java.lang.String employer,
+ java.lang.String department,
+ java.lang.String jobtitle,
+ oasis.names.tc.wsrp.v1.types.Extension[] extensions) {
+ this.employer = employer;
+ this.department = department;
+ this.jobtitle = jobtitle;
+ this.extensions = extensions;
+ }
+
+
+ /**
+ * Gets the employer value for this EmployerInfo.
+ *
+ * @return employer
+ */
+ public java.lang.String getEmployer() {
+ return employer;
+ }
+
+
+ /**
+ * Sets the employer value for this EmployerInfo.
+ *
+ * @param employer
+ */
+ public void setEmployer(java.lang.String employer) {
+ this.employer = employer;
+ }
+
+
+ /**
+ * Gets the department value for this EmployerInfo.
+ *
+ * @return department
+ */
+ public java.lang.String getDepartment() {
+ return department;
+ }
+
+
+ /**
+ * Sets the department value for this EmployerInfo.
+ *
+ * @param department
+ */
+ public void setDepartment(java.lang.String department) {
+ this.department = department;
+ }
+
+
+ /**
+ * Gets the jobtitle value for this EmployerInfo.
+ *
+ * @return jobtitle
+ */
+ public java.lang.String getJobtitle() {
+ return jobtitle;
+ }
+
+
+ /**
+ * Sets the jobtitle value for this EmployerInfo.
+ *
+ * @param jobtitle
+ */
+ public void setJobtitle(java.lang.String jobtitle) {
+ this.jobtitle = jobtitle;
+ }
+
+
+ /**
+ * Gets the extensions value for this EmployerInfo.
+ *
+ * @return extensions
+ */
+ public oasis.names.tc.wsrp.v1.types.Extension[] getExtensions() {
+ return extensions;
+ }
+
+
+ /**
+ * Sets the extensions value for this EmployerInfo.
+ *
+ * @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 EmployerInfo)) return false;
+ EmployerInfo other = (EmployerInfo) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.employer==null && other.getEmployer()==null) ||
+ (this.employer!=null &&
+ this.employer.equals(other.getEmployer()))) &&
+ ((this.department==null && other.getDepartment()==null) ||
+ (this.department!=null &&
+ this.department.equals(other.getDepartment()))) &&
+ ((this.jobtitle==null && other.getJobtitle()==null) ||
+ (this.jobtitle!=null &&
+ this.jobtitle.equals(other.getJobtitle()))) &&
+ ((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 (getEmployer() != null) {
+ _hashCode += getEmployer().hashCode();
+ }
+ if (getDepartment() != null) {
+ _hashCode += getDepartment().hashCode();
+ }
+ if (getJobtitle() != null) {
+ _hashCode += getJobtitle().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(EmployerInfo.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "EmployerInfo"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("employer");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "employer"));
+ 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("department");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "department"));
+ 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("jobtitle");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "jobtitle"));
+ 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("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/Extension.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/Extension.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/Extension.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/Extension.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,138 @@
+/*
+ * 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.
+ */
+
+
+/**
+ * Extension.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 Extension implements java.io.Serializable, org.apache.axis.encoding.AnyContentType {
+ private org.apache.axis.message.MessageElement [] _any;
+
+ public Extension() {
+ }
+
+ public Extension(
+ org.apache.axis.message.MessageElement [] _any) {
+ this._any = _any;
+ }
+
+
+ /**
+ * Gets the _any value for this Extension.
+ *
+ * @return _any
+ */
+ public org.apache.axis.message.MessageElement [] get_any() {
+ return _any;
+ }
+
+
+ /**
+ * Sets the _any value for this Extension.
+ *
+ * @param _any
+ */
+ public void set_any(org.apache.axis.message.MessageElement [] _any) {
+ this._any = _any;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof Extension)) return false;
+ Extension other = (Extension) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this._any==null && other.get_any()==null) ||
+ (this._any!=null &&
+ java.util.Arrays.equals(this._any, other.get_any())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (get_any() != null) {
+ for (int i=0;
+ i<java.lang.reflect.Array.getLength(get_any());
+ i++) {
+ java.lang.Object obj = java.lang.reflect.Array.get(get_any(), 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(Extension.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "Extension"));
+ }
+
+ /**
+ * 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/Fault.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/Fault.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/Fault.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/Fault.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.
+ */
+
+
+/**
+ * Fault.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 Fault extends org.apache.axis.AxisFault implements java.io.Serializable {
+ public Fault() {
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof Fault)) return false;
+ Fault other = (Fault) 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(Fault.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "Fault"));
+ }
+
+ /**
+ * 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/GetMarkup.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetMarkup.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetMarkup.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetMarkup.java Wed Sep 13 05:34:51 2006
@@ -0,0 +1,280 @@
+/*
+ * 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.
+ */
+
+
+/**
+ * GetMarkup.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 GetMarkup 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.RuntimeContext runtimeContext;
+
+ private oasis.names.tc.wsrp.v1.types.UserContext userContext;
+
+ private oasis.names.tc.wsrp.v1.types.MarkupParams markupParams;
+
+ public GetMarkup() {
+ }
+
+ public GetMarkup(
+ oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext,
+ oasis.names.tc.wsrp.v1.types.PortletContext portletContext,
+ oasis.names.tc.wsrp.v1.types.RuntimeContext runtimeContext,
+ oasis.names.tc.wsrp.v1.types.UserContext userContext,
+ oasis.names.tc.wsrp.v1.types.MarkupParams markupParams) {
+ this.registrationContext = registrationContext;
+ this.portletContext = portletContext;
+ this.runtimeContext = runtimeContext;
+ this.userContext = userContext;
+ this.markupParams = markupParams;
+ }
+
+
+ /**
+ * Gets the registrationContext value for this GetMarkup.
+ *
+ * @return registrationContext
+ */
+ public oasis.names.tc.wsrp.v1.types.RegistrationContext getRegistrationContext() {
+ return registrationContext;
+ }
+
+
+ /**
+ * Sets the registrationContext value for this GetMarkup.
+ *
+ * @param registrationContext
+ */
+ public void setRegistrationContext(oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext) {
+ this.registrationContext = registrationContext;
+ }
+
+
+ /**
+ * Gets the portletContext value for this GetMarkup.
+ *
+ * @return portletContext
+ */
+ public oasis.names.tc.wsrp.v1.types.PortletContext getPortletContext() {
+ return portletContext;
+ }
+
+
+ /**
+ * Sets the portletContext value for this GetMarkup.
+ *
+ * @param portletContext
+ */
+ public void setPortletContext(oasis.names.tc.wsrp.v1.types.PortletContext portletContext) {
+ this.portletContext = portletContext;
+ }
+
+
+ /**
+ * Gets the runtimeContext value for this GetMarkup.
+ *
+ * @return runtimeContext
+ */
+ public oasis.names.tc.wsrp.v1.types.RuntimeContext getRuntimeContext() {
+ return runtimeContext;
+ }
+
+
+ /**
+ * Sets the runtimeContext value for this GetMarkup.
+ *
+ * @param runtimeContext
+ */
+ public void setRuntimeContext(oasis.names.tc.wsrp.v1.types.RuntimeContext runtimeContext) {
+ this.runtimeContext = runtimeContext;
+ }
+
+
+ /**
+ * Gets the userContext value for this GetMarkup.
+ *
+ * @return userContext
+ */
+ public oasis.names.tc.wsrp.v1.types.UserContext getUserContext() {
+ return userContext;
+ }
+
+
+ /**
+ * Sets the userContext value for this GetMarkup.
+ *
+ * @param userContext
+ */
+ public void setUserContext(oasis.names.tc.wsrp.v1.types.UserContext userContext) {
+ this.userContext = userContext;
+ }
+
+
+ /**
+ * Gets the markupParams value for this GetMarkup.
+ *
+ * @return markupParams
+ */
+ public oasis.names.tc.wsrp.v1.types.MarkupParams getMarkupParams() {
+ return markupParams;
+ }
+
+
+ /**
+ * Sets the markupParams value for this GetMarkup.
+ *
+ * @param markupParams
+ */
+ public void setMarkupParams(oasis.names.tc.wsrp.v1.types.MarkupParams markupParams) {
+ this.markupParams = markupParams;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof GetMarkup)) return false;
+ GetMarkup other = (GetMarkup) 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.runtimeContext==null && other.getRuntimeContext()==null) ||
+ (this.runtimeContext!=null &&
+ this.runtimeContext.equals(other.getRuntimeContext()))) &&
+ ((this.userContext==null && other.getUserContext()==null) ||
+ (this.userContext!=null &&
+ this.userContext.equals(other.getUserContext()))) &&
+ ((this.markupParams==null && other.getMarkupParams()==null) ||
+ (this.markupParams!=null &&
+ this.markupParams.equals(other.getMarkupParams())));
+ __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 (getRuntimeContext() != null) {
+ _hashCode += getRuntimeContext().hashCode();
+ }
+ if (getUserContext() != null) {
+ _hashCode += getUserContext().hashCode();
+ }
+ if (getMarkupParams() != null) {
+ _hashCode += getMarkupParams().hashCode();
+ }
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(GetMarkup.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", ">getMarkup"));
+ 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("runtimeContext");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "runtimeContext"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "RuntimeContext"));
+ 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("markupParams");
+ elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "markupParams"));
+ elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "MarkupParams"));
+ 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: portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetPortletDescription.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetPortletDescription.java?view=auto&rev=442961
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetPortletDescription.java (added)
+++ portals/wsrp4j/trunk/commons/src/java/oasis/names/tc/wsrp/v1/types/GetPortletDescription.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.
+ */
+
+
+/**
+ * GetPortletDescription.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 GetPortletDescription 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 GetPortletDescription() {
+ }
+
+ public GetPortletDescription(
+ 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 GetPortletDescription.
+ *
+ * @return registrationContext
+ */
+ public oasis.names.tc.wsrp.v1.types.RegistrationContext getRegistrationContext() {
+ return registrationContext;
+ }
+
+
+ /**
+ * Sets the registrationContext value for this GetPortletDescription.
+ *
+ * @param registrationContext
+ */
+ public void setRegistrationContext(oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext) {
+ this.registrationContext = registrationContext;
+ }
+
+
+ /**
+ * Gets the portletContext value for this GetPortletDescription.
+ *
+ * @return portletContext
+ */
+ public oasis.names.tc.wsrp.v1.types.PortletContext getPortletContext() {
+ return portletContext;
+ }
+
+
+ /**
+ * Sets the portletContext value for this GetPortletDescription.
+ *
+ * @param portletContext
+ */
+ public void setPortletContext(oasis.names.tc.wsrp.v1.types.PortletContext portletContext) {
+ this.portletContext = portletContext;
+ }
+
+
+ /**
+ * Gets the userContext value for this GetPortletDescription.
+ *
+ * @return userContext
+ */
+ public oasis.names.tc.wsrp.v1.types.UserContext getUserContext() {
+ return userContext;
+ }
+
+
+ /**
+ * Sets the userContext value for this GetPortletDescription.
+ *
+ * @param userContext
+ */
+ public void setUserContext(oasis.names.tc.wsrp.v1.types.UserContext userContext) {
+ this.userContext = userContext;
+ }
+
+
+ /**
+ * Gets the desiredLocales value for this GetPortletDescription.
+ *
+ * @return desiredLocales
+ */
+ public java.lang.String[] getDesiredLocales() {
+ return desiredLocales;
+ }
+
+
+ /**
+ * Sets the desiredLocales value for this GetPortletDescription.
+ *
+ * @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 GetPortletDescription)) return false;
+ GetPortletDescription other = (GetPortletDescription) 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(GetPortletDescription.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", ">getPortletDescription"));
+ 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);
+ }
+
+}