Class AddTuplesWhatIfDefinition
- java.lang.Object
-
- com.activeviam.tools.whatif.core.AWhatIfDefinition
-
- com.activeviam.tools.whatif.core.AAddWhatIfDefinition
-
- com.activeviam.tools.whatif.example.AddTuplesWhatIfDefinition
-
- All Implemented Interfaces:
IWhatIfDefinition
,Serializable
public class AddTuplesWhatIfDefinition extends AAddWhatIfDefinition
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.activeviam.tools.whatif.core.AWhatIfDefinition
baseBranch, condition, definitionName, id, parameters, storeFields, storeName
-
-
Constructor Summary
Constructors Constructor Description AddTuplesWhatIfDefinition()
AddTuplesWhatIfDefinition(Object id, String storeName, String definitionName, List<String> storeFields, com.qfs.condition.ICondition condition)
AddTuplesWhatIfDefinition(Object id, String storeName, String definitionName, List<String> storeFields, com.qfs.condition.ICondition condition, List<Map<String,Object>> valuesMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntries(List<Map<String,Object>> valuesMap)
Set of entries to add in a specific store before persisting them back into the branch defined in theIWhatIfSubmission
.List<Map<String,Object>>
getAddEntries()
Set of entries to add in a specific store before persisting them back into the branch defined in theIWhatIfSubmission
.-
Methods inherited from class com.activeviam.tools.whatif.core.AAddWhatIfDefinition
getOperationType, setOperationType, updateEntries
-
Methods inherited from class com.activeviam.tools.whatif.core.AWhatIfDefinition
getBaseBranch, getCondition, getDefinitionName, getId, getParameters, getStoreFields, getStoreName, setBaseBranch, setCondition, setDefinitionName, setId, setParameters, setStoreFields, setStoreName
-
-
-
-
Method Detail
-
addEntries
public void addEntries(List<Map<String,Object>> valuesMap)
Description copied from interface:IWhatIfDefinition
Set of entries to add in a specific store before persisting them back into the branch defined in theIWhatIfSubmission
.- Specified by:
addEntries
in interfaceIWhatIfDefinition
- Specified by:
addEntries
in classAAddWhatIfDefinition
- Parameters:
valuesMap
- the map containing the entries to update
-
getAddEntries
public List<Map<String,Object>> getAddEntries()
Description copied from interface:IWhatIfDefinition
Set of entries to add in a specific store before persisting them back into the branch defined in theIWhatIfSubmission
.- Specified by:
getAddEntries
in interfaceIWhatIfDefinition
- Specified by:
getAddEntries
in classAAddWhatIfDefinition
- Returns:
- the list of tuples to add to the branch
-
-