|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.snmpadaptor4j.core.mapping.jaxb.TrapEnterprise
public class TrapEnterprise
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 |
---|
protected List<GenericTrap> genericTrap
protected List<SpecificTrap> specificTrap
protected int node
protected String userdata
Constructor Detail |
---|
public TrapEnterprise()
Method Detail |
---|
public List<GenericTrap> getGenericTrap()
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
public List<SpecificTrap> getSpecificTrap()
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
public int getNode()
public void setNode(int value)
public String getUserdata()
String
public void setUserdata(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |