urn.ebay.apis.eBLBaseComponents
Enum UnitOfMeasure

java.lang.Object
  extended by java.lang.Enum<UnitOfMeasure>
      extended by urn.ebay.apis.eBLBaseComponents.UnitOfMeasure
All Implemented Interfaces:
Serializable, Comparable<UnitOfMeasure>

public enum UnitOfMeasure
extends Enum<UnitOfMeasure>

Based on NRF-ARTS Specification for Units of Measure


Enum Constant Summary
ANN
           
CEL
           
CMQ
           
CRATEOF
           
DAYS
           
EA
           
FAH
           
FOT
           
GLI
           
GLL
           
GRM
           
HOURS
           
INH
           
KG
           
KGM
           
LBR
           
LTR
           
MMT
           
MTK
           
MTQ
           
MTR
           
PACK
           
RESERVED
           
SECONDS
           
 
Method Summary
static UnitOfMeasure fromValue(String v)
           
 String getValue()
           
static UnitOfMeasure valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UnitOfMeasure[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EA

public static final UnitOfMeasure EA

HOURS

public static final UnitOfMeasure HOURS

DAYS

public static final UnitOfMeasure DAYS

SECONDS

public static final UnitOfMeasure SECONDS

CRATEOF

public static final UnitOfMeasure CRATEOF

PACK

public static final UnitOfMeasure PACK

GLI

public static final UnitOfMeasure GLI

GLL

public static final UnitOfMeasure GLL

LTR

public static final UnitOfMeasure LTR

INH

public static final UnitOfMeasure INH

FOT

public static final UnitOfMeasure FOT

MMT

public static final UnitOfMeasure MMT

CMQ

public static final UnitOfMeasure CMQ

MTR

public static final UnitOfMeasure MTR

MTK

public static final UnitOfMeasure MTK

MTQ

public static final UnitOfMeasure MTQ

GRM

public static final UnitOfMeasure GRM

KGM

public static final UnitOfMeasure KGM

KG

public static final UnitOfMeasure KG

LBR

public static final UnitOfMeasure LBR

ANN

public static final UnitOfMeasure ANN

CEL

public static final UnitOfMeasure CEL

FAH

public static final UnitOfMeasure FAH

RESERVED

public static final UnitOfMeasure RESERVED
Method Detail

values

public static UnitOfMeasure[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (UnitOfMeasure c : UnitOfMeasure.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static UnitOfMeasure valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getValue

public String getValue()

fromValue

public static UnitOfMeasure fromValue(String v)


Copyright © 2013. All Rights Reserved.