1 16 17 package org.apache.commons.betwixt.dotbetwixt; 18 19 import java.util.ArrayList ; 20 import java.util.List ; 21 22 27 public class MixedUpdatersBean { 28 29 private String name; 31 private String badName = "**UNSET**"; 32 private List items = new ArrayList (); 33 private List badItems = new ArrayList (); 34 35 37 public MixedUpdatersBean() {} 38 39 public MixedUpdatersBean(String name) { 40 setName(name); 41 } 42 43 45 public String getName() { 46 return name; 47 } 48 49 public void setName(String name) { 50 this.name = name; 51 } 52 53 public List getItems() { 54 return items; 55 } 56 57 public void addItem(String item) { 58 items.add(item); 59 } 60 61 public String getBadName() { 62 return badName; 63 } 64 65 public void badNameSetter(String badName) { 66 this.badName = badName; 67 } 68 69 public List getBadItems() { 70 return badItems; 71 } 72 73 public void badItemAdder(String badItem) { 74 badItems.add(badItem); 75 } 76 } 77 | Popular Tags |