_list_listtype.java

来自「amazon web开发的例子」· Java 代码 · 共 45 行

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

package com.amazon.xml.AWSECommerceService;

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

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

    public static final java.lang.String _WishList = "WishList";
    public static final java.lang.String _WeddingRegistry = "WeddingRegistry";
    public static final java.lang.String _BabyRegistry = "BabyRegistry";
    public static final java.lang.String _Listmania = "Listmania";
    public static final _List_ListType WishList = new _List_ListType(_WishList);
    public static final _List_ListType WeddingRegistry = new _List_ListType(_WeddingRegistry);
    public static final _List_ListType BabyRegistry = new _List_ListType(_BabyRegistry);
    public static final _List_ListType Listmania = new _List_ListType(_Listmania);
    public java.lang.String getValue() { return _value_;}
    public static _List_ListType fromValue(java.lang.String value)
          throws java.lang.IllegalStateException {
        _List_ListType enum = (_List_ListType)
            _table_.get(value);
        if (enum==null) throw new java.lang.IllegalStateException();
        return enum;
    }
    public static _List_ListType 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 + -
显示快捷键?