// @topic T11404 MVC Demo - concatenate strings // @brief The business object example /* * @author ik * */ package hw4; public class ConcatenationEngine { //---------------------- // data attributes //---------------------- private String left; private String right; //---------------------- // constructors //---------------------- public ConcatenationEngine() { this.left = ""; this.right = ""; } public ConcatenationEngine( String left, String right ) { this.left = left; this.right = right; } //---------------------- // operations //---------------------- public String getResult() { return left + right; } public void setLeft(String left) { this.left = left; } public void setRight(String right) { this.right = right; } }//class ConcatenationEngine