|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.xml.eventconf.Snmp
public class Snmp
The snmp information from the trap
| Constructor Summary | |
|---|---|
Snmp()
|
|
| Method Summary | |
|---|---|
void |
deleteGeneric()
|
void |
deleteSpecific()
|
String |
getCommunity()
Returns the value of field 'community'. |
int |
getGeneric()
Returns the value of field 'generic'. |
String |
getId()
Returns the value of field 'id'. |
String |
getIdtext()
Returns the value of field 'idtext'. |
int |
getSpecific()
Returns the value of field 'specific'. |
String |
getVersion()
Returns the value of field 'version'. |
boolean |
hasGeneric()
Method hasGeneric. |
boolean |
hasSpecific()
Method hasSpecific. |
boolean |
isValid()
Method isValid. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
setCommunity(String community)
Sets the value of field 'community'. |
void |
setGeneric(int generic)
Sets the value of field 'generic'. |
void |
setId(String id)
Sets the value of field 'id'. |
void |
setIdtext(String idtext)
Sets the value of field 'idtext'. |
void |
setSpecific(int specific)
Sets the value of field 'specific'. |
void |
setVersion(String version)
Sets the value of field 'version'. |
static Snmp |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Snmp()
| Method Detail |
|---|
public void deleteGeneric()
public void deleteSpecific()
public String getCommunity()
public int getGeneric()
public String getId()
public String getIdtext()
public int getSpecific()
public String getVersion()
public boolean hasGeneric()
public boolean hasSpecific()
public boolean isValid()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void setCommunity(String community)
community - the value of field 'community'.public void setGeneric(int generic)
generic - the value of field 'generic'.public void setId(String id)
id - the value of field 'id'.public void setIdtext(String idtext)
idtext - the value of field 'idtext'.public void setSpecific(int specific)
specific - the value of field 'specific'.public void setVersion(String version)
version - the value of field 'version'.
public static Snmp unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||