1 22 package org.jboss.jmx.adaptor.snmp.config.notification; 23 24 import java.util.ArrayList ; 25 import java.util.List ; 26 27 34 public class VarBindList 35 { 36 38 private String wrapperClass; 39 private List varBindList = new ArrayList (); 40 41 43 46 public VarBindList() 47 { 48 } 50 51 53 public String getWrapperClass() 54 { 55 return wrapperClass; 56 } 57 58 public List getVarBindList() 59 { 60 return varBindList; 61 } 62 63 public void setWrapperClass(String wrapperClass) 64 { 65 this.wrapperClass = wrapperClass; 66 } 67 68 public void setVarBindList(List varBindList) 69 { 70 this.varBindList = varBindList; 71 } 72 73 public void addVarBind(VarBind varBind) 74 { 75 varBindList.add(varBind); 76 } 77 78 80 public String toString() 81 { 82 StringBuffer sbuf = new StringBuffer (256); 83 84 sbuf.append('[') 85 .append("wrapperClass=").append(wrapperClass) 86 .append(", varBindList=").append(varBindList) 87 .append(']'); 88 89 return sbuf.toString(); 90 } 91 } 92 | Popular Tags |