📄 telecom.java
字号:
/** * Telecom.java * * This file was auto-generated from WSDL * by the Apache Axis WSDL2Java emitter. */package org.jasig.portal.wsrp.types;/** * @deprecated As of uPortal 2.4, the WSRP producer in uPortal is no longer being maintained. If reintroduced, it will migrate to one based on WSRP4J. */public class Telecom implements java.io.Serializable { private org.jasig.portal.wsrp.types.TelephoneNum telephone; private org.jasig.portal.wsrp.types.TelephoneNum fax; private org.jasig.portal.wsrp.types.TelephoneNum mobile; private org.jasig.portal.wsrp.types.TelephoneNum pager; private org.jasig.portal.wsrp.types.Extension[] extensions; public Telecom() { } public org.jasig.portal.wsrp.types.TelephoneNum getTelephone() { return telephone; } public void setTelephone(org.jasig.portal.wsrp.types.TelephoneNum telephone) { this.telephone = telephone; } public org.jasig.portal.wsrp.types.TelephoneNum getFax() { return fax; } public void setFax(org.jasig.portal.wsrp.types.TelephoneNum fax) { this.fax = fax; } public org.jasig.portal.wsrp.types.TelephoneNum getMobile() { return mobile; } public void setMobile(org.jasig.portal.wsrp.types.TelephoneNum mobile) { this.mobile = mobile; } public org.jasig.portal.wsrp.types.TelephoneNum getPager() { return pager; } public void setPager(org.jasig.portal.wsrp.types.TelephoneNum pager) { this.pager = pager; } public org.jasig.portal.wsrp.types.Extension[] getExtensions() { return extensions; } public void setExtensions(org.jasig.portal.wsrp.types.Extension[] extensions) { this.extensions = extensions; } public org.jasig.portal.wsrp.types.Extension getExtensions(int i) { return extensions[i]; } public void setExtensions(int i, org.jasig.portal.wsrp.types.Extension value) { this.extensions[i] = value; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof Telecom)) return false; Telecom other = (Telecom) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.telephone==null && other.getTelephone()==null) || (this.telephone!=null && this.telephone.equals(other.getTelephone()))) && ((this.fax==null && other.getFax()==null) || (this.fax!=null && this.fax.equals(other.getFax()))) && ((this.mobile==null && other.getMobile()==null) || (this.mobile!=null && this.mobile.equals(other.getMobile()))) && ((this.pager==null && other.getPager()==null) || (this.pager!=null && this.pager.equals(other.getPager()))) && ((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 (getTelephone() != null) { _hashCode += getTelephone().hashCode(); } if (getFax() != null) { _hashCode += getFax().hashCode(); } if (getMobile() != null) { _hashCode += getMobile().hashCode(); } if (getPager() != null) { _hashCode += getPager().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(Telecom.class); static { typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "Telecom")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("telephone"); elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "telephone")); elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "TelephoneNum")); elemField.setMinOccurs(0); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("fax"); elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "fax")); elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "TelephoneNum")); elemField.setMinOccurs(0); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("mobile"); elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "mobile")); elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "TelephoneNum")); elemField.setMinOccurs(0); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("pager"); elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "pager")); elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "TelephoneNum")); elemField.setMinOccurs(0); 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); 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); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -