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

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

public class TrapUserDataMap
extends Object

Java class for TrapUserDataMap complex type.

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

 <complexType name="TrapUserDataMap">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="entry" type="{http://www.sf.net/snmpAdaptor4j/mapping/1.1}TrapUserDataEntry" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<TrapUserDataEntry> entry
           
protected  String name
           
 
Constructor Summary
TrapUserDataMap()
           
 
Method Summary
 List<TrapUserDataEntry> getEntry()
          Gets the value of the entry property.
 String getName()
          Gets the value of the name property.
 void setName(String value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entry

protected List<TrapUserDataEntry> entry

name

protected String name
Constructor Detail

TrapUserDataMap

public TrapUserDataMap()
Method Detail

getEntry

public List<TrapUserDataEntry> getEntry()
Gets the value of the entry 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 entry property.

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

    getEntry().add(newItem);
 

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


getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String


Copyright © 2012-2013 snmpAdaptor4j. All Rights Reserved.