001: /*
002: * JOSSO: Java Open Single Sign-On
003: *
004: * Copyright 2004-2008, Atricore, Inc.
005: *
006: * This is free software; you can redistribute it and/or modify it
007: * under the terms of the GNU Lesser General Public License as
008: * published by the Free Software Foundation; either version 2.1 of
009: * the License, or (at your option) any later version.
010: *
011: * This software is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014: * Lesser General Public License for more details.
015: *
016: * You should have received a copy of the GNU Lesser General Public
017: * License along with this software; if not, write to the Free
018: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
019: * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
020: */
021:
022: /**
023: * Credential.java
024: *
025: * This file was auto-generated from WSDL
026: * by the Apache Axis 1.2alpha ago 27, 2004 (08:42:06 GMT-03:00) WSDL2Java emitter.
027: */package org.josso.gateway.identity.service.ws.impl;
028:
029: public class Credential implements java.io.Serializable {
030:
031: public Credential() {
032: }
033:
034: private java.lang.Object __equalsCalc = null;
035:
036: public synchronized boolean equals(java.lang.Object obj) {
037: if (!(obj instanceof Credential))
038: return false;
039: Credential other = (Credential) obj;
040: if (obj == null)
041: return false;
042: if (this == obj)
043: return true;
044: if (__equalsCalc != null) {
045: return (__equalsCalc == obj);
046: }
047: __equalsCalc = obj;
048: boolean _equals;
049: _equals = true;
050: __equalsCalc = null;
051: return _equals;
052: }
053:
054: private boolean __hashCodeCalc = false;
055:
056: public synchronized int hashCode() {
057: if (__hashCodeCalc) {
058: return 0;
059: }
060: __hashCodeCalc = true;
061: int _hashCode = 1;
062: __hashCodeCalc = false;
063: return _hashCode;
064: }
065:
066: // Type metadata
067: private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
068: Credential.class, true);
069:
070: static {
071: typeDesc.setXmlType(new javax.xml.namespace.QName(
072: "http://josso.org/gateway/identity/service/ws/impl",
073: "Credential"));
074: }
075:
076: /**
077: * Return type metadata object
078: */
079: public static org.apache.axis.description.TypeDesc getTypeDesc() {
080: return typeDesc;
081: }
082:
083: /**
084: * Get Custom Serializer
085: */
086: public static org.apache.axis.encoding.Serializer getSerializer(
087: java.lang.String mechType, java.lang.Class _javaType,
088: javax.xml.namespace.QName _xmlType) {
089: return new org.apache.axis.encoding.ser.BeanSerializer(
090: _javaType, _xmlType, typeDesc);
091: }
092:
093: /**
094: * Get Custom Deserializer
095: */
096: public static org.apache.axis.encoding.Deserializer getDeserializer(
097: java.lang.String mechType, java.lang.Class _javaType,
098: javax.xml.namespace.QName _xmlType) {
099: return new org.apache.axis.encoding.ser.BeanDeserializer(
100: _javaType, _xmlType, typeDesc);
101: }
102:
103: }
|