Esempio n. 1
0
 static WSProcessDefInfo newInstance(final WMProcessDefinition processDefinition) {
   final WSProcessDefInfoImpl instance = new WSProcessDefInfoImpl();
   instance.packageId = processDefinition.getPackageId();
   instance.packageVersion = processDefinition.getVersion();
   instance.processDefinitionId = processDefinition.getId();
   return instance;
 }
Esempio n. 2
0
 public static WSProcessDefInfo newInstance(
     final String pkgId, final String pkgVer, final String procDefId) {
   final WSProcessDefInfoImpl instance = new WSProcessDefInfoImpl();
   instance.packageId = pkgId;
   instance.packageVersion = pkgVer;
   instance.processDefinitionId = procDefId;
   return instance;
 }