Class WorkflowActionPopulator
java.lang.Object
de.hybris.platform.ordermanagementfacades.workflow.converters.populator.WorkflowActionPopulator
- All Implemented Interfaces:
Populator<WorkflowActionModel,WorkflowActionData>
public class WorkflowActionPopulator
extends Object
implements Populator<WorkflowActionModel,WorkflowActionData>
Converter implementation for
WorkflowActionModel as source and
WorkflowActionData as target type.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> TinvokeMethod(Object object, String name, Class<T> targetClass) Use reflection to invoke a method of an objectvoidpopulate(WorkflowActionModel source, WorkflowActionData target) Populate the target instance with values from the source instance.
-
Constructor Details
-
WorkflowActionPopulator
public WorkflowActionPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<WorkflowActionModel,WorkflowActionData> - Parameters:
source- the source objecttarget- the target to fill
-
invokeMethod
Use reflection to invoke a method of an object- Parameters:
object- the object to invoke onname- the method nametargetClass- the target class of return type- Returns:
- value of the invocation
-