org.openwms.tms.util
Class TransportOrderUtil

java.lang.Object
  extended by org.openwms.tms.util.TransportOrderUtil

public final class TransportOrderUtil
extends Object

A TransportOrderUtil.

Since:
0.1
Version:
$Revision: 1409 $
Author:
Tina Russell

Method Summary
static TransportServiceEvent.TYPE convertToEventType(TransportOrderState newState)
          Match a TransportOrderState to a type of event.
static List<Long> getLongList(List<Integer> values)
          Unfortunately Flex clients can't handle Long values and only understand integers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

convertToEventType

public static TransportServiceEvent.TYPE convertToEventType(TransportOrderState newState)
Match a TransportOrderState to a type of event.

Parameters:
newState - The state to be checked
Returns:
the certain type event that matches to newState

getLongList

public static List<Long> getLongList(List<Integer> values)
Unfortunately Flex clients can't handle Long values and only understand integers. Hence we need a small utility method to convert one list in another.

Parameters:
values - The list of intergers to be converted
Returns:
a new list of long values


Copyright © 2005-2011 openwms.org. All Rights Reserved.