|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.xml.eventconf.Snmp
Field Summary | |
private java.lang.String |
_community
|
private int |
_generic
|
private boolean |
_has_generic
keeps track of state for field: _generic |
private boolean |
_has_specific
keeps track of state for field: _specific |
private java.lang.String |
_id
|
private java.lang.String |
_idtext
|
private int |
_specific
|
private java.lang.String |
_version
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
Snmp()
|
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
deleteGeneric()
|
void |
deleteSpecific()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
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'. |
java.lang.String |
getVersion()
Returns the value of field 'version'. |
boolean |
hasGeneric()
|
boolean |
hasSpecific()
|
boolean |
isValid()
|
void |
marshal(org.xml.sax.DocumentHandler handler)
|
void |
marshal(java.io.Writer out)
|
protected void |
notifyPropertyChangeListeners(java.lang.String fieldName,
java.lang.Object oldValue,
java.lang.Object newValue)
Notifies all registered PropertyChangeListeners when a bound property's value changes. |
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
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 |
setVersion(java.lang.String version)
Sets the value of field 'version'. |
static Snmp |
unmarshal(java.io.Reader reader)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String _id
private java.lang.String _idtext
private java.lang.String _version
private int _specific
private boolean _has_specific
private int _generic
private boolean _has_generic
private java.lang.String _community
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Snmp()
Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void deleteGeneric()
public void deleteSpecific()
public boolean equals(java.lang.Object obj)
obj
- public java.lang.String getCommunity()
public int getGeneric()
public java.lang.String getId()
public java.lang.String getIdtext()
public int getSpecific()
public java.lang.String getVersion()
public boolean hasGeneric()
public boolean hasSpecific()
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.DocumentHandler handler) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
protected void notifyPropertyChangeListeners(java.lang.String fieldName, java.lang.Object oldValue, java.lang.Object newValue)
fieldName
- the name of the property that has changed.newValue
- the new value of the property.oldValue
- the old value of the property.public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public 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 setVersion(java.lang.String version)
version
- the value of field 'version'.public static Snmp 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
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |