1 package org.apache.axis.tool.service.bean; 2 3 import java.util.ArrayList ; 4 5 20 public class Page2Bean { 21 private boolean manual; 22 private boolean automatic; 23 24 private String manualFileName; 25 private String automaticClassName; 26 private String providerClassName; 27 28 private ArrayList selectedMethodNames; 29 30 public String getProviderClassName() { 31 return providerClassName; 32 } 33 34 public void setProviderClassName(String providerClassName) { 35 this.providerClassName = providerClassName; 36 } 37 38 public Page2Bean() { 39 selectedMethodNames = new ArrayList (); 40 } 41 42 public boolean isManual() { 43 return manual; 44 } 45 46 public void setManual(boolean manual) { 47 this.manual = manual; 48 } 49 50 public boolean isAutomatic() { 51 return automatic; 52 } 53 54 public void setAutomatic(boolean automatic) { 55 this.automatic = automatic; 56 } 57 58 public String getManualFileName() { 59 return manualFileName; 60 } 61 62 public void setManualFileName(String manualFileName) { 63 this.manualFileName = manualFileName; 64 } 65 66 public String getAutomaticClassName() { 67 return automaticClassName; 68 } 69 70 public void setAutomaticClassName(String automaticClassName) { 71 this.automaticClassName = automaticClassName; 72 } 73 public int getMethodNameCount(){ 74 return selectedMethodNames.size(); 75 } 76 public void setSelectedMethodNames(ArrayList list){ 77 this.selectedMethodNames = list; 78 } 79 public String getMethodName(int index) { 80 return selectedMethodNames.get(index).toString(); 81 } 82 83 public void addMethodName(String selectedMethodName) { 84 this.selectedMethodNames.add(selectedMethodNames); 85 } 86 87 public ArrayList getSelectedMethodNames() { 88 return selectedMethodNames; 89 } 90 } 91 | Popular Tags |