|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.common.BasicSchedule
org.opennms.netmgt.config.poller.Outage
public class Outage
a scheduled outage
| Constructor Summary | |
|---|---|
Outage()
|
|
| Method Summary | |
|---|---|
void |
addInterface(Interface vInterface)
Method addInterface |
void |
addInterface(int index,
Interface vInterface)
Method addInterface |
void |
addNode(int index,
Node vNode)
Method addNode |
void |
addNode(Node vNode)
Method addNode |
void |
clearInterface()
Method clearInterface |
void |
clearNode()
Method clearNode |
java.util.Enumeration |
enumerateInterface()
Method enumerateInterface |
java.util.Enumeration |
enumerateNode()
Method enumerateNode |
Interface[] |
getInterface()
Method getInterface |
Interface |
getInterface(int index)
Method getInterface |
java.util.ArrayList |
getInterfaceCollection()
Method getInterfaceCollection Returns a reference to '_interface'. |
int |
getInterfaceCount()
Method getInterfaceCount |
Node[] |
getNode()
Method getNode |
Node |
getNode(int index)
Method getNode |
java.util.ArrayList |
getNodeCollection()
Method getNodeCollection Returns a reference to 'node'. |
int |
getNodeCount()
Method getNodeCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeInterface(Interface vInterface)
Method removeInterface |
boolean |
removeNode(Node vNode)
Method removeNode |
void |
setInterface(java.util.ArrayList _interfaceCollection)
Method setInterface Sets the value of '_interface' by copying the given ArrayList. |
void |
setInterface(Interface[] _interfaceArray)
Method setInterface |
void |
setInterface(int index,
Interface vInterface)
Method setInterface |
void |
setInterfaceCollection(java.util.ArrayList _interfaceCollection)
Method setInterfaceCollection Sets the value of '_interface' by setting it to the given ArrayList. |
void |
setNode(java.util.ArrayList nodeCollection)
Method setNode Sets the value of 'node' by copying the given ArrayList. |
void |
setNode(int index,
Node vNode)
Method setNode |
void |
setNode(Node[] nodeArray)
Method setNode |
void |
setNodeCollection(java.util.ArrayList nodeCollection)
Method setNodeCollection Sets the value of 'node' by setting it to the given ArrayList. |
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
| Methods inherited from class org.opennms.netmgt.config.common.BasicSchedule |
|---|
addTime, addTime, clearTime, enumerateTime, getName, getTime, getTime, getTimeCollection, getTimeCount, getType, removeTime, setName, setTime, setTime, setTime, setTimeCollection, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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.IndexOutOfBoundsException
public void addNode(Node vNode)
throws java.lang.IndexOutOfBoundsException
vNode -
java.lang.IndexOutOfBoundsException
public void addNode(int index,
Node vNode)
throws java.lang.IndexOutOfBoundsException
index - vNode -
java.lang.IndexOutOfBoundsExceptionpublic void clearInterface()
public void clearNode()
public java.util.Enumeration enumerateInterface()
public java.util.Enumeration enumerateNode()
public Interface getInterface(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Interface[] getInterface()
public java.util.ArrayList getInterfaceCollection()
public int getInterfaceCount()
public Node getNode(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Node[] getNode()
public java.util.ArrayList getNodeCollection()
public int getNodeCount()
public boolean isValid()
isValid in class BasicSchedule
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
marshal in class BasicScheduleout -
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
marshal in class BasicSchedulehandler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeInterface(Interface vInterface)
vInterface -
public boolean removeNode(Node vNode)
vNode -
public void setInterface(int index,
Interface vInterface)
throws java.lang.IndexOutOfBoundsException
index - vInterface -
java.lang.IndexOutOfBoundsExceptionpublic void setInterface(Interface[] _interfaceArray)
_interfaceArray - public void setInterface(java.util.ArrayList _interfaceCollection)
_interfaceCollection - the Vector to copy.public void setInterfaceCollection(java.util.ArrayList _interfaceCollection)
_interfaceCollection - the ArrayList to copy.
public void setNode(int index,
Node vNode)
throws java.lang.IndexOutOfBoundsException
index - vNode -
java.lang.IndexOutOfBoundsExceptionpublic void setNode(Node[] nodeArray)
nodeArray - public void setNode(java.util.ArrayList nodeCollection)
nodeCollection - the Vector to copy.public void setNodeCollection(java.util.ArrayList nodeCollection)
nodeCollection - the ArrayList to copy.
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
validate in class BasicScheduleorg.exolab.castor.xml.ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||