|
OpenNMS API 1.1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.config.poller.Outage
| Field Summary | |
private java.util.ArrayList |
_interfaceList
|
private java.lang.String |
_name
|
private java.util.ArrayList |
_timeList
|
private java.lang.String |
_type
|
private java.util.Vector |
propertyChangeListeners
|
| Constructor Summary | |
Outage()
|
|
| Method Summary | |
void |
addInterface(Interface vInterface)
|
void |
addInterface(int index,
Interface vInterface)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
addTime(int index,
Time vTime)
|
void |
addTime(Time vTime)
|
void |
clearInterface()
|
void |
clearTime()
|
java.util.Enumeration |
enumerateInterface()
|
java.util.Enumeration |
enumerateTime()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
Interface[] |
getInterface()
|
Interface |
getInterface(int index)
|
java.util.Collection |
getInterfaceCollection()
|
int |
getInterfaceCount()
|
java.lang.String |
getName()
Returns the value of field 'name'. |
Time[] |
getTime()
|
Time |
getTime(int index)
|
java.util.Collection |
getTimeCollection()
|
int |
getTimeCount()
|
java.lang.String |
getType()
Returns the value of field 'type'. |
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 |
removeInterface(Interface vInterface)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
boolean |
removeTime(Time vTime)
|
void |
setInterface(Interface[] _interfaceArray)
|
void |
setInterface(int index,
Interface vInterface)
|
void |
setInterfaceCollection(java.util.Collection vInterface)
|
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setTime(int index,
Time vTime)
|
void |
setTime(Time[] timeArray)
|
void |
setTimeCollection(java.util.Collection vTime)
|
void |
setType(java.lang.String type)
Sets the value of field 'type'. |
static Outage |
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 _type
private java.util.ArrayList _timeList
private java.util.ArrayList _interfaceList
private java.util.Vector propertyChangeListeners
| Constructor Detail |
public Outage()
| Method Detail |
public void addInterface(Interface vInterface)
throws java.lang.IndexOutOfBoundsException
vInterface -
java.lang.IndexOutOfBoundsException
public void addInterface(int index,
Interface vInterface)
throws java.lang.IndexOutOfBoundsException
index - vInterface -
java.lang.IndexOutOfBoundsExceptionpublic void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl - The PropertyChangeListener to register.
public void addTime(Time vTime)
throws java.lang.IndexOutOfBoundsException
vTime -
java.lang.IndexOutOfBoundsException
public void addTime(int index,
Time vTime)
throws java.lang.IndexOutOfBoundsException
index - vTime -
java.lang.IndexOutOfBoundsExceptionpublic void clearInterface()
public void clearTime()
public java.util.Enumeration enumerateInterface()
public java.util.Enumeration enumerateTime()
public boolean equals(java.lang.Object obj)
obj -
public Interface getInterface(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Interface[] getInterface()
public java.util.Collection getInterfaceCollection()
public int getInterfaceCount()
public java.lang.String getName()
public Time getTime(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Time[] getTime()
public java.util.Collection getTimeCollection()
public int getTimeCount()
public java.lang.String getType()
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 removeInterface(Interface vInterface)
vInterface - public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl - The PropertyChangeListener to remove.
public boolean removeTime(Time vTime)
vTime -
public void setInterface(int index,
Interface vInterface)
throws java.lang.IndexOutOfBoundsException
index - vInterface -
java.lang.IndexOutOfBoundsExceptionpublic void setInterface(Interface[] _interfaceArray)
_interfaceArray - public void setInterfaceCollection(java.util.Collection vInterface)
vInterface - public void setName(java.lang.String name)
name - the value of field 'name'.
public void setTime(int index,
Time vTime)
throws java.lang.IndexOutOfBoundsException
index - vTime -
java.lang.IndexOutOfBoundsExceptionpublic void setTime(Time[] timeArray)
timeArray - public void setTimeCollection(java.util.Collection vTime)
vTime - public void setType(java.lang.String type)
type - the value of field 'type'.
public static Outage 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.1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||