com.ecebs.rtd.enabler.types.itso
Enum IPEDirEntry.ProductState

java.lang.Object
  extended by java.lang.Enum<IPEDirEntry.ProductState>
      extended by com.ecebs.rtd.enabler.types.itso.IPEDirEntry.ProductState
All Implemented Interfaces:
Serializable, Comparable<IPEDirEntry.ProductState>
Enclosing class:
IPEDirEntry

public static enum IPEDirEntry.ProductState
extends Enum<IPEDirEntry.ProductState>

Represents the different possible states for an IPE on a CM

Author:
kyleb

Enum Constant Summary
BLOCKED
          Product is blocked
UNUSED
          Product has not yet been used
VALID
          Product has been partially used but is still valid
 
Method Summary
static IPEDirEntry.ProductState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IPEDirEntry.ProductState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VALID

public static final IPEDirEntry.ProductState VALID
Product has been partially used but is still valid


UNUSED

public static final IPEDirEntry.ProductState UNUSED
Product has not yet been used


BLOCKED

public static final IPEDirEntry.ProductState BLOCKED
Product is blocked

Method Detail

values

public static IPEDirEntry.ProductState[] 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 (IPEDirEntry.ProductState c : IPEDirEntry.ProductState.values())
    System.out.println(c);

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

valueOf

public static IPEDirEntry.ProductState 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


Copyright © 2013 Ecebs Ltd. All Rights Reserved.