|
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.destinationPaths.DestinationPaths
Field Summary | |
private Header |
_header
|
private java.util.ArrayList |
_pathList
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
DestinationPaths()
|
Method Summary | |
void |
addPath(int index,
Path vPath)
|
void |
addPath(Path vPath)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
clearPath()
|
java.util.Enumeration |
enumeratePath()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
Header |
getHeader()
Returns the value of field 'header'. |
Path[] |
getPath()
|
Path |
getPath(int index)
|
java.util.Collection |
getPathCollection()
|
int |
getPathCount()
|
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 |
removePath(Path vPath)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setHeader(Header header)
Sets the value of field 'header'. |
void |
setPath(int index,
Path vPath)
|
void |
setPath(Path[] pathArray)
|
void |
setPathCollection(java.util.Collection vPath)
|
static DestinationPaths |
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 Header _header
private java.util.ArrayList _pathList
private java.util.Vector propertyChangeListeners
Constructor Detail |
public DestinationPaths()
Method Detail |
public void addPath(Path vPath) throws java.lang.IndexOutOfBoundsException
vPath
-
java.lang.IndexOutOfBoundsException
public void addPath(int index, Path vPath) throws java.lang.IndexOutOfBoundsException
index
- vPath
-
java.lang.IndexOutOfBoundsException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void clearPath()
public java.util.Enumeration enumeratePath()
public boolean equals(java.lang.Object obj)
obj
- public Header getHeader()
public Path getPath(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Path[] getPath()
public java.util.Collection getPathCollection()
public int getPathCount()
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 removePath(Path vPath)
vPath
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public void setHeader(Header header)
header
- the value of field 'header'.public void setPath(int index, Path vPath) throws java.lang.IndexOutOfBoundsException
index
- vPath
-
java.lang.IndexOutOfBoundsException
public void setPath(Path[] pathArray)
pathArray
- public void setPathCollection(java.util.Collection vPath)
vPath
- public static DestinationPaths 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 |