org.openwms.common.domain.values
Enum TransportUnitState

java.lang.Object
  extended by java.lang.Enum<TransportUnitState>
      extended by org.openwms.common.domain.values.TransportUnitState
All Implemented Interfaces:
Serializable, Comparable<TransportUnitState>

public enum TransportUnitState
extends Enum<TransportUnitState>

A TransportUnitState defines a set of states for TransportUnits.

Since:
0.1
Version:
$Revision: 1594 $
Author:
Tina Russell
See Also:
TransportUnit

Enum Constant Summary
AVAILABLE
          The TransportUnit is available.
NOT_OK
          The TransportUnit is not okay.
OK
          The TransportUnit is okay.
 
Method Summary
static TransportUnitState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TransportUnitState[] 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

AVAILABLE

public static final TransportUnitState AVAILABLE
The TransportUnit is available.


OK

public static final TransportUnitState OK
The TransportUnit is okay.


NOT_OK

public static final TransportUnitState NOT_OK
The TransportUnit is not okay.

Method Detail

values

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

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

valueOf

public static TransportUnitState 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 © 2005-2011 openwms.org. All Rights Reserved.