net.sf.snmpadaptor4j.core.mapping.jaxb
Class GenericTrap

java.lang.Object
  extended by net.sf.snmpadaptor4j.core.mapping.jaxb.GenericTrap

public class GenericTrap
extends Object

Java class for GenericTrap complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="GenericTrap">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="notif-type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="code" use="required" type="{http://www.sf.net/snmpAdaptor4j/mapping/1.1}GenericTrapCode" />
       <attribute name="userdata" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  GenericTrapCode code
           
protected  String notifType
           
protected  String userdata
           
 
Constructor Summary
GenericTrap()
           
 
Method Summary
 GenericTrapCode getCode()
          Gets the value of the code property.
 String getNotifType()
          Gets the value of the notifType property.
 String getUserdata()
          Gets the value of the userdata property.
 void setCode(GenericTrapCode value)
          Sets the value of the code property.
 void setNotifType(String value)
          Sets the value of the notifType property.
 void setUserdata(String value)
          Sets the value of the userdata property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

notifType

protected String notifType

code

protected GenericTrapCode code

userdata

protected String userdata
Constructor Detail

GenericTrap

public GenericTrap()
Method Detail

getNotifType

public String getNotifType()
Gets the value of the notifType property.

Returns:
possible object is String

setNotifType

public void setNotifType(String value)
Sets the value of the notifType property.

Parameters:
value - allowed object is String

getCode

public GenericTrapCode getCode()
Gets the value of the code property.

Returns:
possible object is GenericTrapCode

setCode

public void setCode(GenericTrapCode value)
Sets the value of the code property.

Parameters:
value - allowed object is GenericTrapCode

getUserdata

public String getUserdata()
Gets the value of the userdata property.

Returns:
possible object is String

setUserdata

public void setUserdata(String value)
Sets the value of the userdata property.

Parameters:
value - allowed object is String


Copyright © 2012-2013 snmpAdaptor4j. All Rights Reserved.