notifyeventvalues.java
来自「电信ISAG的服务连接和服务」· Java 代码 · 共 47 行
JAVA
47 行
/**
* NotifyEventValues.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 NotifyEventValues implements java.io.Serializable {
private java.lang.String _value_;
private static java.util.HashMap _table_ = new java.util.HashMap();
// Constructor
protected NotifyEventValues(java.lang.String value) {
_value_ = value;
_table_.put(_value_,this);
}
public static final java.lang.String _CalledAnswer = "CalledAnswer";
public static final java.lang.String _CallingDisconnect = "CallingDisconnect";
public static final java.lang.String _CallingBusy = "CallingBusy";
public static final java.lang.String _CallingNoAnswer = "CallingNoAnswer";
public static final java.lang.String _CallingNotReachable = "CallingNotReachable";
public static final NotifyEventValues CalledAnswer = new NotifyEventValues(_CalledAnswer);
public static final NotifyEventValues CallingDisconnect = new NotifyEventValues(_CallingDisconnect);
public static final NotifyEventValues CallingBusy = new NotifyEventValues(_CallingBusy);
public static final NotifyEventValues CallingNoAnswer = new NotifyEventValues(_CallingNoAnswer);
public static final NotifyEventValues CallingNotReachable = new NotifyEventValues(_CallingNotReachable);
public java.lang.String getValue() { return _value_;}
public static NotifyEventValues fromValue(java.lang.String value)
throws java.lang.IllegalStateException {
NotifyEventValues enum = (NotifyEventValues)
_table_.get(value);
if (enum==null) throw new java.lang.IllegalStateException();
return enum;
}
public static NotifyEventValues 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 + -
显示快捷键?