Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7905 manish.sha 1
/**
2
 * PriorityAlertEnhancementType.java
3
 *
4
 * This file was auto-generated from WSDL
5
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
6
 */
7
 
8
package com.fedex.ship.stub;
9
 
10
public class PriorityAlertEnhancementType implements java.io.Serializable {
11
    private java.lang.String _value_;
12
    private static java.util.HashMap _table_ = new java.util.HashMap();
13
 
14
    // Constructor
15
    protected PriorityAlertEnhancementType(java.lang.String value) {
16
        _value_ = value;
17
        _table_.put(_value_,this);
18
    }
19
 
20
    public static final java.lang.String _PRIORITY_ALERT_PLUS = "PRIORITY_ALERT_PLUS";
21
    public static final PriorityAlertEnhancementType PRIORITY_ALERT_PLUS = new PriorityAlertEnhancementType(_PRIORITY_ALERT_PLUS);
22
    public java.lang.String getValue() { return _value_;}
23
    public static PriorityAlertEnhancementType fromValue(java.lang.String value)
24
          throws java.lang.IllegalArgumentException {
25
        PriorityAlertEnhancementType enumeration = (PriorityAlertEnhancementType)
26
            _table_.get(value);
27
        if (enumeration==null) throw new java.lang.IllegalArgumentException();
28
        return enumeration;
29
    }
30
    public static PriorityAlertEnhancementType fromString(java.lang.String value)
31
          throws java.lang.IllegalArgumentException {
32
        return fromValue(value);
33
    }
34
    public boolean equals(java.lang.Object obj) {return (obj == this);}
35
    public int hashCode() { return toString().hashCode();}
36
    public java.lang.String toString() { return _value_;}
37
    public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
38
    public static org.apache.axis.encoding.Serializer getSerializer(
39
           java.lang.String mechType, 
40
           java.lang.Class _javaType,  
41
           javax.xml.namespace.QName _xmlType) {
42
        return 
43
          new org.apache.axis.encoding.ser.EnumSerializer(
44
            _javaType, _xmlType);
45
    }
46
    public static org.apache.axis.encoding.Deserializer getDeserializer(
47
           java.lang.String mechType, 
48
           java.lang.Class _javaType,  
49
           javax.xml.namespace.QName _xmlType) {
50
        return 
51
          new org.apache.axis.encoding.ser.EnumDeserializer(
52
            _javaType, _xmlType);
53
    }
54
    // Type metadata
55
    private static org.apache.axis.description.TypeDesc typeDesc =
56
        new org.apache.axis.description.TypeDesc(PriorityAlertEnhancementType.class);
57
 
58
    static {
59
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PriorityAlertEnhancementType"));
60
    }
61
    /**
62
     * Return type metadata object
63
     */
64
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
65
        return typeDesc;
66
    }
67
 
68
}