servicestatustype.java

来自「电信ISAG的服务连接和服务」· Java 代码 · 共 41 行

JAVA
41
字号
/**
 * ServiceStatusType.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1;

public class ServiceStatusType implements java.io.Serializable {
    private java.lang.String _value_;
    private static java.util.HashMap _table_ = new java.util.HashMap();

    // Constructor
    protected ServiceStatusType(java.lang.String value) {
        _value_ = value;
        _table_.put(_value_,this);
    }

    public static final java.lang.String _Normal = "Normal";
    public static final java.lang.String _Abnormal = "Abnormal";
    public static final ServiceStatusType Normal = new ServiceStatusType(_Normal);
    public static final ServiceStatusType Abnormal = new ServiceStatusType(_Abnormal);
    public java.lang.String getValue() { return _value_;}
    public static ServiceStatusType fromValue(java.lang.String value)
          throws java.lang.IllegalStateException {
        ServiceStatusType enum = (ServiceStatusType)
            _table_.get(value);
        if (enum==null) throw new java.lang.IllegalStateException();
        return enum;
    }
    public static ServiceStatusType fromString(java.lang.String value)
          throws java.lang.IllegalStateException {
        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_);}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?