1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 4 // Any modifications to this file will be lost upon recompilation of the source schema. 5 // Generated on: 2013.02.13 at 08:27:16 PM CET 6 // 7 8 9 package net.sf.snmpadaptor4j.core.mapping.jaxb; 10 11 import javax.xml.bind.annotation.XmlAccessType; 12 import javax.xml.bind.annotation.XmlAccessorType; 13 import javax.xml.bind.annotation.XmlAttribute; 14 import javax.xml.bind.annotation.XmlType; 15 16 17 /** 18 * <p>Java class for SpecificTrap complex type. 19 * 20 * <p>The following schema fragment specifies the expected content contained within this class. 21 * 22 * <pre> 23 * <complexType name="SpecificTrap"> 24 * <complexContent> 25 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 26 * <attribute name="notif-type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 27 * <attribute name="code" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> 28 * <attribute name="userdata" type="{http://www.w3.org/2001/XMLSchema}string" /> 29 * </restriction> 30 * </complexContent> 31 * </complexType> 32 * </pre> 33 * 34 * 35 */ 36 @XmlAccessorType(XmlAccessType.FIELD) 37 @XmlType(name = "SpecificTrap") 38 public class SpecificTrap { 39 40 @XmlAttribute(name = "notif-type", required = true) 41 protected String notifType; 42 @XmlAttribute(required = true) 43 protected int code; 44 @XmlAttribute 45 protected String userdata; 46 47 /** 48 * Gets the value of the notifType property. 49 * 50 * @return 51 * possible object is 52 * {@link String } 53 * 54 */ 55 public String getNotifType() { 56 return notifType; 57 } 58 59 /** 60 * Sets the value of the notifType property. 61 * 62 * @param value 63 * allowed object is 64 * {@link String } 65 * 66 */ 67 public void setNotifType(String value) { 68 this.notifType = value; 69 } 70 71 /** 72 * Gets the value of the code property. 73 * 74 */ 75 public int getCode() { 76 return code; 77 } 78 79 /** 80 * Sets the value of the code property. 81 * 82 */ 83 public void setCode(int value) { 84 this.code = value; 85 } 86 87 /** 88 * Gets the value of the userdata property. 89 * 90 * @return 91 * possible object is 92 * {@link String } 93 * 94 */ 95 public String getUserdata() { 96 return userdata; 97 } 98 99 /** 100 * Sets the value of the userdata property. 101 * 102 * @param value 103 * allowed object is 104 * {@link String } 105 * 106 */ 107 public void setUserdata(String value) { 108 this.userdata = value; 109 } 110 111 }