public class WorkflowAssignedJobAttributeHandler extends Object implements DynamicAttributeHandler<CommentModel,WorkflowModel>
comment (or job) and a
workflow. As the getter looks for a corresponding comment, the setter is disabled
and will print a warning to use AbstractCommentModel.setWorkflow(WorkflowModel) instead.| Constructor and Description |
|---|
WorkflowAssignedJobAttributeHandler() |
| Modifier and Type | Method and Description |
|---|---|
CommentModel |
get(WorkflowModel workflow)
Holds logic behind getter for dynamic attribute.
|
void |
set(WorkflowModel workflow,
CommentModel comment)
Holds logic behind setter for dynamic attribute.
|
void |
setPrintCommentDao(PrintCommentDao printCommentDao) |
public CommentModel get(WorkflowModel workflow)
DynamicAttributeHandlerget in interface DynamicAttributeHandler<CommentModel,WorkflowModel>workflow - model for which dynamic attribute is declared.public void set(WorkflowModel workflow, CommentModel comment)
DynamicAttributeHandlerset in interface DynamicAttributeHandler<CommentModel,WorkflowModel>workflow - model for which dynamic attribute is declared.comment - the value which will be used by setter logic.public void setPrintCommentDao(PrintCommentDao printCommentDao)
Copyright © 2017 SAP SE. All Rights Reserved.