📄 publishstate.java
字号:
/**
* PublishState.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.hanming.wpp.widget.webservice;
public class PublishState implements java.io.Serializable {
private java.lang.Integer code;
private java.lang.String galleryPath;
private java.lang.String urlLocation;
public PublishState() {
}
public PublishState(
java.lang.Integer code,
java.lang.String galleryPath,
java.lang.String urlLocation) {
this.code = code;
this.galleryPath = galleryPath;
this.urlLocation = urlLocation;
}
/**
* Gets the code value for this PublishState.
*
* @return code
*/
public java.lang.Integer getCode() {
return code;
}
/**
* Sets the code value for this PublishState.
*
* @param code
*/
public void setCode(java.lang.Integer code) {
this.code = code;
}
/**
* Gets the galleryPath value for this PublishState.
*
* @return galleryPath
*/
public java.lang.String getGalleryPath() {
return galleryPath;
}
/**
* Sets the galleryPath value for this PublishState.
*
* @param galleryPath
*/
public void setGalleryPath(java.lang.String galleryPath) {
this.galleryPath = galleryPath;
}
/**
* Gets the urlLocation value for this PublishState.
*
* @return urlLocation
*/
public java.lang.String getUrlLocation() {
return urlLocation;
}
/**
* Sets the urlLocation value for this PublishState.
*
* @param urlLocation
*/
public void setUrlLocation(java.lang.String urlLocation) {
this.urlLocation = urlLocation;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof PublishState)) return false;
PublishState other = (PublishState) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.code==null && other.getCode()==null) ||
(this.code!=null &&
this.code.equals(other.getCode()))) &&
((this.galleryPath==null && other.getGalleryPath()==null) ||
(this.galleryPath!=null &&
this.galleryPath.equals(other.getGalleryPath()))) &&
((this.urlLocation==null && other.getUrlLocation()==null) ||
(this.urlLocation!=null &&
this.urlLocation.equals(other.getUrlLocation())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getCode() != null) {
_hashCode += getCode().hashCode();
}
if (getGalleryPath() != null) {
_hashCode += getGalleryPath().hashCode();
}
if (getUrlLocation() != null) {
_hashCode += getUrlLocation().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(PublishState.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://webservice.widget.wpp.hanming.com", "PublishState"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("code");
elemField.setXmlName(new javax.xml.namespace.QName("http://webservice.widget.wpp.hanming.com", "code"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("galleryPath");
elemField.setXmlName(new javax.xml.namespace.QName("http://webservice.widget.wpp.hanming.com", "galleryPath"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("urlLocation");
elemField.setXmlName(new javax.xml.namespace.QName("http://webservice.widget.wpp.hanming.com", "urlLocation"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -