1 17 18 package org.apache.commons.digester.xmlrules; 19 20 21 22 27 public class CallParamTestObject { 28 29 private String left = "UNSET"; 30 private String right = "UNSET"; 31 private String middle = "UNSET"; 32 33 public void triple(String left, String middle, String right) { 34 this.left = left; 35 this.right = right; 36 this.middle = middle; 37 } 38 39 public void duo(String left, String right) { 40 this.left = left; 41 this.right = right; 42 } 43 44 public String getLeft() { 45 return left; 46 } 47 48 public String getRight() { 49 return right; 50 } 51 52 public String getMiddle() { 53 return middle; 54 } 55 56 public void setLeft(String left) { 57 this.left=left; 58 } 59 60 public void setRight(String right) { 61 this.right = right; 62 } 63 64 public void setMiddle(String middle) { 65 this.middle = middle; 66 } 67 68 public String toString() { 69 return "LEFT: " + left + " MIDDLE:" + middle + " RIGHT:" + right; 70 } 71 } 72 | Popular Tags |