1 22 package org.jboss.jmx.adaptor.snmp.config.notification; 23 24 31 public class Mapping 32 { 33 35 private String notificationType; 36 private int generic; 37 private int specific; 38 private String enterprise; 39 private VarBindList varBindList; 40 41 43 46 public Mapping() 47 { 48 } 50 51 53 public String getEnterprise() 54 { 55 return enterprise; 56 } 57 58 public int getGeneric() 59 { 60 return generic; 61 } 62 63 public String getNotificationType() 64 { 65 return notificationType; 66 } 67 68 public int getSpecific() 69 { 70 return specific; 71 } 72 73 public VarBindList getVarBindList() 74 { 75 return varBindList; 76 } 77 78 public void setEnterprise(String enterprise) 79 { 80 this.enterprise = enterprise; 81 } 82 83 public void setGeneric(int generic) 84 { 85 this.generic = generic; 86 } 87 88 public void setNotificationType(String notificationType) 89 { 90 this.notificationType = notificationType; 91 } 92 93 public void setSpecific(int specific) 94 { 95 this.specific = specific; 96 } 97 98 public void setVarBindList(VarBindList varBindList) 99 { 100 this.varBindList = varBindList; 101 } 102 103 105 public String toString() 106 { 107 StringBuffer sbuf = new StringBuffer (256); 108 109 sbuf.append('[') 110 .append("notificationType=").append(notificationType) 111 .append(", generic=").append(generic) 112 .append(", specific=").append(specific) 113 .append(", enterprise=").append(enterprise) 114 .append(", varBindList=").append(varBindList) 115 .append(']'); 116 117 return sbuf.toString(); 118 } 119 } 120 | Popular Tags |