📄 requestcause.java
字号:
/**
* RequestCause.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 RequestCause implements java.io.Serializable {
private java.lang.String _value_;
private static java.util.HashMap _table_ = new java.util.HashMap();
// Constructor
protected RequestCause(java.lang.String value) {
_value_ = value;
_table_.put(_value_,this);
}
public static final java.lang.String _Busy = "Busy";
public static final java.lang.String _NotReachable = "NotReachable";
public static final java.lang.String _NoAnswer = "NoAnswer";
public static final java.lang.String _OffHook = "OffHook";
public static final java.lang.String _ServiceNumber = "ServiceNumber";
public static final java.lang.String _CalledAuthorized = "CalledAuthorized";
public static final java.lang.String _OriginCollectedInfo = "OriginCollectedInfo";
public static final RequestCause Busy = new RequestCause(_Busy);
public static final RequestCause NotReachable = new RequestCause(_NotReachable);
public static final RequestCause NoAnswer = new RequestCause(_NoAnswer);
public static final RequestCause OffHook = new RequestCause(_OffHook);
public static final RequestCause ServiceNumber = new RequestCause(_ServiceNumber);
public static final RequestCause CalledAuthorized = new RequestCause(_CalledAuthorized);
public static final RequestCause OriginCollectedInfo = new RequestCause(_OriginCollectedInfo);
public java.lang.String getValue() { return _value_;}
public static RequestCause fromValue(java.lang.String value)
throws java.lang.IllegalStateException {
RequestCause enum = (RequestCause)
_table_.get(value);
if (enum==null) throw new java.lang.IllegalStateException();
return enum;
}
public static RequestCause 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -