com.google.api.ads.dfp.v201111
Class TimeUnit

java.lang.Object
  extended by com.google.api.ads.dfp.v201111.TimeUnit
All Implemented Interfaces:
Serializable

public class TimeUnit
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String _DAY
           
static String _HOUR
           
static String _LIFETIME
           
static String _MINUTE
           
static String _MONTH
           
static String _WEEK
           
static TimeUnit DAY
           
static TimeUnit HOUR
           
static TimeUnit LIFETIME
           
static TimeUnit MINUTE
           
static TimeUnit MONTH
           
static TimeUnit WEEK
           
 
Constructor Summary
protected TimeUnit(String value)
           
 
Method Summary
 boolean equals(Object obj)
           
static TimeUnit fromString(String value)
           
static TimeUnit fromValue(String value)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
           
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
           
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 String getValue()
           
 int hashCode()
           
 Object readResolve()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_MINUTE

public static final String _MINUTE
See Also:
Constant Field Values

_HOUR

public static final String _HOUR
See Also:
Constant Field Values

_DAY

public static final String _DAY
See Also:
Constant Field Values

_WEEK

public static final String _WEEK
See Also:
Constant Field Values

_MONTH

public static final String _MONTH
See Also:
Constant Field Values

_LIFETIME

public static final String _LIFETIME
See Also:
Constant Field Values

MINUTE

public static final TimeUnit MINUTE

HOUR

public static final TimeUnit HOUR

DAY

public static final TimeUnit DAY

WEEK

public static final TimeUnit WEEK

MONTH

public static final TimeUnit MONTH

LIFETIME

public static final TimeUnit LIFETIME
Constructor Detail

TimeUnit

protected TimeUnit(String value)
Method Detail

getValue

public String getValue()

fromValue

public static TimeUnit fromValue(String value)
                          throws IllegalArgumentException
Throws:
IllegalArgumentException

fromString

public static TimeUnit fromString(String value)
                           throws IllegalArgumentException
Throws:
IllegalArgumentException

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

readResolve

public Object readResolve()
                   throws ObjectStreamException
Throws:
ObjectStreamException

getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)

getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object



Copyright © 2011. All Rights Reserved.