|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.xml.event.Snmp
public class Snmp
The snmp information from the trap
| Constructor Summary | |
|---|---|
Snmp()
|
|
| Method Summary | |
|---|---|
void |
deleteGeneric()
Method deleteGeneric |
void |
deleteSpecific()
Method deleteSpecific |
void |
deleteTimeStamp()
Method deleteTimeStamp |
java.lang.String |
getCommunity()
Returns the value of field 'community'. |
int |
getGeneric()
Returns the value of field 'generic'. |
java.lang.String |
getId()
Returns the value of field 'id'. |
java.lang.String |
getIdtext()
Returns the value of field 'idtext'. |
int |
getSpecific()
Returns the value of field 'specific'. |
long |
getTimeStamp()
Returns the value of field 'timeStamp'. |
java.lang.String |
getVersion()
Returns the value of field 'version'. |
boolean |
hasGeneric()
Method hasGeneric |
boolean |
hasSpecific()
Method hasSpecific |
boolean |
hasTimeStamp()
Method hasTimeStamp |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
void |
setCommunity(java.lang.String community)
Sets the value of field 'community'. |
void |
setGeneric(int generic)
Sets the value of field 'generic'. |
void |
setId(java.lang.String id)
Sets the value of field 'id'. |
void |
setIdtext(java.lang.String idtext)
Sets the value of field 'idtext'. |
void |
setSpecific(int specific)
Sets the value of field 'specific'. |
void |
setTimeStamp(long timeStamp)
Sets the value of field 'timeStamp'. |
void |
setVersion(java.lang.String version)
Sets the value of field 'version'. |
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method 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 void deleteTimeStamp()
public java.lang.String getCommunity()
public int getGeneric()
public java.lang.String getId()
public java.lang.String getIdtext()
public int getSpecific()
public long getTimeStamp()
public java.lang.String getVersion()
public boolean hasGeneric()
public boolean hasSpecific()
public boolean hasTimeStamp()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic void setCommunity(java.lang.String community)
community - the value of field 'community'.public void setGeneric(int generic)
generic - the value of field 'generic'.public void setId(java.lang.String id)
id - the value of field 'id'.public void setIdtext(java.lang.String idtext)
idtext - the value of field 'idtext'.public void setSpecific(int specific)
specific - the value of field 'specific'.public void setTimeStamp(long timeStamp)
timeStamp - the value of field 'timeStamp'.public void setVersion(java.lang.String version)
version - the value of field 'version'.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||