org.eclipse.datatools.enablement.oda.ws.util
Class WSUtil

java.lang.Object
  extended by org.eclipse.datatools.enablement.oda.ws.util.WSUtil

public class WSUtil
extends java.lang.Object


Field Summary
static java.lang.String EMPTY_STRING
           
 
Constructor Summary
WSUtil()
           
 
Method Summary
static boolean isNull(java.lang.Object object)
          Tests whether or not the given object is null
static long parseLong(java.lang.String string)
          Parses the string argument as a signed decimal long.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_STRING

public static final java.lang.String EMPTY_STRING
See Also:
Constant Field Values
Constructor Detail

WSUtil

public WSUtil()
Method Detail

isNull

public static boolean isNull(java.lang.Object object)
Tests whether or not the given object is null

Parameters:
object -
Returns:

parseLong

public static long parseLong(java.lang.String string)
Parses the string argument as a signed decimal long.

Parameters:
string -
Returns:
0 if the argument is null or empty string