public class WMQWFHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
WMQWFHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createCorrelationID()
This method creates a WMQWF like unique correlation id for the UPES
invocation.
|
static commonj.sdo.DataObject |
initializeBO(commonj.sdo.DataObject obj,
commonj.sdo.Type objType)
This method creates a new BO using the given type just in case the given
BO is null.
|
static boolean |
isSet(commonj.sdo.DataObject obj,
java.lang.String path)
This function enhance the DataObject.isSet() methode.
|
static commonj.sdo.DataObject |
merge(commonj.sdo.DataObject source,
java.lang.String sourcePath,
commonj.sdo.DataObject target,
java.lang.String targetPath,
commonj.sdo.Type targetType)
This method merges two BO's as it does WMQWF.
|
public static final java.lang.String COPYRIGHT
public static java.lang.String createCorrelationID()
public static commonj.sdo.DataObject initializeBO(commonj.sdo.DataObject obj, commonj.sdo.Type objType)
obj
- the reference to the BO (can be null)objType
- the data object type of the BOpublic static boolean isSet(commonj.sdo.DataObject obj, java.lang.String path)
obj
- The input business data object.path
- The path to the part (property) of the business data object to
be checked.public static commonj.sdo.DataObject merge(commonj.sdo.DataObject source, java.lang.String sourcePath, commonj.sdo.DataObject target, java.lang.String targetPath, commonj.sdo.Type targetType)
source
- the source BOsourcePath
- the path of the source to the part that should be mergedtarget
- the target BO (can be null)targetPath
- the path of the target to the part that should be mergedtargetType
- the BO type to create the target BO if it is null