📄 timemetric.java
字号:
/**
* TimeMetric.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package cn.com.chinatelecom.www.schema.ctcc.common.v2_1;
public class TimeMetric implements java.io.Serializable {
/**
*
*/
private static final long serialVersionUID = -7218726410622423042L;
private cn.com.chinatelecom.www.schema.ctcc.common.v2_1.TimeMetrics metric;
private int units;
public TimeMetric() {
}
public cn.com.chinatelecom.www.schema.ctcc.common.v2_1.TimeMetrics getMetric() {
return metric;
}
public void setMetric(cn.com.chinatelecom.www.schema.ctcc.common.v2_1.TimeMetrics metric) {
this.metric = metric;
}
public int getUnits() {
return units;
}
public void setUnits(int units) {
this.units = units;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof TimeMetric)) return false;
TimeMetric other = (TimeMetric) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.metric==null && other.getMetric()==null) ||
(this.metric!=null &&
this.metric.equals(other.getMetric()))) &&
this.units == other.getUnits();
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getMetric() != null) {
_hashCode += getMetric().hashCode();
}
_hashCode += getUnits();
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(TimeMetric.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1", "TimeMetric"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("metric");
elemField.setXmlName(new javax.xml.namespace.QName("", "metric"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1", "TimeMetrics"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("units");
elemField.setXmlName(new javax.xml.namespace.QName("", "units"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
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 + -