1 22 package org.jboss.jmx.adaptor.snmp.config.attribute; 23 24 30 public class MappedAttribute 31 { 32 String name; 33 String oid; 34 boolean isReadWrite = false; 35 36 37 public String getName() 38 { 39 return name; 40 } 41 42 public void setName(String name) 43 { 44 this.name = name; 45 } 46 47 48 public String getOid() 49 { 50 return oid; 51 } 52 53 public void setOid(String oid) 54 { 55 this.oid = oid; 56 } 57 58 59 public boolean isReadWrite() 60 { 61 return isReadWrite; 62 } 63 64 public void setReadWrite(boolean mode) 65 { 66 isReadWrite = mode; 67 } 68 69 public String toString() 70 { 71 StringBuffer buf = new StringBuffer (); 72 buf.append("[name=").append(name); 73 buf.append(", oid=").append(oid); 74 buf.append(", rw=").append(isReadWrite); 75 buf.append("]"); 76 return buf.toString(); 77 } 78 } 79 | Popular Tags |