public class MigrationResult extends Object
A class representing the result of a CMMN case migration.
Constructor and Description |
---|
MigrationResult(HashMap<String,PlanItem> planItemsRemovedByOldInstanceid,
HashMap<String,PlanItem> planItemsMigratedByNewInstanceId,
HashMap<String,String> planItemModelIdToModelIdMap,
CasePlanModelData newState,
TDefinitions newModel) |
Modifier and Type | Method and Description |
---|---|
TDefinitions |
getNewModel() |
CasePlanModelData |
getNewState() |
HashMap<String,String> |
getPlanItemModelIdToModelIdMap() |
HashMap<String,PlanItem> |
getPlanItemsMigratedByNewInstanceId() |
HashMap<String,PlanItem> |
getPlanItemsRemovedByOldInstanceid() |
String |
reMapInstanceId(String oldInstanceId)
Map an old plan item instance Id to a new plan item instance Id.
|
public HashMap<String,PlanItem> getPlanItemsRemovedByOldInstanceid()
public HashMap<String,PlanItem> getPlanItemsMigratedByNewInstanceId()
public CasePlanModelData getNewState()
public TDefinitions getNewModel()
public String reMapInstanceId(String oldInstanceId)
Map an old plan item instance Id to a new plan item instance Id.
oldInstanceId
- the instance Id to re-map.null
, if passed null
. Otherwise returns the re-mapped Id which is the
model Id of the passed instance Id re-mapped to the new model Id, retaining the instance suffix. If there
is no re-mapping for the model Id available, returns the input parameter (i.e. identity mapping).Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.