Class ElementUpdateCurrentPropsParams<TData>
- java.lang.Object
-
- de.xima.fc.workflow.designer.model.ElementUpdateCurrentPropsParams<TData>
-
- Type Parameters:
TData
- Type of the workflow element's properties model.
- All Implemented Interfaces:
IElementUpdateCurrentPropsParams<TData>
,Serializable
public final class ElementUpdateCurrentPropsParams<TData> extends Object implements IElementUpdateCurrentPropsParams<TData>, Serializable
Default POJO implementation ofIElementUpdateCurrentPropsParams
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElementUpdateCurrentPropsParams(TData oldData, TData newData)
Creates a new POJO with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TData
getNewData()
TData
getOldData()
-
-
-
Constructor Detail
-
ElementUpdateCurrentPropsParams
public ElementUpdateCurrentPropsParams(TData oldData, TData newData)
Creates a new POJO with the given data.- Parameters:
oldData
- Value returned bygetOldData()
.newData
- Value returned bygetNewData()
.
-
-
Method Detail
-
getOldData
public TData getOldData()
- Specified by:
getOldData
in interfaceIElementUpdateCurrentPropsParams<TData>
- Returns:
- The parsed
old data
before the update, an instance of the class as returned byIElementHandler.getDataModelClass()
.
-
getNewData
public TData getNewData()
- Specified by:
getNewData
in interfaceIElementUpdateCurrentPropsParams<TData>
- Returns:
- The parsed
new data
after the update, an instance of the class as returned byIElementHandler.getDataModelClass()
.
-
-