com.sun.syndication.feed.module.base.types
Class ShippingType.ServiceEnumeration

java.lang.Object
  extended by com.sun.syndication.feed.module.base.types.ShippingType.ServiceEnumeration
Enclosing class:
ShippingType

public static class ShippingType.ServiceEnumeration
extends java.lang.Object

Enumeration class of valid options for ServiceType.


Field Summary
static ShippingType.ServiceEnumeration FREIGHT
          Freight
static ShippingType.ServiceEnumeration OVERNIGHT
          Overnight
static ShippingType.ServiceEnumeration STANDARD
          Standard
 
Method Summary
static ShippingType.ServiceEnumeration findByValue(java.lang.String value)
          Looks up a ServiceEnumeration based on the string value.
 java.lang.String getValue()
          String value of this Service.
 java.lang.String toString()
          String value of this Service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STANDARD

public static final ShippingType.ServiceEnumeration STANDARD
Standard


FREIGHT

public static final ShippingType.ServiceEnumeration FREIGHT
Freight


OVERNIGHT

public static final ShippingType.ServiceEnumeration OVERNIGHT
Overnight

Method Detail

getValue

public java.lang.String getValue()
String value of this Service.

Returns:
String value of this Service.

findByValue

public static ShippingType.ServiceEnumeration findByValue(java.lang.String value)
Looks up a ServiceEnumeration based on the string value.

Parameters:
value - String value to search for.
Returns:
ServiceEnumeration or null.

toString

public java.lang.String toString()
String value of this Service.

Overrides:
toString in class java.lang.Object
Returns:
String value of this Service.


Copyright © 2006-2009. All Rights Reserved.