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 GenericTrap complex type. 19 * 20 * <p>The following schema fragment specifies the expected content contained within this class. 21 * 22 * <pre> 23 * <complexType name="GenericTrap"> 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.sf.net/snmpAdaptor4j/mapping/1.1}GenericTrapCode" /> 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 = "GenericTrap") 38 public class GenericTrap { 39 40 @XmlAttribute(name = "notif-type", required = true) 41 protected String notifType; 42 @XmlAttribute(required = true) 43 protected GenericTrapCode 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 * @return 75 * possible object is 76 * {@link GenericTrapCode } 77 * 78 */ 79 public GenericTrapCode getCode() { 80 return code; 81 } 82 83 /** 84 * Sets the value of the code property. 85 * 86 * @param value 87 * allowed object is 88 * {@link GenericTrapCode } 89 * 90 */ 91 public void setCode(GenericTrapCode value) { 92 this.code = value; 93 } 94 95 /** 96 * Gets the value of the userdata property. 97 * 98 * @return 99 * possible object is 100 * {@link String } 101 * 102 */ 103 public String getUserdata() { 104 return userdata; 105 } 106 107 /** 108 * Sets the value of the userdata property. 109 * 110 * @param value 111 * allowed object is 112 * {@link String } 113 * 114 */ 115 public void setUserdata(String value) { 116 this.userdata = value; 117 } 118 119 }