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

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

public class TrapEnterprise
extends Object

Java class for TrapEnterprise complex type.

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

 <complexType name="TrapEnterprise">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="generic-trap" type="{http://www.sf.net/snmpAdaptor4j/mapping/1.1}GenericTrap" maxOccurs="unbounded" minOccurs="0"/>
         <element name="specific-trap" type="{http://www.sf.net/snmpAdaptor4j/mapping/1.1}SpecificTrap" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="node" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="userdata" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<GenericTrap> genericTrap
           
protected  int node
           
protected  List<SpecificTrap> specificTrap
           
protected  String userdata
           
 
Constructor Summary
TrapEnterprise()
           
 
Method Summary
 List<GenericTrap> getGenericTrap()
          Gets the value of the genericTrap property.
 int getNode()
          Gets the value of the node property.
 List<SpecificTrap> getSpecificTrap()
          Gets the value of the specificTrap property.
 String getUserdata()
          Gets the value of the userdata property.
 void setNode(int value)
          Sets the value of the node 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

genericTrap

protected List<GenericTrap> genericTrap

specificTrap

protected List<SpecificTrap> specificTrap

node

protected int node

userdata

protected String userdata
Constructor Detail

TrapEnterprise

public TrapEnterprise()
Method Detail

getGenericTrap

public List<GenericTrap> getGenericTrap()
Gets the value of the genericTrap property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the genericTrap property.

For example, to add a new item, do as follows:

    getGenericTrap().add(newItem);
 

Objects of the following type(s) are allowed in the list GenericTrap


getSpecificTrap

public List<SpecificTrap> getSpecificTrap()
Gets the value of the specificTrap property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the specificTrap property.

For example, to add a new item, do as follows:

    getSpecificTrap().add(newItem);
 

Objects of the following type(s) are allowed in the list SpecificTrap


getNode

public int getNode()
Gets the value of the node property.


setNode

public void setNode(int value)
Sets the value of the node property.


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.