|
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.config.collectd.Group
Field Summary | |
private java.lang.String |
_ifType
|
private java.util.ArrayList |
_includeGroupList
|
private java.util.ArrayList |
_mibObjList
|
private java.lang.String |
_name
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
Group()
|
Method Summary | |
void |
addIncludeGroup(int index,
java.lang.String vIncludeGroup)
|
void |
addIncludeGroup(java.lang.String vIncludeGroup)
|
void |
addMibObj(int index,
MibObj vMibObj)
|
void |
addMibObj(MibObj vMibObj)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
clearIncludeGroup()
|
void |
clearMibObj()
|
java.util.Enumeration |
enumerateIncludeGroup()
|
java.util.Enumeration |
enumerateMibObj()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
java.lang.String |
getIfType()
Returns the value of field 'ifType'. |
java.lang.String[] |
getIncludeGroup()
|
java.lang.String |
getIncludeGroup(int index)
|
java.util.Collection |
getIncludeGroupCollection()
|
int |
getIncludeGroupCount()
|
MibObj[] |
getMibObj()
|
MibObj |
getMibObj(int index)
|
java.util.Collection |
getMibObjCollection()
|
int |
getMibObjCount()
|
java.lang.String |
getName()
Returns the value of field 'name'. |
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 |
removeIncludeGroup(java.lang.String vIncludeGroup)
|
boolean |
removeMibObj(MibObj vMibObj)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setIfType(java.lang.String ifType)
Sets the value of field 'ifType'. |
void |
setIncludeGroup(int index,
java.lang.String vIncludeGroup)
|
void |
setIncludeGroup(java.lang.String[] includeGroupArray)
|
void |
setIncludeGroupCollection(java.util.Collection vIncludeGroup)
|
void |
setMibObj(int index,
MibObj vMibObj)
|
void |
setMibObj(MibObj[] mibObjArray)
|
void |
setMibObjCollection(java.util.Collection vMibObj)
|
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
static Group |
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 _name
private java.lang.String _ifType
private java.util.ArrayList _mibObjList
private java.util.ArrayList _includeGroupList
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Group()
Method Detail |
public void addIncludeGroup(java.lang.String vIncludeGroup) throws java.lang.IndexOutOfBoundsException
vIncludeGroup
-
java.lang.IndexOutOfBoundsException
public void addIncludeGroup(int index, java.lang.String vIncludeGroup) throws java.lang.IndexOutOfBoundsException
index
- vIncludeGroup
-
java.lang.IndexOutOfBoundsException
public void addMibObj(MibObj vMibObj) throws java.lang.IndexOutOfBoundsException
vMibObj
-
java.lang.IndexOutOfBoundsException
public void addMibObj(int index, MibObj vMibObj) throws java.lang.IndexOutOfBoundsException
index
- vMibObj
-
java.lang.IndexOutOfBoundsException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void clearIncludeGroup()
public void clearMibObj()
public java.util.Enumeration enumerateIncludeGroup()
public java.util.Enumeration enumerateMibObj()
public boolean equals(java.lang.Object obj)
obj
- public java.lang.String getIfType()
public java.lang.String getIncludeGroup(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public java.lang.String[] getIncludeGroup()
public java.util.Collection getIncludeGroupCollection()
public int getIncludeGroupCount()
public MibObj getMibObj(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public MibObj[] getMibObj()
public java.util.Collection getMibObjCollection()
public int getMibObjCount()
public java.lang.String getName()
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 removeIncludeGroup(java.lang.String vIncludeGroup)
vIncludeGroup
- public boolean removeMibObj(MibObj vMibObj)
vMibObj
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public void setIfType(java.lang.String ifType)
ifType
- the value of field 'ifType'.public void setIncludeGroup(int index, java.lang.String vIncludeGroup) throws java.lang.IndexOutOfBoundsException
index
- vIncludeGroup
-
java.lang.IndexOutOfBoundsException
public void setIncludeGroup(java.lang.String[] includeGroupArray)
includeGroupArray
- public void setIncludeGroupCollection(java.util.Collection vIncludeGroup)
vIncludeGroup
- public void setMibObj(int index, MibObj vMibObj) throws java.lang.IndexOutOfBoundsException
index
- vMibObj
-
java.lang.IndexOutOfBoundsException
public void setMibObj(MibObj[] mibObjArray)
mibObjArray
- public void setMibObjCollection(java.util.Collection vMibObj)
vMibObj
- public void setName(java.lang.String name)
name
- the value of field 'name'.public static Group 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 |