Summer.Batch.Extra.Utils.ObjectUtils Class Reference

Object helper. More...

Static Public Member Functions

static bool IsNull (object obj)
 Check if the given object is null. More...
 
static bool AreEqual (object obj1, object obj2)
 Check the given objects are equal. More...
 
static string ToString (object obj)
 ToString method. More...
 
static void CopyProperties (object dest, object orig)
 Copy property values from the origin bean to the destination bean for all cases where the property names are the same. More...
 
static object GetObjectByType (object[] resultset, String type)
 Return the object of a given type from a set of object. More...
 

Detailed Description

Object helper.

Member Function Documentation

static bool Summer.Batch.Extra.Utils.ObjectUtils.AreEqual ( object  obj1,
object  obj2 
)
static

Check the given objects are equal.

Parameters
obj1object
obj2object
Returns
true if obj1 is the same as obj2. Otherwise false.
static void Summer.Batch.Extra.Utils.ObjectUtils.CopyProperties ( object  dest,
object  orig 
)
static

Copy property values from the origin bean to the destination bean for all cases where the property names are the same.

Parameters
destobject
origobject
static object Summer.Batch.Extra.Utils.ObjectUtils.GetObjectByType ( object[]  resultset,
String  type 
)
static

Return the object of a given type from a set of object.

Parameters
resultsetobject
typestring
Returns
the object of the given type.
static bool Summer.Batch.Extra.Utils.ObjectUtils.IsNull ( object  obj)
static

Check if the given object is null.

Parameters
objobject
Returns
true if object is null. Otherwise false.
static string Summer.Batch.Extra.Utils.ObjectUtils.ToString ( object  obj)
static

ToString method.

Parameters
objobject
Returns
a string representation of the object.

The documentation for this class was generated from the following file:
  • Summer.Batch.Extra/Utils/ObjectUtils.cs