Consider a workflow system supporting software developers. The system enables managers to model the process the developers should follow in terms of processes and work products. The manager can assign specific processes to each developer and set deadlines for the delivery of each work product. The system supports several types of work products, including formatted text, picture, and URLs. The manager, while editing the workflow, can dynamically set the type of each work product at run time. Assuming one of your design goals is to design the system so that more work product types can be added in the future, which design pattern would you use to represent work products?
What will be an ideal response?
We use a bridge pattern. The interface class stores the deadline and type of work product and provides the interface to
the rest of the application. The implementor classes store the content of the work product and can be substituted at run
time. All implementor classes comply to the same abstract WorkProductContent interface.
You might also like to view...
Explain the order of precedence when it comes to a mixture of style classifications. Define the terms pseudo class styles, group selector, and descendent selector in your response.
What will be an ideal response?
Several preset buttons are available in InDesign to help you to quickly add interactivity to your document. Where are they found?
A. Buttons panel B. Buttons menu C. Sample Buttons panel D. Sample Button bar
Assuming a hire date of February 15, 2017, which of the following date part functions would return the number of days since the beginning of the current year?
A) DatePart("yyyy",[HireDate]) B) DatePart("y",[HireDate]) C) DatePart ("q",{HireDate]) D) DarePart("w",[HireDate])
Which of the following is not used to navigate a form?
A. TAB key B. ALT key C. ENTER key D. SHIFT key