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

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

public class TrapVariableBindings
extends Object

Java class for TrapVariableBindings complex type.

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

 <complexType name="TrapVariableBindings">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="sequence-number" type="{http://www.sf.net/snmpAdaptor4j/mapping/1.1}TrapSequenceNumber" minOccurs="0"/>
         <element name="message" type="{http://www.sf.net/snmpAdaptor4j/mapping/1.1}TrapMessage" minOccurs="0"/>
         <element name="userdata" type="{http://www.sf.net/snmpAdaptor4j/mapping/1.1}TrapUserData" maxOccurs="unbounded" minOccurs="0"/>
         <element name="userdata-map" type="{http://www.sf.net/snmpAdaptor4j/mapping/1.1}TrapUserDataMap" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="system-info" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  TrapMessage message
           
protected  TrapSequenceNumber sequenceNumber
           
protected  Boolean systemInfo
           
protected  List<TrapUserData> userdata
           
protected  List<TrapUserDataMap> userdataMap
           
 
Constructor Summary
TrapVariableBindings()
           
 
Method Summary
 TrapMessage getMessage()
          Gets the value of the message property.
 TrapSequenceNumber getSequenceNumber()
          Gets the value of the sequenceNumber property.
 List<TrapUserData> getUserdata()
          Gets the value of the userdata property.
 List<TrapUserDataMap> getUserdataMap()
          Gets the value of the userdataMap property.
 boolean isSystemInfo()
          Gets the value of the systemInfo property.
 void setMessage(TrapMessage value)
          Sets the value of the message property.
 void setSequenceNumber(TrapSequenceNumber value)
          Sets the value of the sequenceNumber property.
 void setSystemInfo(Boolean value)
          Sets the value of the systemInfo property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sequenceNumber

protected TrapSequenceNumber sequenceNumber

message

protected TrapMessage message

userdata

protected List<TrapUserData> userdata

userdataMap

protected List<TrapUserDataMap> userdataMap

systemInfo

protected Boolean systemInfo
Constructor Detail

TrapVariableBindings

public TrapVariableBindings()
Method Detail

getSequenceNumber

public TrapSequenceNumber getSequenceNumber()
Gets the value of the sequenceNumber property.

Returns:
possible object is TrapSequenceNumber

setSequenceNumber

public void setSequenceNumber(TrapSequenceNumber value)
Sets the value of the sequenceNumber property.

Parameters:
value - allowed object is TrapSequenceNumber

getMessage

public TrapMessage getMessage()
Gets the value of the message property.

Returns:
possible object is TrapMessage

setMessage

public void setMessage(TrapMessage value)
Sets the value of the message property.

Parameters:
value - allowed object is TrapMessage

getUserdata

public List<TrapUserData> getUserdata()
Gets the value of the userdata 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 userdata property.

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

    getUserdata().add(newItem);
 

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


getUserdataMap

public List<TrapUserDataMap> getUserdataMap()
Gets the value of the userdataMap 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 userdataMap property.

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

    getUserdataMap().add(newItem);
 

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


isSystemInfo

public boolean isSystemInfo()
Gets the value of the systemInfo property.

Returns:
possible object is Boolean

setSystemInfo

public void setSystemInfo(Boolean value)
Sets the value of the systemInfo property.

Parameters:
value - allowed object is Boolean


Copyright © 2012-2013 snmpAdaptor4j. All Rights Reserved.